fix : 修复需求上报接口
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user