#396 更新

Merge aplicado
zwq aplicou merge dos 1 commits de projects/zg-zwq em projects/zg-test 1 semana atrás
  1. +1
    -1
      src/filter/code-filter.js
  2. +7
    -0
      src/views/cost/deep/costDeepEnergy/index.vue
  3. +7
    -0
      src/views/cost/deep/costDeepOthercostHis/index.vue
  4. +7
    -0
      src/views/cost/deep/costDeepRatioHis/index.vue
  5. +7
    -0
      src/views/cost/deep/costStatistics/index.vue
  6. +7
    -0
      src/views/cost/raw/costEnergy/index.vue
  7. +7
    -0
      src/views/cost/raw/costMaterial/index.vue
  8. +7
    -0
      src/views/cost/raw/costOriginRatioHis/index.vue
  9. +7
    -0
      src/views/cost/raw/costOthercostHis/index.vue
  10. +7
    -0
      src/views/cost/raw/costStatistics/index.vue

+ 1
- 1
src/filter/code-filter.js Ver arquivo

@@ -2,7 +2,7 @@
/*
* @Date: 2020-12-29 16:49:28
* @LastEditors: zwq
* @LastEditTime: 2024-09-10 15:15:21
* @LastEditTime: 2024-09-11 13:40:48
* @FilePath: \basic-admin\src\filters\basicData\index.js
* @Description:
*/


+ 7
- 0
src/views/cost/deep/costDeepEnergy/index.vue Ver arquivo

@@ -265,6 +265,13 @@ export default {
},
methods: {
buttonClick(val) {
if (val.statisticType === 2) {
this.tableProps[0].filter = (val) =>
parseTime(val, '{y}年第{w}周');
}else{
this.tableProps[0].filter = (val) =>
parseTime(val, '{y}年{m}月{d}日');
}
this.formConfig2[1].startPlaceholder = '开始时间';
this.formConfig2[1].endPlaceholder = '结束时间';
switch (val.btnName) {


+ 7
- 0
src/views/cost/deep/costDeepOthercostHis/index.vue Ver arquivo

@@ -240,6 +240,13 @@ export default {
},
methods: {
buttonClick(val) {
if (val.statisticType === 2) {
this.tableProps[0].filter = (val) =>
parseTime(val, '{y}年第{w}周');
}else{
this.tableProps[0].filter = (val) =>
parseTime(val, '{y}年{m}月{d}日');
}
this.formConfig2[1].startPlaceholder = '开始时间';
this.formConfig2[1].endPlaceholder = '结束时间';
switch (val.btnName) {


+ 7
- 0
src/views/cost/deep/costDeepRatioHis/index.vue Ver arquivo

@@ -228,6 +228,13 @@ export default {
},
methods: {
buttonClick(val) {
if (val.statisticType === 2) {
this.tableProps[0].filter = (val) =>
parseTime(val, '{y}年第{w}周');
}else{
this.tableProps[0].filter = (val) =>
parseTime(val, '{y}年{m}月{d}日');
}
switch (val.btnName) {
case 'search':
this.listQuery.pageNo = 1;


+ 7
- 0
src/views/cost/deep/costStatistics/index.vue Ver arquivo

@@ -291,6 +291,13 @@ export default {
},
methods: {
buttonClick(val) {
if (val.statisticType === 2) {
this.tableProps[0].filter = (val) =>
parseTime(val, '{y}年第{w}周');
}else{
this.tableProps[0].filter = (val) =>
parseTime(val, '{y}年{m}月{d}日');
}
this.formConfig2[0].startPlaceholder = '开始时间';
this.formConfig2[0].endPlaceholder = '结束时间';
switch (val.btnName) {


+ 7
- 0
src/views/cost/raw/costEnergy/index.vue Ver arquivo

@@ -265,6 +265,13 @@ export default {
},
methods: {
buttonClick(val) {
if (val.statisticType === 2) {
this.tableProps[0].filter = (val) =>
parseTime(val, '{y}年第{w}周');
}else{
this.tableProps[0].filter = (val) =>
parseTime(val, '{y}年{m}月{d}日');
}
this.formConfig2[1].startPlaceholder = '开始时间';
this.formConfig2[1].endPlaceholder = '结束时间';
switch (val.btnName) {


+ 7
- 0
src/views/cost/raw/costMaterial/index.vue Ver arquivo

@@ -262,6 +262,13 @@ export default {
},
methods: {
buttonClick(val) {
if (val.statisticType === 2) {
this.tableProps[0].filter = (val) =>
parseTime(val, '{y}年第{w}周');
}else{
this.tableProps[0].filter = (val) =>
parseTime(val, '{y}年{m}月{d}日');
}
this.formConfig2[1].startPlaceholder = '开始时间';
this.formConfig2[1].endPlaceholder = '结束时间';
switch (val.btnName) {


+ 7
- 0
src/views/cost/raw/costOriginRatioHis/index.vue Ver arquivo

@@ -170,6 +170,13 @@ export default {
},
methods: {
buttonClick(val) {
if (val.statisticType === 2) {
this.tableProps[0].filter = (val) =>
parseTime(val, '{y}年第{w}周');
}else{
this.tableProps[0].filter = (val) =>
parseTime(val, '{y}年{m}月{d}日');
}
switch (val.btnName) {
case 'search':
this.listQuery.pageNo = 1;


+ 7
- 0
src/views/cost/raw/costOthercostHis/index.vue Ver arquivo

@@ -240,6 +240,13 @@ export default {
},
methods: {
buttonClick(val) {
if (val.statisticType === 2) {
this.tableProps[0].filter = (val) =>
parseTime(val, '{y}年第{w}周');
}else{
this.tableProps[0].filter = (val) =>
parseTime(val, '{y}年{m}月{d}日');
}
switch (val.btnName) {
case 'search':
this.listQuery.pageNo = 1;


+ 7
- 0
src/views/cost/raw/costStatistics/index.vue Ver arquivo

@@ -290,6 +290,13 @@ export default {
},
methods: {
buttonClick(val) {
if (val.statisticType === 2) {
this.tableProps[0].filter = (val) =>
parseTime(val, '{y}年第{w}周');
}else{
this.tableProps[0].filter = (val) =>
parseTime(val, '{y}年{m}月{d}日');
}
this.formConfig2[0].startPlaceholder = '开始时间';
this.formConfig2[0].endPlaceholder = '结束时间';
switch (val.btnName) {


Carregando…
Cancelar
Salvar