Browse Source

YT-1283所有发运结算模块页面,增加最后更新者,最后更新时间公共属性,再使用编辑功能时,系统更新时间

intex
zhang_li 6 days ago
parent
commit
0ccc069fd8
  1. 54
      src/views/wms/deliversettlementManage/moldAllocation/customerStatementShareRecord/customerStatementShareRecordMain.data.ts
  2. 54
      src/views/wms/deliversettlementManage/moldAllocation/customerToolApportStatementForecastMain/customerToolApportStatementForecastMain.data.ts

54
src/views/wms/deliversettlementManage/moldAllocation/customerStatementShareRecord/customerStatementShareRecordMain.data.ts

@ -98,14 +98,6 @@ export const CustomerStatementShareRecordMain = useCrudSchemas(reactive<CrudSche
} }
}, },
}, },
{
label: '创建者',
field: 'creator',
sort: 'custom',
isDetail:true,
isForm: false,
isTable:true
},
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',
@ -128,35 +120,47 @@ export const CustomerStatementShareRecordMain = useCrudSchemas(reactive<CrudSche
width:180 width:180
} }
}, },
{ {
label: '更新者', label: '创建者',
field: 'updater', field: 'creator',
sort: 'custom', sort: 'custom',
isDetail:true, isDetail: true,
isForm: false, isForm: false,
isTable:false isTable: true
}, },
{ {
label: '更新时间', label: '最后更新时间',
field: 'updateTime', field: 'updateTime',
sort: 'custom',
formatter: dateFormatter, formatter: dateFormatter,
search: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
isTable: false,
form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
valueFormat: 'YYYY-MM-DD HH:mm:ss', style: { width: '100%' },
type: 'daterange', type: 'datetime',
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x'
} }
}, },
detail: { isForm: false
dateFormat : 'YYYY-MM-DD HH:mm:ss' },
{
label: '最后更新者',
field: 'updater',
sort: 'custom',
table: {
width: 150
}, },
isTable:false, isTable: false,
isForm: false, isForm: false
table:{
width:180
}
}, },
])) ]))

54
src/views/wms/deliversettlementManage/moldAllocation/customerToolApportStatementForecastMain/customerToolApportStatementForecastMain.data.ts

@ -97,14 +97,7 @@ export const CustomerToolApportStatementForecastMain = useCrudSchemas(reactive<C
// sort: 'custom', // sort: 'custom',
// isTable:false // isTable:false
// }, // },
{
label: '创建者',
field: 'creator',
sort: 'custom',
isDetail:true,
isForm: false,
isTable:true
},
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',
@ -128,34 +121,45 @@ export const CustomerToolApportStatementForecastMain = useCrudSchemas(reactive<C
} }
}, },
{ {
label: '更新者', label: '创建者',
field: 'updater', field: 'creator',
sort: 'custom', sort: 'custom',
isDetail:true, isDetail: true,
isForm: false, isForm: false,
isTable:false isTable: true
}, },
{ {
label: '更新时间', label: '最后更新时间',
field: 'updateTime', field: 'updateTime',
sort: 'custom',
formatter: dateFormatter, formatter: dateFormatter,
search: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
isTable: false,
form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
valueFormat: 'YYYY-MM-DD HH:mm:ss', style: { width: '100%' },
type: 'daterange', type: 'datetime',
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x'
} }
}, },
detail: { isForm: false
dateFormat : 'YYYY-MM-DD HH:mm:ss' },
{
label: '最后更新者',
field: 'updater',
sort: 'custom',
table: {
width: 150
}, },
isTable:false, isTable: false,
isForm: false, isForm: false
table:{
width:180
}
}, },
{ {
label: '操作', label: '操作',

Loading…
Cancel
Save