From 673a26368ac1b6ee455d6ec06b1f58aade23e020 Mon Sep 17 00:00:00 2001 From: dj <1042039504@qq.com> Date: Wed, 21 May 2025 12:55:23 +0800 Subject: [PATCH] =?UTF-8?q?fix(project-demand):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E4=B8=93=E9=A1=B9=E5=9F=BA=E9=87=91=E9=80=89=E6=8B=A9=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/project-demand/summary/add.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/views/project-demand/summary/add.vue b/src/views/project-demand/summary/add.vue index 655e6f2..06ba46c 100644 --- a/src/views/project-demand/summary/add.vue +++ b/src/views/project-demand/summary/add.vue @@ -434,6 +434,7 @@ import ProcessDiagramViewer from '@/views/workflow/common/ProcessDiagramViewer.v import {getFormInfo, getInfo} from "@/api/project-demand"; import {getFundOption} from "@/api/special-fund"; import UserPicker from "@/views/workflow/process/common/UserPicker.vue"; +import {nextTick} from "vue"; const authStore = useAuthStore() const changeDiagram = ref(false) @@ -721,6 +722,9 @@ const handleSubmit = debounce(async (instance) => { } if (formData.value.isSpecialFund && !formData.value.specialFund) { formData.value.specialFund = getFundName(formData.value.specialFundId) + }else{ + formData.value.specialFundId=0 + formData.value.specialFund=null } if (formData.value.masterProjectId) { formData.value.masterProjectName = getProjectName(formData.value.masterProjectId) @@ -781,6 +785,9 @@ const handleResubmit = debounce((instance) => { formData.value.optionalChargeLeadership = optionalChargeLeadershipList.value if (formData.value.isSpecialFund && !formData.value.specialFund) { formData.value.specialFund = getFundName(formData.value.specialFundId) + }else{ + formData.value.specialFundId=0 + formData.value.specialFund=null } if (formData.value.masterProjectId) { formData.value.masterProjectName = getProjectName(formData.value.masterProjectId)