Bladeren bron

Merge branch 'master' of http://192.168.1.43:3000/v3/v3-lab-web

dedsudiyu 11 maanden geleden
bovenliggende
commit
8ef8f4a82a
1 gewijzigde bestanden met toevoegingen van 4 en 3 verwijderingen
  1. 4 3
      src/views/chemicalManage/inventoryManagement/savePending/index.vue

+ 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
+
       },
     },
   }