Ver Fonte

入库自定义列

wengyuwen há 4 anos atrás
pai
commit
53d5c5fc78
1 ficheiros alterados com 4 adições e 6 exclusões
  1. 4 6
      src/views/warehouse/inStock/index.vue

+ 4 - 6
src/views/warehouse/inStock/index.vue

@@ -1041,10 +1041,9 @@ export default {
             // this.waitFor = true
           }else {
             // this.waitFor = true
-            this.detailList.columnList = this.detailStyle
-            this.setRowList = this.detailStyle
+            this.$set(this.detailList,'columnList',this.$options.data().detailStyle)
+            this.setRowList = this.$options.data().detailStyle
           }
-          // this.pageDisplay = false
           this.isItHidden = false
           this.inDex = this.detailOption.length
         }else {
@@ -1056,10 +1055,9 @@ export default {
             this.waitFor = true
           }else {
             this.waitFor = true
-            this.queryList.columnList = this.listStyle
-            this.setRowList = this.listStyle
+            this.$set(this.queryList,'columnList',this.$options.data().listStyle)
+            this.setRowList = this.$options.data().listStyle
           }
-          // this.pageDisplay = true
           this.isItHidden = true
           this.inDex = 4
         }