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"/>