diff --git a/src/views/mes/orderDay/orderDay.data.ts b/src/views/mes/orderDay/orderDay.data.ts index ab6b2b65d..43bed9d1e 100644 --- a/src/views/mes/orderDay/orderDay.data.ts +++ b/src/views/mes/orderDay/orderDay.data.ts @@ -273,6 +273,9 @@ export const OrderDay = useCrudSchemas(reactive([ valueFormat: 'YYYY-MM-DD', } }, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, form: { component: 'DatePicker', componentProps: { @@ -296,6 +299,9 @@ export const OrderDay = useCrudSchemas(reactive([ timeFormat:"HH:mm" } }, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, }, { label: '结束时间', @@ -312,6 +318,9 @@ export const OrderDay = useCrudSchemas(reactive([ timeFormat:"HH:mm" } }, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, }, { label: '生产模式', @@ -339,6 +348,9 @@ export const OrderDay = useCrudSchemas(reactive([ defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] } }, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, isForm: false, }, {