From f7c17bb79734db88276448802ecda933597f990d Mon Sep 17 00:00:00 2001 From: "han\\hanst" Date: Thu, 15 Jan 2026 14:24:51 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91=E7=9A=84=E6=97=B6=E5=80=99?= =?UTF-8?q?=E4=B8=8D=E8=A7=A6=E5=8F=91=20=E5=AE=A2=E6=88=B7=E7=BC=96?= =?UTF-8?q?=E7=A0=81=E5=8F=98=E5=8C=96=E4=BC=9A=E6=B8=85=E7=A9=BA=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/quotation/requestForQuote.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/modules/quotation/requestForQuote.vue b/src/views/modules/quotation/requestForQuote.vue index a1c6e89..f766663 100644 --- a/src/views/modules/quotation/requestForQuote.vue +++ b/src/views/modules/quotation/requestForQuote.vue @@ -874,7 +874,8 @@ export default { this.getApprovalList(); }, 'modalData.customerNo'(newV, oldV) { - if (oldV) { + // 修复:编辑模式(flag === '2')时不触发清空,避免回填数据时误清空项目号 + if (oldV && this.modalData.flag !== '2') { if (!newV) { this.modalData.customerDesc = '' } @@ -885,7 +886,8 @@ export default { } }, 'modalData.projectId'(newV, oldV) { - if (oldV) { + // 修复:编辑模式(flag === '2')时不触发清空,避免回填数据时误清空相关字段 + if (oldV && this.modalData.flag !== '2') { if (!newV) { this.modalData.projectName = '' }