lilei 11 mesi fa
parent
commit
386b3df7ac
1 ha cambiato i file con 2 aggiunte e 3 eliminazioni
  1. 2 3
      src/views/salesManagement/waitCostOrder/list.vue

+ 2 - 3
src/views/salesManagement/waitCostOrder/list.vue

@@ -65,8 +65,7 @@
             ref="table"
             :style="{ height: pageHeight+67+'px' }"
             size="small"
-            :rowKey="(record) => record.no"
-            rowKeyName="no"
+            :rowKey="(record) => record.id"
             :columns="columns"
             :row-selection="{ columnWidth: 40, getCheckboxProps: record => ({ props: { disabled: curExpenseAccountType ? record.convertExpenseAccountType != curExpenseAccountType : false } }) }"
             @rowSelection="rowSelectionFun"
@@ -368,7 +367,7 @@ export default {
     searchForm () {
       this.isSearch = true
       this.$refs.table.refresh(true)
-      this.$refs.table.clearSelected()
+      // this.$refs.table.clearSelected()
     }
   },
   activated () {