|
@@ -190,7 +190,7 @@ export default {
|
|
|
this.$message.info('产品抵扣金额不能为空')
|
|
|
return
|
|
|
}
|
|
|
- let chooseList =JSON.parse(JSON.stringify(this.rowSelectionInfo.selectedRows))
|
|
|
+ const chooseList = JSON.parse(JSON.stringify(this.rowSelectionInfo.selectedRows))
|
|
|
const newList = chooseList.map(item => {
|
|
|
item.subsidyAmount = this.subsidyAmount
|
|
|
delete item.id
|
|
@@ -210,8 +210,8 @@ export default {
|
|
|
this.subsidyAmount = undefined
|
|
|
this.productType = []
|
|
|
this.category = []
|
|
|
- // this.rowSelectionInfo = null
|
|
|
- // this.$refs.table.clearSelected()
|
|
|
+ this.rowSelectionInfo = null
|
|
|
+ this.$refs.table.clearSelected()
|
|
|
this.$refs.table.refresh()
|
|
|
}
|
|
|
},
|