Browse Source

预生产计划和装配计划按计划日期筛选的功能

hella_online_20240829
TengXF 4 months ago
parent
commit
03f5d97e29
  1. 11
      src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts
  2. 9
      src/views/wms/productionManage/productionplan/productionMainAssemble/productionMainAssemble.data.ts

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

@ -118,7 +118,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
}
}
},
{
label: '生产线',
field: 'productionLine',
@ -228,6 +228,15 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
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',

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

@ -227,6 +227,15 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
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',

Loading…
Cancel
Save