Browse Source

单体出厂检验时间格式

master
wangyufei 1 month ago
parent
commit
39faefcfd6
  1. 23
      src/views/battery/monomer/monomer.data.ts

23
src/views/battery/monomer/monomer.data.ts

@ -45,12 +45,26 @@ export const Monomer = useCrudSchemas(reactive<CrudSchema[]>([
field: 'date',
sort: 'custom',
isSearch: false,
form: {
component: 'DatePicker',
componentProps: {
valueFormat: 'YYYY-MM-DD HH:mm:ss',
type: 'datetime',
}
},
},
{
label: '数据报送时间',
field: 'timeStamp',
sort: 'custom',
isSearch: false,
form: {
component: 'DatePicker',
componentProps: {
valueFormat: 'YYYY-MM-DD HH:mm:ss',
type: 'datetime',
}
},
},
{
label: '工作控制号',
@ -63,6 +77,13 @@ export const Monomer = useCrudSchemas(reactive<CrudSchema[]>([
field: 'endTime',
sort: 'custom',
isSearch: false,
form: {
component: 'DatePicker',
componentProps: {
valueFormat: 'YYYY-MM-DD HH:mm:ss',
type: 'datetime',
}
},
},
{
label: '实际生产周期',
@ -518,7 +539,7 @@ export const Monomer = useCrudSchemas(reactive<CrudSchema[]>([
component: 'DatePicker',
componentProps: {
valueFormat: 'YYYY-MM-DD HH:mm:ss',
type: 'daterange',
type: 'datetimerange',
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
}
},

Loading…
Cancel
Save