Commit 4290fcd3 by 李伟康

修复编辑活动BUG

1 parent b4db6ba6
......@@ -2429,10 +2429,9 @@ export default {
this.relateStoreVisible = !this.relateStoreVisible
},
handleRelateStoreConfirm (selectedData) {
// this.editForm.supplyMerchantList = selectedData
selectedData.merchantId && (this.editForm.merchantId = selectedData.merchantId)
selectedData.merchantName && (this.editForm.merchantName = selectedData.merchantName)
// this.selectedList = selectedData
this.editForm.goodsList = []
this.selectedProInfo = []
this.handleRelateStoreClose()
},
......@@ -2481,8 +2480,8 @@ export default {
} else list.map(e => {
arr.push({ goodsId: e.id })
})
this.editForm.goodsList = arr
this.selectedProInfo = list || []
this.editForm.goodsList = arr || []
this.setLimitPurchase()
},
handleSingleSelectClose (isCancel = false) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!