|
@@ -21,7 +21,7 @@
|
|
|
:style="{ height: tableHeight+84.5+'px' }"
|
|
|
size="small"
|
|
|
rowKeyName="productSn"
|
|
|
- :rowKey="(record) => record.productSn"
|
|
|
+ :rowKey="(record,index) => record.productSn + index"
|
|
|
:row-selection="{ columnWidth: 40 }"
|
|
|
@rowSelection="rowSelectionFun"
|
|
|
:columns="columns"
|
|
@@ -197,6 +197,7 @@ export default {
|
|
|
list: data
|
|
|
}).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
+ this.$refs.table.clearSelected()
|
|
|
this.resetSearchForm(false)
|
|
|
this.$message.success(res.message)
|
|
|
}
|