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:
@@ -434,6 +434,7 @@ import ProcessDiagramViewer from '@/views/workflow/common/ProcessDiagramViewer.v
|
|||||||
import {getFormInfo, getInfo} from "@/api/project-demand";
|
import {getFormInfo, getInfo} from "@/api/project-demand";
|
||||||
import {getFundOption} from "@/api/special-fund";
|
import {getFundOption} from "@/api/special-fund";
|
||||||
import UserPicker from "@/views/workflow/process/common/UserPicker.vue";
|
import UserPicker from "@/views/workflow/process/common/UserPicker.vue";
|
||||||
|
import {nextTick} from "vue";
|
||||||
|
|
||||||
const authStore = useAuthStore()
|
const authStore = useAuthStore()
|
||||||
const changeDiagram = ref(false)
|
const changeDiagram = ref(false)
|
||||||
@@ -721,6 +722,9 @@ const handleSubmit = debounce(async (instance) => {
|
|||||||
}
|
}
|
||||||
if (formData.value.isSpecialFund && !formData.value.specialFund) {
|
if (formData.value.isSpecialFund && !formData.value.specialFund) {
|
||||||
formData.value.specialFund = getFundName(formData.value.specialFundId)
|
formData.value.specialFund = getFundName(formData.value.specialFundId)
|
||||||
|
}else{
|
||||||
|
formData.value.specialFundId=0
|
||||||
|
formData.value.specialFund=null
|
||||||
}
|
}
|
||||||
if (formData.value.masterProjectId) {
|
if (formData.value.masterProjectId) {
|
||||||
formData.value.masterProjectName = getProjectName(formData.value.masterProjectId)
|
formData.value.masterProjectName = getProjectName(formData.value.masterProjectId)
|
||||||
@@ -781,6 +785,9 @@ const handleResubmit = debounce((instance) => {
|
|||||||
formData.value.optionalChargeLeadership = optionalChargeLeadershipList.value
|
formData.value.optionalChargeLeadership = optionalChargeLeadershipList.value
|
||||||
if (formData.value.isSpecialFund && !formData.value.specialFund) {
|
if (formData.value.isSpecialFund && !formData.value.specialFund) {
|
||||||
formData.value.specialFund = getFundName(formData.value.specialFundId)
|
formData.value.specialFund = getFundName(formData.value.specialFundId)
|
||||||
|
}else{
|
||||||
|
formData.value.specialFundId=0
|
||||||
|
formData.value.specialFund=null
|
||||||
}
|
}
|
||||||
if (formData.value.masterProjectId) {
|
if (formData.value.masterProjectId) {
|
||||||
formData.value.masterProjectName = getProjectName(formData.value.masterProjectId)
|
formData.value.masterProjectName = getProjectName(formData.value.masterProjectId)
|
||||||
|
|||||||
Reference in New Issue
Block a user