Commit c148e877 by zhangxw

问题修改

1 parent ce9e093e
......@@ -105,6 +105,7 @@ export default {
mounted() {
this.selectedData = this.storeSelected
if (this.merchantList.length) return
this.getSelectingList()
},
......
......@@ -548,7 +548,7 @@
</el-form>
</el-row>
</relate-store-dialog>
<assi-relate-store-dialog v-if="speciRelateStoreVisible"
<assi-relate-store-dialog v-show="speciRelateStoreVisible"
ref="formRelateStore"
:speci-relate-store-visible="speciRelateStoreVisible"
:specificationValueList="specificationDialogList"
......@@ -1017,6 +1017,7 @@ export default {
getSpecDataByMerchent({ baseGoodsId: this.formData.baseGoodsId }).then(res => {
let arr = []
let merchantIds = []
let speciId = ''
res.forEach(val => {
let specsValueList = []
this.formData.upgradeGoodsList && this.formData.upgradeGoodsList.forEach(item => {
......@@ -1025,12 +1026,13 @@ export default {
specsValueList.push(it.split('-')[1])
})
}
speciId = item.id
})
val.merchantList.forEach(i => {
merchantIds.push(i.merchantId)
})
arr.push({
id: item.id,
id: speciId,
specsValueList: specsValueList,
selectedMerchantIds: merchantIds,
selectedMerchantList: val.merchantList
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!