Browse Source

[SBBJ-1021]展示QAD部门

master
zengqinyuan 4 weeks ago
parent
commit
94f35801fa
  1. 24
      src/views/eam/basic/fixedAssets/fixedAssets.data.ts
  2. 2
      src/views/eam/basic/fixedAssets/index.vue

24
src/views/eam/basic/fixedAssets/fixedAssets.data.ts

@ -205,6 +205,30 @@ export const FixedAssets = useCrudSchemas(reactive<CrudSchema[]>([
width: '150',
},
},
{
label: '部门',
field: 'department',
sort: 'custom',
isForm: true,
table: {
width: '150',
},
},
{
label: '数据来源',
field: 'sourceType',
sort: 'custom',
table: {
width: '150',
},
isForm: true,
form: {
componentProps: {
disabled: true
}
}
},
{
label: '出厂日期',
field: 'productionDate',

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

@ -189,7 +189,7 @@ const openForm = (type: string, row?: any) => {
basicFormRef.value.open(type, row)
}
}
const qadDisabledTrueList = ["supplierNumber","number","name","locationNumber","beginUseDate","costSubjectDesc","manufacturer","unit","qty"];
const qadDisabledTrueList = ["supplierNumber","number","name","locationNumber","beginUseDate","costSubjectDesc","manufacturer","unit","qty","department"];
const componentPropsDisabled = (disabled: boolean) => {
FixedAssets.allSchemas.formSchema.forEach(item => {

Loading…
Cancel
Save