fix : 修复专项资金页面功能细节

This commit is contained in:
2024-05-28 16:36:03 +08:00
parent 63e94af451
commit ba86f54369
10 changed files with 682 additions and 29 deletions

View File

@@ -146,7 +146,7 @@ const handleDownload = (row) => {
a.click()
})
}
const getDataSourceOptionItem = (val) => {
const getCompanyOptionItem = (val) => {
if (val instanceof Array) {
val.forEach(item => {
matterTree(companyNameArray.value, props.companyOption, item)
@@ -165,7 +165,7 @@ watch(() => props.companyOption, (newVal) => {
}, {deep: true})
watch(() => props.formData, (newVal) => {
if(newVal!=null){
props.formData.companyIds = getDataSourceOptionItem(newVal.companyIds)
props.formData.companyIds = getCompanyOptionItem(newVal.companyIds)
}
}, {deep: true})
watch(() => props.processViewer, (newVal) => {