heyang 11 months ago
parent
commit
1fe9ba9d56

+ 1 - 0
src/views/chemicalManage/inventoryManagement/inventoryStatistics/collectList.vue

@@ -317,6 +317,7 @@
       handleSelectionChange(selection) {
       handleSelectionChange(selection) {
         this.selectedNum = selection.length;
         this.selectedNum = selection.length;
         this.ids = selection.map(item => item.id)
         this.ids = selection.map(item => item.id)
+        this.exportConfig.ids = this.ids
         this.multiple = !selection.length
         this.multiple = !selection.length
       },
       },
     },
     },

+ 1 - 0
src/views/chemicalManage/inventoryManagement/inventoryStatistics/inventoryList.vue

@@ -355,6 +355,7 @@
       handleSelectionChange(selection) {
       handleSelectionChange(selection) {
         this.selectedNum = selection.length;
         this.selectedNum = selection.length;
         this.ids = selection.map(item => item.id)
         this.ids = selection.map(item => item.id)
+        this.exportConfig.ids = this.ids
         this.multiple = !selection.length
         this.multiple = !selection.length
       },
       },
     },
     },