lichao 3 роки тому
батько
коміт
cef765fbde
1 змінених файлів з 22 додано та 0 видалено
  1. 22 0
      src/views/Warehousing/inStock/AddOrUpdate.vue

+ 22 - 0
src/views/Warehousing/inStock/AddOrUpdate.vue

@@ -7279,6 +7279,17 @@ export default {
           this.getRowList = this.$options
             .data()
             .tableDate.filter((e) => e.checked == 0)
+          this.$nextTick(() => {
+            if (this.showDataElabel === '0') {
+              this.getRowList.forEach(item => {
+                this.$set(item, 'show', true)
+              })
+            } else {
+              this.getRowList.forEach(item => {
+                this.$set(item, 'show', item.label == 'fElabel' ? false : true)
+              })
+            }
+          })
         }
       })
     },
@@ -7294,6 +7305,17 @@ export default {
         if (res.code == 200) {
           this.showSetting = false
           this.getRowList = this.setRowList.filter((e) => e.checked == 0)
+          this.$nextTick(() => {
+            if (this.showDataElabel === '0') {
+              this.getRowList.forEach(item => {
+                this.$set(item, 'show', true)
+              })
+            } else {
+              this.getRowList.forEach(item => {
+                this.$set(item, 'show', item.label == 'fElabel' ? false : true)
+              })
+            }
+          })
         }
       })
     },