Commit 11c482c4 by 王志慧

commit

1 parent 29c5f162
...@@ -310,9 +310,12 @@ export default { ...@@ -310,9 +310,12 @@ export default {
}, },
addLine() { addLine() {
let { storeUsageList } = this let {
this.formdata.tableData.unshift({ storeUsageList,
refByYqShopList:[], formdata: { tableData }
} = this
tableData.unshift({
refByYqShopList: [],
upgradeGoodsId: '', upgradeGoodsId: '',
type: '', type: '',
goodsName: '', goodsName: '',
...@@ -324,6 +327,9 @@ export default { ...@@ -324,6 +327,9 @@ export default {
putMerchantId: '', putMerchantId: '',
putMerchantName: '' putMerchantName: ''
}) })
if (storeUsageList.length == 1) {
this.getRefByYqShopList(tableData[0], tableData[0].putYqMerchantId)
}
}, },
goBack() { goBack() {
this.$router.go(-1) this.$router.go(-1)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!