feat: 新增客商查询金蝶后回显客商编码
This commit is contained in:
@@ -2416,6 +2416,7 @@ export default {
|
||||
resetKingdeeBackfill() {
|
||||
const form = this.archiveForm;
|
||||
form.kingdeeStatus = 'none';
|
||||
form.customerCode = '';
|
||||
form.fullName = '';
|
||||
form.legalPerson = '';
|
||||
form.registeredCapital = '';
|
||||
@@ -2469,6 +2470,8 @@ export default {
|
||||
applyKingdeeCustomer(customer) {
|
||||
const form = this.archiveForm;
|
||||
form.kingdeeStatus = 'exist';
|
||||
// 客商编号回显金蝶客商编码,与后端同步金蝶时的采纳口径保持一致
|
||||
if (customer.number) form.customerCode = customer.number;
|
||||
// 工商信息以金蝶为准,直接覆盖(后续字段锁定)
|
||||
if (customer.name) form.fullName = customer.name;
|
||||
if (customer.artificialperson) form.legalPerson = customer.artificialperson;
|
||||
|
||||
Reference in New Issue
Block a user