Browse Source

送达日期

master_hella_20240701
wangyufei 5 months ago
parent
commit
ca2f54abcf
  1. 10
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts

10
src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts

@ -74,8 +74,8 @@ export const PurchasePlanMain = useCrudSchemas(reactive<CrudSchema[]>([
search: { search: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
valueFormat: 'YYYY-MM-DD', valueFormat: 'YYYY-MM-DD HH:mm:ss',
type: 'daterange', type: 'datetimerange',
defaultTime: [new Date('1 '), new Date('1 ')] defaultTime: [new Date('1 '), new Date('1 ')]
} }
}, },
@ -137,9 +137,9 @@ export const PurchasePlanMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '送达日期', label: '送达日期',
field: 'deliveryDate', field: 'deliveryDate',
table: { table: {
width: 150 width: 180
}, },
formatter: dateFormatter2, formatter: dateFormatter,
sortTableDefault:2, sortTableDefault:2,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
@ -151,7 +151,7 @@ export const PurchasePlanMain = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
detail: { detail: {
dateFormat: 'YYYY-MM-DD' dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
}, },
{ {

Loading…
Cancel
Save