qukaidi 2 éve
szülő
commit
6c95901a08

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

@@ -818,10 +818,10 @@ const columnName = [{
   name: '融资管理-融资总账明细表'
 }, {
   code: 196,
-  name: '融资管理-盘点列表页'
+  name: '库存管理-盘点列表页'
 }, {
   code: 197,
-  name: '融资管理-盘点明细表'
+  name: '库存管理-盘点明细表'
 }
 ]
 export const getColumnName = (key) => {

+ 3 - 3
src/views/InventoryManagement/inventory/index.vue

@@ -96,7 +96,7 @@ export default {
     },
     components: { detailPage },
     async created() {
-        this.option = await this.getColumnData(this.getColumnName(190), option);
+        this.option = await this.getColumnData(this.getColumnName(196), option);
         this.option.height = window.innerHeight - 210;
         this.itemOption.height = window.innerHeight - 410;
         this.getWorkDicts("approval_status").then(res => {
@@ -268,7 +268,7 @@ export default {
         },
         async saveColumn() {
             const inSave = await this.saveColumnData(
-                this.getColumnName(190),
+                this.getColumnName(196),
                 this.option
             );
             if (inSave) {
@@ -282,7 +282,7 @@ export default {
         },
         async resetColumn() {
             this.option = option;
-            const inSave = await this.delColumnData(this.getColumnName(190), this.option);
+            const inSave = await this.delColumnData(this.getColumnName(196), this.option);
             if (inSave) {
                 this.$nextTick(() => {
                     this.$refs.crud.doLayout();