Browse Source

[SBBJ-879、881][文本不可编辑或隐藏]

master
zengqinyuan 1 month ago
parent
commit
756bc79a01
  1. 23
      src/views/eam/item/applicationRecord/applicationRecordMain.data.ts
  2. 47
      src/views/eam/item/itemApplyMain/itemApplyMain.data.ts
  3. 39
      src/views/eam/item/itemOrderMain/itemOrderMain.data.ts

23
src/views/eam/item/applicationRecord/applicationRecordMain.data.ts

@ -242,6 +242,11 @@ export const ApplicationRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
form: {
componentProps: {
disabled:true
}
}
}, },
{ {
label: '设备/模具编号', label: '设备/模具编号',
@ -321,6 +326,11 @@ export const ApplicationRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
tableForm: { tableForm: {
type: 'Select', type: 'Select',
disabled: true disabled: true
},
form: {
componentProps: {
disabled:true
}
} }
}, },
@ -339,16 +349,13 @@ export const ApplicationRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
tableForm: { tableForm: {
type: 'Select', type: 'Select',
disabled: true disabled: true
}
},
{
label: '备注',
field: 'remark',
table: {
width: 150
}, },
form: {
componentProps: {
disabled:true
}
}
}, },
{ {
label: '操作', label: '操作',
field: 'action', field: 'action',

47
src/views/eam/item/itemApplyMain/itemApplyMain.data.ts

@ -407,30 +407,29 @@ export const ItemApplyDetail = useCrudSchemas(reactive<CrudSchema[]>([
// } // }
// }, // },
// }, // },
{ // {
label: '是否可用', // label: '是否可用',
field: 'available', // field: 'available',
sort: 'custom', // sort: 'custom',
dictType: DICT_TYPE.TRUE_FALSE, // dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', // dictClass: 'string',
isSearch: true, // isSearch: true,
isTable: true, // isTable: true,
table: { // table: {
width: 150 // width: 150
}, // },
tableForm: { // tableForm: {
type: 'Select', // type: 'Select',
disabled: true // disabled: true
} // }
}, // },
{ // {
label: '备注', // label: '备注',
field: 'remark', // field: 'remark',
table: { // table: {
width: 150 // width: 150
}, // },
}, // },
{ {
label: '操作', label: '操作',
field: 'action', field: 'action',

39
src/views/eam/item/itemOrderMain/itemOrderMain.data.ts

@ -229,38 +229,6 @@ export const ItemOrderDetail = useCrudSchemas(reactive<CrudSchema[]>([
precision: 6 precision: 6
} }
}, },
{
label: '是否可用',
field: 'available',
sort: 'custom',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isSearch: true,
isTable: true,
table: {
width: 150
},
tableForm: {
type: 'Select',
disabled: true
}
},
{
label: '是否以旧换新',
field: 'isRadeIn',
sort: 'custom',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isSearch: true,
isTable: true,
table: {
width: 150
},
tableForm: {
type: 'Select',
disabled: true
}
},
{ {
label: '库存数量', label: '库存数量',
field: 'qty', field: 'qty',
@ -281,13 +249,6 @@ export const ItemOrderDetail = useCrudSchemas(reactive<CrudSchema[]>([
precision: 6 precision: 6
} }
}, },
{
label: '备注',
field: 'remark',
table: {
width: 150
},
},
{ {
label: '操作', label: '操作',

Loading…
Cancel
Save