diff --git a/src/views/wms/deliversettlementManage/customerStatement/customerStatement/customerStatementMain.data.ts b/src/views/wms/deliversettlementManage/customerStatement/customerStatement/customerStatementMain.data.ts index b454b1130..4e81001b8 100644 --- a/src/views/wms/deliversettlementManage/customerStatement/customerStatement/customerStatementMain.data.ts +++ b/src/views/wms/deliversettlementManage/customerStatement/customerStatement/customerStatementMain.data.ts @@ -12,6 +12,7 @@ export const CustomerStatementMain = useCrudSchemas(reactive([ { label: 'id', field: 'id', + isDetail:false, sort: 'custom', isTable: false, isForm: false, @@ -48,11 +49,21 @@ export const CustomerStatementMain = useCrudSchemas(reactive([ defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] } }, + detail: { + dateFormat: 'YYYY-MM' + }, + table: { + component: 'DatePicker', + componentProps: { + type: 'datetime', + valueFormat: 'YYYY-MM' + } + }, form: { component: 'DatePicker', componentProps: { type: 'datetime', - valueFormat: 'x' + valueFormat: 'YYYY-MM' } }, }, @@ -69,11 +80,14 @@ export const CustomerStatementMain = useCrudSchemas(reactive([ }, }, { - label: '重新比对更新时间', + label: '重新比对时间', field: 'comparisonTime', sort: 'custom', isTable:false, formatter: dateFormatter, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, form: { component: 'DatePicker', componentProps: { @@ -88,6 +102,9 @@ export const CustomerStatementMain = useCrudSchemas(reactive([ sort: 'custom', isTable:false, formatter: dateFormatter, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, form: { component: 'DatePicker', componentProps: { @@ -102,6 +119,9 @@ export const CustomerStatementMain = useCrudSchemas(reactive([ sort: 'custom', isTable:false, formatter: dateFormatter, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, form: { component: 'DatePicker', componentProps: { @@ -116,6 +136,9 @@ export const CustomerStatementMain = useCrudSchemas(reactive([ sort: 'custom', isTable:false, formatter: dateFormatter, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, form: { component: 'DatePicker', componentProps: { @@ -130,6 +153,9 @@ export const CustomerStatementMain = useCrudSchemas(reactive([ sort: 'custom', isTable:false, formatter: dateFormatter, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, form: { component: 'DatePicker', componentProps: { @@ -144,6 +170,9 @@ export const CustomerStatementMain = useCrudSchemas(reactive([ sort: 'custom', isTable:false, formatter: dateFormatter, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, form: { component: 'DatePicker', componentProps: { @@ -157,6 +186,9 @@ export const CustomerStatementMain = useCrudSchemas(reactive([ field: 'abrogateTime', sort: 'custom', isTable:false, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, formatter: dateFormatter, form: { component: 'DatePicker', @@ -192,6 +224,9 @@ export const CustomerStatementMain = useCrudSchemas(reactive([ sort: 'custom', formatter: dateFormatter, isSearch: true, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, search: { component: 'DatePicker', componentProps: { @@ -214,6 +249,7 @@ export const CustomerStatementMain = useCrudSchemas(reactive([ // }, { label: '操作', + isDetail:false, field: 'action', isForm: false, table: {