From 472fbd3dec17744deefaa6e5a7295be5ba47eed3 Mon Sep 17 00:00:00 2001 From: ye1023 <12588209+ye1023@user.noreply.gitee.com> Date: Thu, 30 Jul 2026 10:44:57 +0800 Subject: [PATCH] =?UTF-8?q?yxk-20260730=20=E6=94=B9=E5=96=84=E6=8F=90?= =?UTF-8?q?=E6=A1=88=20=E4=BF=AE=E5=A4=8D=E6=99=AE=E9=80=9A=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E8=A1=A8=E5=8D=95=E5=B0=86=E9=99=84=E4=BB=B6=E5=85=B3?= =?UTF-8?q?=E8=81=94=E5=88=B0=E6=8F=90=E6=A1=88=E7=BC=96=E5=8F=B7=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E3=80=82=E5=90=8E=E7=BB=AD=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E7=9A=84=E6=94=B9=E5=96=84=E5=89=8D=E3=80=81=E6=94=B9=E5=96=84?= =?UTF-8?q?=E5=90=8E=E9=99=84=E4=BB=B6=E7=BB=9F=E4=B8=80=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=20=E6=94=B9=E5=96=84=E6=8F=90=E6=A1=88=E4=B8=BB=E8=A1=A8=20ID:?= =?UTF-8?q?=E5=88=86=E7=BB=84=20=E4=BF=9D=E5=AD=98=EF=BC=8C=E4=B8=8E=20BPM?= =?UTF-8?q?=20=E5=8F=AA=E8=AF=BB=E9=A1=B5=E7=9A=84=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E8=A7=84=E5=88=99=E4=BF=9D=E6=8C=81=E4=B8=80=E8=87=B4=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/ImprovementProposalForm.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/gh/improvementProposal/components/ImprovementProposalForm.vue b/src/views/gh/improvementProposal/components/ImprovementProposalForm.vue index 3cde3fe..73cd63d 100644 --- a/src/views/gh/improvementProposal/components/ImprovementProposalForm.vue +++ b/src/views/gh/improvementProposal/components/ImprovementProposalForm.vue @@ -57,7 +57,7 @@ - + @@ -67,7 +67,7 @@ - + @@ -415,13 +415,13 @@ } console.log('表单提交数据', values) const result = await saveOrUpdate(values, isUpdate); - // 新增时,保存成功后绑定附件的 bussinessId + // 新增阶段附件暂不绑定;主表生成 ID 后统一关联,保证普通表单和 BPM 使用同一查询键。 if (!isUpdate) { const newId = typeof result === 'string' ? result : (result?.id || result); if (newId) { formData.id = newId; - await beforeFileRef.value?.bindBussinessId(`${formData.proposalNo}:before`); - await afterFileRef.value?.bindBussinessId(`${formData.proposalNo}:after`); + await beforeFileRef.value?.bindBussinessId(`${formData.id}:before`); + await afterFileRef.value?.bindBussinessId(`${formData.id}:after`); } } emit('success');