feat: 新增客商查询金蝶后回显客商编码

This commit is contained in:
刘泉佳
2026-10-21 15:49:44 +08:00
parent 4e8163dd18
commit 9150213b0f
+3
View File
@@ -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;