This commit is contained in:
xiaozhiyong
2023-02-24 17:12:47 +08:00
parent b66f88ac17
commit 51aa12621d
15 changed files with 848 additions and 107 deletions

View File

@@ -168,25 +168,15 @@ export default {
this.form = JSON.parse(JSON.stringify(this.controlWindows.addInfo));
}
// 上级公司
let configUpdata = id
? {
echoId: this.form.parentId,
echoName: this.form.name,
}
: {
echoId: "",
echoName: "",
};
let configUpdata = {
echoId: this.form.parentId || "",
echoName: this.form.name || "",
};
// 企业负责人
let configUpdataLeader = id
? {
echoId: this.form.businessLeader,
echoName: this.form.businessLeader,
}
: {
echoId: "",
echoName: "",
};
let configUpdataLeader = {
echoId: this.form.businessLeader || "",
echoName: this.form.businessLeader || "",
};
Object.assign(this.configAutocomplete, configUpdata);
Object.assign(this.configAutocompleteLeader, configUpdataLeader);
},