Browse Source

SBBJ-1206固定资产管理、工位器具管理,编辑编号应不能修改

master
张立 1 week ago
parent
commit
3094e4bd33
  1. 10
      src/views/eam/basic/assetsAccount/index.vue

10
src/views/eam/basic/assetsAccount/index.vue

@ -179,8 +179,18 @@ 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}
}) })
AssetsAccount.allSchemas.formSchema.forEach(item => {
if (item.field == 'number') {
item.componentProps.disabled = true
}
})
basicFormRef.value.open(type, row) basicFormRef.value.open(type, row)
} else { } else {
AssetsAccount.allSchemas.formSchema.forEach(item => {
if (item.field == 'number') {
item.componentProps.disabled = false
}
})
basicFormRef.value.open(type, row) basicFormRef.value.open(type, row)
} }

Loading…
Cancel
Save