Commit 17ca749d by 李伟康

修复

1 parent ff782602
......@@ -1027,7 +1027,9 @@ export default {
this.merchantDialogVisible = !this.merchantDialogVisible
},
handleDel (row) {
const idx = this.saleMerchantList.findIndex(item => item.merchantId == row.merchantId)
const { goodsSource } = this.formObj,
KEY = goodsSource == 3 ? 'merchantNo' : 'merchantId',
idx = this.saleMerchantList.findIndex(item => item[KEY] == row[KEY])
if (idx > -1) this.saleMerchantList.splice(idx, 1)
this.validateField('saleStoreSlot')
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!