diff --git a/src/views/vehicle/customer-archive.vue b/src/views/vehicle/customer-archive.vue index 510fa24..8d2d326 100644 --- a/src/views/vehicle/customer-archive.vue +++ b/src/views/vehicle/customer-archive.vue @@ -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;