Browse Source

HL-5424:创建人创建时间调整

hella_online_20240828
tengxiaofei 3 months ago
parent
commit
0dc75053c9
  1. 30
      src/views/wms/inventoryjobManage/containermanage/containerMainRequest/containerMainRequest.data.ts
  2. 24
      src/views/wms/inventoryjobManage/containermanage/initialContainerMainRequest/initialContainerMainRequest.data.ts

30
src/views/wms/inventoryjobManage/containermanage/containerMainRequest/containerMainRequest.data.ts

@ -224,7 +224,7 @@ export const ContainerMainRequest = useCrudSchemas(reactive<CrudSchema[]>([
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
}
},
isTable: true,
isTable: false,
isForm: false,
},
{
@ -234,7 +234,7 @@ export const ContainerMainRequest = useCrudSchemas(reactive<CrudSchema[]>([
width: 130
},
isForm: false,
isTable: true
isTable: false
},
{
label: '最后更新时间',
@ -511,6 +511,9 @@ export const ContainerDetailRequest = useCrudSchemas(reactive<CrudSchema[]>([
field: 'createTime',
sort: 'custom',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
search: {
component: 'DatePicker',
componentProps: {
@ -519,10 +522,31 @@ export const ContainerDetailRequest = useCrudSchemas(reactive<CrudSchema[]>([
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
}
},
isTable: false,
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
table: {
width: 150
},
isTable: true,
isForm: false,
isTableForm: false
},
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false,
isTable: true
},
{
label: '地点ID',
field: 'siteId',

24
src/views/wms/inventoryjobManage/containermanage/initialContainerMainRequest/initialContainerMainRequest.data.ts

@ -228,7 +228,7 @@ export const ContainerMainRequest = useCrudSchemas(reactive<CrudSchema[]>([
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
}
},
isTable: true,
isTable: false,
table: {
width: 180
},
@ -241,7 +241,7 @@ export const ContainerMainRequest = useCrudSchemas(reactive<CrudSchema[]>([
width: 130
},
isForm: false,
isTable: true
isTable: false
},
{
label: '最后更新时间',
@ -489,13 +489,31 @@ export const ContainerDetailRequest = useCrudSchemas(reactive<CrudSchema[]>([
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
}
},
isTable: false,
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isTable: true,
table: {
width: 180
},
isForm: false,
isTableForm: false
},
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false,
isTable: true
},
{
label: '地点ID',
field: 'siteId',

Loading…
Cancel
Save