Browse Source

修改bug

lichao 3 years ago
parent
commit
99d4e0797f

+ 3 - 3
src/enums/column-name.js

@@ -526,15 +526,15 @@ const columnName = [{
     name: '贸易所属公司明细'
   },
   {
-    code: 131,
+    code: 137,
     name: '统计分析应收总账'
   },
   {
-    code: 132,
+    code: 138,
     name: '统计分析应付总账'
   },
   {
-    code: 133,
+    code: 139,
     name: '统计分析利润总账'
   },
 ]

+ 3 - 3
src/views/statisticAnalysis/collectLedger/index.vue

@@ -199,7 +199,7 @@ export default {
     }
   },
   async created() {
-    this.option = await this.getColumnData(this.getColumnName(131), this.defaultOption);
+    this.option = await this.getColumnData(this.getColumnName(137), this.defaultOption);
     this.getWorkDicts('brand').then(res => {
       this.brandOption = res.data.data;
     })
@@ -331,7 +331,7 @@ export default {
     //列保存触发
     async saveColumn() {
       const inSave = await this.saveColumnData(
-        this.getColumnName(131),
+        this.getColumnName(137),
         this.option
       );
       if (inSave) {
@@ -345,7 +345,7 @@ export default {
     },
     async resetColumn() {
       this.option = this.defaultOption;
-      const inSave = await this.delColumnData(this.getColumnName(131), this.defaultOption);
+      const inSave = await this.delColumnData(this.getColumnName(137), this.defaultOption);
       if (inSave) {
         this.$nextTick(() => {
           this.$refs.crud.doLayout()

+ 3 - 3
src/views/statisticAnalysis/paymentLedger/index.vue

@@ -194,7 +194,7 @@ export default {
     }
   },
   async created() {
-    this.option = await this.getColumnData(this.getColumnName(132), this.defaultOption);
+    this.option = await this.getColumnData(this.getColumnName(138), this.defaultOption);
     this.getWorkDicts('brand').then(res => {
       this.brandOption = res.data.data;
     })
@@ -327,7 +327,7 @@ export default {
     //列保存触发
     async saveColumn() {
       const inSave = await this.saveColumnData(
-        this.getColumnName(132),
+        this.getColumnName(138),
         this.option
       );
       if (inSave) {
@@ -341,7 +341,7 @@ export default {
     },
     async resetColumn() {
       this.option = this.defaultOption;
-      const inSave = await this.delColumnData(this.getColumnName(132), this.defaultOption);
+      const inSave = await this.delColumnData(this.getColumnName(138), this.defaultOption);
       if (inSave) {
         this.$nextTick(() => {
           this.$refs.crud.doLayout()

+ 3 - 3
src/views/statisticAnalysis/profitLedger/index.vue

@@ -187,7 +187,7 @@ export default {
     }
   },
   async created() {
-    this.option = await this.getColumnData(this.getColumnName(132), this.defaultOption);
+    this.option = await this.getColumnData(this.getColumnName(139), this.defaultOption);
     this.getWorkDicts('brand').then(res => {
       this.brandOption = res.data.data;
     })
@@ -320,7 +320,7 @@ export default {
     //列保存触发
     async saveColumn() {
       const inSave = await this.saveColumnData(
-        this.getColumnName(132),
+        this.getColumnName(139),
         this.option
       );
       if (inSave) {
@@ -334,7 +334,7 @@ export default {
     },
     async resetColumn() {
       this.option = this.defaultOption;
-      const inSave = await this.delColumnData(this.getColumnName(132), this.defaultOption);
+      const inSave = await this.delColumnData(this.getColumnName(139), this.defaultOption);
       if (inSave) {
         this.$nextTick(() => {
           this.$refs.crud.doLayout()