story#7552 潜在服务商,省禁用

This commit is contained in:
2025-11-27 14:42:53 +08:00
parent 55321e5dc5
commit 2c61085515

View File

@@ -158,7 +158,7 @@
children: 'children',
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: '',
wechatId: '',
}
@@ -295,7 +295,15 @@
},
async getAreaTree() {
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(){
let res = await supplierServicePartTree({