Browse Source

YT-170:客户对账单字段展示

syhx
songguoqiang 2 months ago
parent
commit
1c4329d8e0
  1. 40
      src/views/wms/deliversettlementManage/customerStatement/customerStatement/customerStatementMain.data.ts

40
src/views/wms/deliversettlementManage/customerStatement/customerStatement/customerStatementMain.data.ts

@ -12,6 +12,7 @@ export const CustomerStatementMain = useCrudSchemas(reactive<CrudSchema[]>([
{
label: 'id',
field: 'id',
isDetail:false,
sort: 'custom',
isTable: false,
isForm: false,
@ -48,11 +49,21 @@ export const CustomerStatementMain = useCrudSchemas(reactive<CrudSchema[]>([
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<CrudSchema[]>([
},
},
{
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<CrudSchema[]>([
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<CrudSchema[]>([
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<CrudSchema[]>([
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<CrudSchema[]>([
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<CrudSchema[]>([
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<CrudSchema[]>([
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<CrudSchema[]>([
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<CrudSchema[]>([
// },
{
label: '操作',
isDetail:false,
field: 'action',
isForm: false,
table: {

Loading…
Cancel
Save