Commit 97887584 by 匡雅琴

主营品牌回显问题

1 parent f34ea87d
...@@ -444,13 +444,6 @@ export default { ...@@ -444,13 +444,6 @@ export default {
this.$refs.baseInfoForm.$refs.baseForm.validate() this.$refs.baseInfoForm.$refs.baseForm.validate()
this.editStatus = false this.editStatus = false
}) })
if (merchantBrandName) {
const brandName = merchantBrandName.split(',').map((item, index) => {
return { label: item, id: index }
})
this.$refs.baseInfoForm.$refs.brandListTree.getCheckedArr = brandName
// console.log(this.$refs.baseInfoForm.$refs.brandListTree.getCheckedArr)
}
}, },
getCarbrandTree() { getCarbrandTree() {
this.$apis.store.getCarbrandTree({}).then(res => { this.$apis.store.getCarbrandTree({}).then(res => {
......
...@@ -153,12 +153,6 @@ export default { ...@@ -153,12 +153,6 @@ export default {
this.infoForm.merchantBrandMain = this.infoForm.merchantBrandMain.replaceAll(';', ',').split(',') this.infoForm.merchantBrandMain = this.infoForm.merchantBrandMain.replaceAll(';', ',').split(',')
} }
this.brandList() this.brandList()
if (merchantBrandName) {
const brandName = merchantBrandName.split(',').map((item, index) => {
return { label: item, id: index }
})
this.$refs.brandListTree.getCheckedArr = brandName
}
}, },
// 点击主营品牌 // 点击主营品牌
clickBrand(val) { clickBrand(val) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!