Browse Source

SBBJ-806固定资产是从QAD接口传EAM系统(管理部门、位置、描述、状态、照片可编辑)

master
张立 1 week ago
parent
commit
b6156697fe
  1. 18
      src/views/eam/basic/fixedAssets/index.vue

18
src/views/eam/basic/fixedAssets/index.vue

@ -182,8 +182,26 @@ const openForm = (type: string, row?: any) => {
row['upload']= row.filePathList?.map((item: any) => { row['upload']= row.filePathList?.map((item: any) => {
return {url:item} return {url:item}
}) })
if (row.sourceType == 'QAD') {
FixedAssets.allSchemas.formSchema.forEach(item => {
if (item.field == 'supplierNumber') {
item.componentProps.disabled = true
}
})
} else {
FixedAssets.allSchemas.formSchema.forEach(item => {
if (item.field == 'supplierNumber') {
item.componentProps.disabled = false
}
})
}
basicFormRef.value.open(type, row) basicFormRef.value.open(type, row)
} else { } else {
FixedAssets.allSchemas.formSchema.forEach(item => {
if (item.field == 'supplierNumber') {
item.componentProps.disabled = false
}
})
basicFormRef.value.open(type, row) basicFormRef.value.open(type, row)
} }
} }

Loading…
Cancel
Save