story#7552 潜在服务商,省禁用
This commit is contained in:
@@ -158,7 +158,7 @@
|
|||||||
children: 'children',
|
children: 'children',
|
||||||
label: 'title',
|
label: 'title',
|
||||||
},
|
},
|
||||||
areaProps: { multiple: true, checkStrictly: true, value: 'id',label: 'title', emitPath: false, },
|
areaProps: { multiple: true, checkStrictly: true, value: 'id',label: 'title', emitPath: false},
|
||||||
configId: '',
|
configId: '',
|
||||||
wechatId: '',
|
wechatId: '',
|
||||||
}
|
}
|
||||||
@@ -295,7 +295,15 @@
|
|||||||
},
|
},
|
||||||
async getAreaTree() {
|
async getAreaTree() {
|
||||||
let res = await getArea();
|
let res = await getArea();
|
||||||
this.areaList = res?.data;
|
let result = res?.data
|
||||||
|
result?.map(item=>{
|
||||||
|
if( item.parentId == 0 ) {
|
||||||
|
this.$set(item , 'disabled' ,true)
|
||||||
|
} else {
|
||||||
|
this.$set(item , 'disabled' ,false)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
this.areaList = result;
|
||||||
},
|
},
|
||||||
/*async getSupplierServiceTree(){
|
/*async getSupplierServiceTree(){
|
||||||
let res = await supplierServicePartTree({
|
let res = await supplierServicePartTree({
|
||||||
|
|||||||
Reference in New Issue
Block a user