|
|
@ -179,8 +179,18 @@ const openForm = (type: string, row?: any) => { |
|
|
|
row['upload']= row.filePathList?.map((item: any) => { |
|
|
|
return {url:item} |
|
|
|
}) |
|
|
|
AssetsAccount.allSchemas.formSchema.forEach(item => { |
|
|
|
if (item.field == 'number') { |
|
|
|
item.componentProps.disabled = true |
|
|
|
} |
|
|
|
}) |
|
|
|
basicFormRef.value.open(type, row) |
|
|
|
} else { |
|
|
|
AssetsAccount.allSchemas.formSchema.forEach(item => { |
|
|
|
if (item.field == 'number') { |
|
|
|
item.componentProps.disabled = false |
|
|
|
} |
|
|
|
}) |
|
|
|
basicFormRef.value.open(type, row) |
|
|
|
} |
|
|
|
|
|
|
|