Browse Source

BUG修改

master_hella_20240701
叶佳兴 10 months ago
parent
commit
36110fd3c5
  1. 40
      src/views/qms/inspection/inspectionJob/inspectionJobMain.data.ts
  2. 34
      src/views/qms/inspection/inspectionRecord/inspectionRecordMain.data.ts
  3. 20
      src/views/qms/inspection/inspectionRequest/inspectionMain.data.ts

40
src/views/qms/inspection/inspectionJob/inspectionJobMain.data.ts

@ -372,26 +372,26 @@ export const InspectionJobMain = useCrudSchemas(reactive<CrudSchema[]>([
// } // }
// } // }
// }, // },
{ // {
label: '是否可用', // label: '是否可用',
field: 'available', // field: 'available',
dictType: DICT_TYPE.TRUE_FALSE, // dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', // dictClass: 'string',
isTable: true, // isTable: true,
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
form: { // form: {
component: 'Switch', // component: 'Switch',
value: 'TRUE', // value: 'TRUE',
componentProps: { // componentProps: {
inactiveValue: 'FALSE', // inactiveValue: 'FALSE',
activeValue: 'TRUE', // activeValue: 'TRUE',
disabled:true // disabled:true
} // }
} // }
}, // },
{ {
label: '操作', label: '操作',
field: 'action', field: 'action',

34
src/views/qms/inspection/inspectionRecord/inspectionRecordMain.data.ts

@ -344,17 +344,17 @@ export const InspectionRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
} }
}, },
{ // {
label: '是否可用', // label: '是否可用',
field: 'available', // field: 'available',
dictType: DICT_TYPE.TRUE_FALSE, // dictType: DICT_TYPE.TRUE_FALSE,
sort: 'custom', // sort: 'custom',
isSearch: false, // isSearch: false,
isForm:false, // isForm:false,
table: { // table: {
width: 150 // width: 150
} // }
}, // },
{ {
label: '使用决策', label: '使用决策',
field: 'useDecision', field: 'useDecision',
@ -509,12 +509,12 @@ export const InspectionRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: false,
}, },
{ // {
label: '是否可用', // label: '是否可用',
field: 'available', // field: 'available',
sort: 'custom', // sort: 'custom',
isSearch: false, // isSearch: false,
}, // },
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',

20
src/views/qms/inspection/inspectionRequest/inspectionMain.data.ts

@ -317,16 +317,16 @@ export const InspectionMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
} }
}, },
{ // {
label: '是否可用', // label: '是否可用',
field: 'available', // field: 'available',
sort: 'custom', // sort: 'custom',
isSearch: false, // isSearch: false,
dictType: DICT_TYPE.TRUE_FALSE, // dictType: DICT_TYPE.TRUE_FALSE,
table: { // table: {
width: 150 // width: 150
} // }
}, // },
{ {
label: '操作', label: '操作',
field: 'action', field: 'action',

Loading…
Cancel
Save