Merge pull request 'fix : 修复需求上报接口' (#307) from dj into master

Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/307
This commit is contained in:
2024-06-09 14:11:06 +00:00

View File

@@ -319,22 +319,13 @@ const getIsFund = async () => {
// loading.value = false
formData.value.isSpecialFund = res.data.isSpecialFund
if (res.data.isSpecialFund) {
res.data.specialFundId = getSpecialFundId(res.data.specialFund)
formData.value.specialFundId = res.data.specialFundId
formData.value.specialFund = res.data.specialFund
}
}
})
}
const getSpecialFundId = (val) => {
let value
specialFundOption.value.forEach(item => {
if (item.label == val) {
value = item.value
}
})
return value
}
const compositeParam = (item, type) => {
let tag = ''
if (name.value === 'Summary/add' || name.value === 'Summary/edit') {