Browse Source

HL-5424 增加时间筛选

hella_online_20240821
TengXF 3 months ago
parent
commit
eeb1470b2f
  1. 11
      src/views/wms/basicDataManage/documentSetting/recordsetting/recordsetting.data.ts

11
src/views/wms/basicDataManage/documentSetting/recordsetting/recordsetting.data.ts

@ -109,7 +109,16 @@ export const Recordsetting = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss', dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x', valueFormat: 'x',
} }
} },
isSearch: true,
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