From fff0a29947fc885edf0390e20908a83bc334eae9 Mon Sep 17 00:00:00 2001 From: b2894lxlx <517289602@qq.com> Date: Wed, 4 Nov 2026 22:15:48 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E4=B8=9A=E5=8A=A1=E9=83=A8?= =?UTF-8?q?=E9=97=A8=E9=85=8D=E7=BD=AE=E6=94=AF=E6=8C=81=E7=BB=B4=E6=8A=A4?= =?UTF-8?q?=E9=87=91=E8=9D=B6=E5=85=AC=E5=8F=B8=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cursor --- src/views/system/business-dept-config.vue | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/src/views/system/business-dept-config.vue b/src/views/system/business-dept-config.vue index 1e87a6b..6a7a614 100644 --- a/src/views/system/business-dept-config.vue +++ b/src/views/system/business-dept-config.vue @@ -79,13 +79,6 @@ /> - @@ -192,10 +185,8 @@ export default { prop: 'kingdeeCompanyCode', minWidth: 140, span: 12, - formslot: true, - addDisplay: true, - editDisplay: true, - hide: true, + maxlength: 64, + rules: [{ required: true, message: '请输入金蝶公司代码', trigger: 'blur' }], }, { label: '初始流水号', @@ -279,7 +270,6 @@ export default { return (list || []).map(item => ({ label: item.deptName || item.fullName || String(item.id), value: String(item.id), - kingdeeDeptCode: item.kingdeeDeptCode || '', })); }, formatSerial(value) { @@ -291,7 +281,6 @@ export default { handlePlatformCompanyChange(value) { const matched = this.platformCompanyOptions.find(item => String(item.value) === String(value)); this.form.platformCompanyName = matched ? matched.label : ''; - this.form.kingdeeCompanyCode = matched ? matched.kingdeeDeptCode || '' : ''; }, handleBusinessDeptChange(value) { const matched = this.businessDeptOptions.find(item => String(item.value) === String(value)); @@ -336,6 +325,7 @@ export default { platformCompanyId: row.platformCompanyId || null, businessDeptId: row.businessDeptId || null, contractCodePrefix: String(row.contractCodePrefix || '').trim(), + kingdeeCompanyCode: String(row.kingdeeCompanyCode || '').trim(), kingdeeDeptCode: String(row.kingdeeDeptCode || '').trim(), remark: String(row.remark || '').trim(), initialSerial: Number.isFinite(initialSerial) ? initialSerial : null,