diff --git a/src/views/qms/aql/aql.data.ts b/src/views/qms/aql/aql.data.ts index 1a6d29a40..f62070d8e 100644 --- a/src/views/qms/aql/aql.data.ts +++ b/src/views/qms/aql/aql.data.ts @@ -531,22 +531,15 @@ export const Aql = useCrudSchemas(reactive([ width: 105 } }, - // { - // label: '是否可用', - // field: 'available', - // sort: 'custom', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', // 默认都是字符串类型其他暂不考虑 - // form: { - // component: 'SelectV2' - // }, - // }, { label: '创建时间', field: 'createTime', sort: 'custom', formatter: dateFormatter, isForm: false, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, table: { width: 115 } diff --git a/src/views/qms/inspectionMethod/inspectionMethod.data.ts b/src/views/qms/inspectionMethod/inspectionMethod.data.ts index c5859f165..4df465762 100644 --- a/src/views/qms/inspectionMethod/inspectionMethod.data.ts +++ b/src/views/qms/inspectionMethod/inspectionMethod.data.ts @@ -32,16 +32,6 @@ export const InspectionMethod = useCrudSchemas(reactive([ field: 'operationGuidance', sort: 'custom', }, - // { - // label: '是否可用', - // field: 'available', - // sort: 'custom', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', // 默认都是字符串类型其他暂不考虑 - // form: { - // component: 'SelectV2' - // }, - // }, { label: '文件', field: 'videoAddress', @@ -68,6 +58,9 @@ export const InspectionMethod = useCrudSchemas(reactive([ sort: 'custom', formatter: dateFormatter, isForm: false, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, }, { label: '操作', diff --git a/src/views/qms/sampleCode/sampleCode.data.ts b/src/views/qms/sampleCode/sampleCode.data.ts index 986c7848f..ccfe539a9 100644 --- a/src/views/qms/sampleCode/sampleCode.data.ts +++ b/src/views/qms/sampleCode/sampleCode.data.ts @@ -94,6 +94,9 @@ export const SampleCode = useCrudSchemas(reactive([ sort: 'custom', formatter: dateFormatter, isForm: false, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, }, { label: '操作', diff --git a/src/views/qms/samplingProcess/samplingProcess.data.ts b/src/views/qms/samplingProcess/samplingProcess.data.ts index eed4addcb..955a0e91d 100644 --- a/src/views/qms/samplingProcess/samplingProcess.data.ts +++ b/src/views/qms/samplingProcess/samplingProcess.data.ts @@ -73,6 +73,9 @@ export const SamplingProcess = useCrudSchemas(reactive([ sort: 'custom', formatter: dateFormatter, isForm: false, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, }, { label: '操作', diff --git a/src/views/qms/samplingScheme/samplingScheme.data.ts b/src/views/qms/samplingScheme/samplingScheme.data.ts index abd0f5b53..b651c61ed 100644 --- a/src/views/qms/samplingScheme/samplingScheme.data.ts +++ b/src/views/qms/samplingScheme/samplingScheme.data.ts @@ -23,23 +23,15 @@ export const SamplingScheme = useCrudSchemas(reactive([ sort: 'custom', isSearch: true, }, - // { - // label: '是否可用', - // field: 'available', - // sort: 'custom', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', // 默认都是字符串类型其他暂不考虑 - // isSearch: true, - // form: { - // component: 'SelectV2' - // }, - // }, { label: '创建时间', field: 'createTime', sort: 'custom', formatter: dateFormatter, isForm: false, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, }, { label: '操作',