Browse Source

HL-5424 包装规格创建时间问题

hella_online_20240821
TengXF 3 months ago
parent
commit
5e05a2012d
  1. 27
      src/views/wms/basicDataManage/itemManage/packageunit/packageunit.data.ts

27
src/views/wms/basicDataManage/itemManage/packageunit/packageunit.data.ts

@ -525,11 +525,34 @@ export const Packageunit = useCrudSchemas(reactive<CrudSchema[]>([
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',
sort: 'custom', sort: 'custom',
isDetail: true,
isSearch: true,
isForm: false,
isTable: true,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: { table: {
width: 180 width: 180
}, },
formatter: dateFormatter, form: {
isForm: false, component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
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: '创建者', label: '创建者',

Loading…
Cancel
Save