Browse Source

高级筛选增加计划日期查询字段

hella_online_20240829
TengXF 3 months ago
parent
commit
ba41700109
  1. 31
      src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts
  2. 31
      src/views/wms/productionManage/productionplan/productionMainAssemble/productionMainAssemble.data.ts

31
src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts

@ -711,6 +711,37 @@ export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([
}]
},
},
{
label: '计划日期',
field: 'planDate',
formatter: dateFormatter2,
detail: {
dateFormat: 'YYYY-MM-DD'
},
sort: 'custom',
table: {
width: 120
},
search: {
component: 'DatePicker',
componentProps: {
valueFormat: 'YYYY-MM-DD',
type: 'daterange',
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
}
},
isSearch: true,
sortTableDefault:1000,
form: {
component: 'DatePicker',
componentProps: {
style: {width: '100%'},
type: 'date',
dateFormat: 'YYYY-MM-DD',
valueFormat: 'x',
}
},
},
{
label: '计划数量',
field: 'planQty',

31
src/views/wms/productionManage/productionplan/productionMainAssemble/productionMainAssemble.data.ts

@ -710,6 +710,37 @@ export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([
}]
},
},
{
label: '计划日期',
field: 'planDate',
formatter: dateFormatter2,
detail: {
dateFormat: 'YYYY-MM-DD'
},
sort: 'custom',
table: {
width: 120
},
search: {
component: 'DatePicker',
componentProps: {
valueFormat: 'YYYY-MM-DD',
type: 'daterange',
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
}
},
isSearch: true,
sortTableDefault:1000,
form: {
component: 'DatePicker',
componentProps: {
style: {width: '100%'},
type: 'date',
dateFormat: 'YYYY-MM-DD',
valueFormat: 'x',
}
},
},
{
label: '计划数量',
field: 'planQty',

Loading…
Cancel
Save