Browse Source

BUG修改

master_hella_20240701
parent
commit
4a9a11cc61
  1. 10
      src/views/qms/aql/aql.data.ts
  2. 34
      src/views/qms/basicDataManage/inspectionScheme/inspectionScheme.data.ts
  3. 9
      src/views/qms/inspectionMethod/inspectionMethod.data.ts
  4. 9
      src/views/qms/samplingProcess/samplingProcess.data.ts
  5. 9
      src/views/qms/samplingScheme/samplingScheme.data.ts

10
src/views/qms/aql/aql.data.ts

@ -540,10 +540,16 @@ export const Aql = useCrudSchemas(reactive<CrudSchema[]>([
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
table: { form: {
width: 115 component: 'DatePicker',
componentProps: {
style: {width: '100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
} }
}, },
},
{ {
label: '操作', label: '操作',
field: 'action', field: 'action',

34
src/views/qms/basicDataManage/inspectionScheme/inspectionScheme.data.ts

@ -157,23 +157,45 @@ export const InspectionSchemeMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
isSearch: true, isSearch: true,
},{ },
{
label: '生效时间', label: '生效时间',
field: 'effectiveDate', field: 'effectiveDate',
sort: 'custom', sort: 'custom',
formatter: dateFormatter, formatter: dateFormatter,
table: { isForm: false,
width: 180 detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
form: {
component: 'DatePicker',
componentProps: {
style: { width: '100%' },
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
} }
},{ },
},
{
label: '失效时间', label: '失效时间',
field: 'expirationDate', field: 'expirationDate',
sort: 'custom', sort: 'custom',
formatter: dateFormatter, formatter: dateFormatter,
table: { isForm: false,
width: 180 detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
form: {
component: 'DatePicker',
componentProps: {
style: { width: '100%' },
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
} }
}, },
},
// { // {
// label: '是否可用', // label: '是否可用',
// field: 'available', // field: 'available',

9
src/views/qms/inspectionMethod/inspectionMethod.data.ts

@ -61,6 +61,15 @@ export const InspectionMethod = useCrudSchemas(reactive<CrudSchema[]>([
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
form: {
component: 'DatePicker',
componentProps: {
style: {width: '100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
}, },
{ {
label: '操作', label: '操作',

9
src/views/qms/samplingProcess/samplingProcess.data.ts

@ -85,6 +85,15 @@ export const SamplingProcess = useCrudSchemas(reactive<CrudSchema[]>([
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
form: {
component: 'DatePicker',
componentProps: {
style: {width: '100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
}, },
{ {
label: '操作', label: '操作',

9
src/views/qms/samplingScheme/samplingScheme.data.ts

@ -32,6 +32,15 @@ export const SamplingScheme = useCrudSchemas(reactive<CrudSchema[]>([
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
form: {
component: 'DatePicker',
componentProps: {
style: {width: '100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
}, },
{ {
label: '操作', label: '操作',

Loading…
Cancel
Save