From f3815762d5e251425e876f449fc497a140f18eb4 Mon Sep 17 00:00:00 2001 From: buaixuexideshitongxue <2936013465@qq.com> Date: Tue, 9 Dec 2025 16:10:28 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E9=80=80=E7=AA=97=E5=90=8E?= =?UTF-8?q?=E9=99=84=E4=BB=B6=E7=8A=B6=E6=80=81=E6=9C=89=E8=AF=AF=EF=BC=8C?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E5=B1=95=E7=A4=BA=E5=B7=B2=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E9=99=84=E4=BB=B6=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/report/edit/controlPrice.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/views/report/edit/controlPrice.vue b/src/views/report/edit/controlPrice.vue index 26039e4..1656523 100644 --- a/src/views/report/edit/controlPrice.vue +++ b/src/views/report/edit/controlPrice.vue @@ -797,6 +797,8 @@ watch(() => route.query.isEnd, (val) => { }, {deep: true, immediate: true}) //附件列表 watch(() => formData.value.project.projectType, (val) => { + // 有 id 的时候,说明是编辑/详情,不要覆盖后端附件 + if (route.query.id) return; if (!(route.query.node || route.query.isAudit)) { let fileDataList = isEndData ? fileEndDict : fileDict; if (val) {