Browse Source

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

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

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

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

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

Loading…
Cancel
Save