heyang 11 mesi fa
parent
commit
05a0b5e1d0

+ 4 - 3
src/views/chemicalManage/inventoryManagement/savePending/index.vue

@@ -406,14 +406,15 @@
         需要在selection 添加 :reserve-selection="true"
       */
       getRowKeys(row) {
-        return row.id
+        return row.waitId
       },
       //多选框选中数据
       handleSelectionChange(selection) {
         this.selectedNum = selection.length;
-        this.ids = selection.map(item => item.id)
+        this.ids = selection.map(item => item.waitId)
+        this.exportConfig.ids=this.ids;
         this.multiple = !selection.length
-        this.exportConfig.ids=this.ids
+
       },
     },
   }