diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts index 132aecbbf..4b2f6594b 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts @@ -74,8 +74,8 @@ export const PurchasePlanMain = useCrudSchemas(reactive([ search: { component: 'DatePicker', componentProps: { - valueFormat: 'YYYY-MM-DD', - type: 'daterange', + valueFormat: 'YYYY-MM-DD HH:mm:ss', + type: 'datetimerange', defaultTime: [new Date('1 '), new Date('1 ')] } }, @@ -137,9 +137,9 @@ export const PurchasePlanMain = useCrudSchemas(reactive([ label: '送达日期', field: 'deliveryDate', table: { - width: 150 + width: 180 }, - formatter: dateFormatter2, + formatter: dateFormatter, sortTableDefault:2, form: { component: 'DatePicker', @@ -151,7 +151,7 @@ export const PurchasePlanMain = useCrudSchemas(reactive([ } }, detail: { - dateFormat: 'YYYY-MM-DD' + dateFormat: 'YYYY-MM-DD HH:mm:ss' }, }, {