13126 企业端创建的相关方 编辑的时候基层主管部门和基层监管部门能选择其他分公司 应该只能选择自己分公司 参考创建 注意不能影响监管端创建的相关方

cmt1.0
liujun 2023-12-14 17:02:05 +08:00
parent d9601a587c
commit c83d83f950
1 changed files with 3 additions and 5 deletions

View File

@ -448,16 +448,13 @@ export default {
return list
},
cascaderChange(e) {
// console.log('e', e)
const newVal = e[e.length - 1]
// console.log('', newVal[newVal.length - 1])
if (newVal === '1' || newVal === '2' || newVal === '3' || newVal === '4') {
this.$message({
message: '请选择正确的属地...',
type: 'error'
})
this.form.POSSESSION.pop()
// console.log('', this.corpStateForm.REGULATORY_DEPARTMENT_ARR)
}
},
//
@ -525,7 +522,8 @@ export default {
'/department/listTreeManageAndCorp1/',
{}
).then((data) => {
this.treeData = JSON.parse(data.zTreeNodes)
const treeData = this.listTransTree(JSON.parse(data.zTreeNodes), 'id', 'pId', 'nodes')
this.treeData = this.removeEmptyChildren(treeData)
}).catch((e) => {
})
resolve()
@ -599,7 +597,7 @@ export default {
getDict() {
return new Promise((resolve, reject) => {
requestFN(
'/corpinfo/listTreeManageAndCorpHasOrder',
'/department/listTree/',
{}
).then((data) => {
const treeData = this.listTransTree(JSON.parse(data.zTreeNodes), 'id', 'pId', 'nodes')