Commit 0e1341d8 by 胡悦

修复

1 parent b380bd4a
...@@ -625,7 +625,8 @@ export default { ...@@ -625,7 +625,8 @@ export default {
if (i.relType == 2) { if (i.relType == 2) {
const _parent = this.brandTreeData.find(j => j.id == i.relBusinessId) const _parent = this.brandTreeData.find(j => j.id == i.relBusinessId)
console.log(_parent,'=Z_') console.log(_parent,'=Z_')
if (_parent) checkList.push(_parent) if (_parent) {
checkList.push(_parent)
if (_parent.children) checkList = checkList.concat(_parent.children) if (_parent.children) checkList = checkList.concat(_parent.children)
} else { } else {
checkList.push({ checkList.push({
...@@ -633,6 +634,12 @@ export default { ...@@ -633,6 +634,12 @@ export default {
id: i.relBusinessId id: i.relBusinessId
}) })
} }
} else {
checkList.push({
label: i.relItemName,
id: i.relBusinessId
})
}
}) })
this.checkBrand = checkList this.checkBrand = checkList
if (isRelMerchant == 2) { if (isRelMerchant == 2) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!