Browse Source

HL-5424 生产条码清单 时间问题

hella_online_20240821
TengXF 3 months ago
parent
commit
3bb976e040
  1. 17
      src/views/wms/buttMesManage/mesBarCode/mesBarCode.data.ts

17
src/views/wms/buttMesManage/mesBarCode/mesBarCode.data.ts

@ -106,7 +106,7 @@ export const MesBarCode = useCrudSchemas(reactive<CrudSchema[]>([
}
}
}
},
{
label: '灯码标签字符总长度',
@ -222,6 +222,7 @@ export const MesBarCode = useCrudSchemas(reactive<CrudSchema[]>([
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
isSearch: true,
form: {
component: 'DatePicker',
componentProps: {
@ -230,7 +231,15 @@ export const MesBarCode = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
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')]
},
},
},
{
label: '创建者',
@ -247,7 +256,7 @@ export const MesBarCode = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
isTable: true,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -270,7 +279,7 @@ export const MesBarCode = useCrudSchemas(reactive<CrudSchema[]>([
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
isTable: true,
table: {
width: 150
}

Loading…
Cancel
Save