From a1dade1965713fa199812f05ac82fe96a1dbe231 Mon Sep 17 00:00:00 2001
From: buaixuexideshitongxue <2936013465@qq.com>
Date: Tue, 14 Apr 2026 16:09:53 +0800
Subject: [PATCH] =?UTF-8?q?fix:=E6=8F=90=E4=BA=A4=E7=BB=99=E7=9A=84?=
=?UTF-8?q?=E5=8D=95=E4=BD=8D=E5=BF=85=E9=A1=BB=E6=98=AF=E5=AE=A1=E8=AE=A1?=
=?UTF-8?q?=E5=8D=95=E4=BD=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/reportAudit/start.vue | 6 +++++-
src/views/report/edit/controlPrice.vue | 2 +-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/components/reportAudit/start.vue b/src/components/reportAudit/start.vue
index e3ad794..2ccc58e 100644
--- a/src/components/reportAudit/start.vue
+++ b/src/components/reportAudit/start.vue
@@ -7,7 +7,7 @@
import useCatchStore from "@/stores/modules/catch";
import useUserStore from "@/stores/modules/user";
const userStore = useUserStore();
- const props = defineProps(['dialog','reportId','nextNode','message',"isWarning","isCityAudit","reportProject", 'currentNode'])
+ const props = defineProps(['dialog','reportId','nextNode','message',"isWarning","isCityAudit","reportProject", 'currentNode', 'auditUnitId'])
const emits = defineEmits(['submitFeedback',"closeFun"])
import { getDictValue } from "@/utils/util";
import { saveLastChoice, loadLastChoice } from '@/utils/lastChoice';
@@ -93,6 +93,10 @@
}
const submitFun = async ()=>{
+ if (props.auditUnitId && formData.value.approverUnitId !== props.auditUnitId) {
+ feedback.msgWarning("办理单位必须与审计单位一致!");
+ return;
+ }
debugger
await auditForm.value.validate();
await feedback.confirm("是否确认通过?");
diff --git a/src/views/report/edit/controlPrice.vue b/src/views/report/edit/controlPrice.vue
index 500613b..a597627 100644
--- a/src/views/report/edit/controlPrice.vue
+++ b/src/views/report/edit/controlPrice.vue
@@ -1475,7 +1475,7 @@ function hasAuditAttachment() {
+ :dialog="dialog" :currentNode="formData.project.node" :auditUnitId="formData.project.auditUnitId"/>