Merge pull request 'fix(project-demand): 修复专项基金选择问题' (#1008) from master into prod

Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/1008
This commit is contained in:
2025-05-21 04:55:59 +00:00

View File

@@ -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)