更新
This commit is contained in:
@@ -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);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user