diff --git a/src/views/wms/deliversettlementManage/moldAllocation/customerStatement/customerStatementMain.data.ts b/src/views/wms/deliversettlementManage/moldAllocation/customerStatement/customerStatementMain.data.ts index 36034c83f..124616c97 100644 --- a/src/views/wms/deliversettlementManage/moldAllocation/customerStatement/customerStatementMain.data.ts +++ b/src/views/wms/deliversettlementManage/moldAllocation/customerStatement/customerStatementMain.data.ts @@ -68,32 +68,7 @@ export const CustomerStatementMain = useCrudSchemas(reactive([ sort: 'custom', isSearch: false, }, - { - label: '年月', - field: 'yearsMonth', - sort: 'custom', - formatter: dateFormatterYM, - isSearch: true, - search: { - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY-MM', - type: 'daterange', - defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] - } - }, - detail: { - dateFormat: 'YYYY-MM' - }, - isTable:false, - form: { - component: 'DatePicker', - componentProps: { - type: 'datetime', - valueFormat: 'YYYY-MM' - } - }, - }, + // { // label: '年月', // field: 'yearsMonthStr', @@ -120,7 +95,31 @@ export const CustomerStatementMain = useCrudSchemas(reactive([ } }, }, - + { + label: '年月', + field: 'yearsMonth', + sort: 'custom', + formatter: dateFormatterYM, + isSearch: true, + search: { + component: 'DatePicker', + componentProps: { + valueFormat: 'YYYY-MM', + type: 'daterange', + defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] + } + }, + detail: { + dateFormat: 'YYYY-MM' + }, + form: { + component: 'DatePicker', + componentProps: { + type: 'datetime', + valueFormat: 'YYYY-MM' + } + }, + }, { label: '创建者', field: 'creator',