From 03f5d97e29d0a064c27431cfe2ee714a654f272e Mon Sep 17 00:00:00 2001 From: TengXF <302828528@qq.com> Date: Thu, 4 Jul 2024 15:45:59 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E7=94=9F=E4=BA=A7=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E5=92=8C=E8=A3=85=E9=85=8D=E8=AE=A1=E5=88=92=E6=8C=89=E8=AE=A1?= =?UTF-8?q?=E5=88=92=E6=97=A5=E6=9C=9F=E7=AD=9B=E9=80=89=E7=9A=84=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../productionMain/productionMain.data.ts | 11 ++++++++++- .../productionMainAssemble.data.ts | 9 +++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts b/src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts index 81fbd9a61..d5dfe2dc2 100644 --- a/src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts +++ b/src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts @@ -118,7 +118,7 @@ export const ProductionMain = useCrudSchemas(reactive([ } } }, - + { label: '生产线', field: 'productionLine', @@ -228,6 +228,15 @@ export const ProductionMain = useCrudSchemas(reactive([ 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', diff --git a/src/views/wms/productionManage/productionplan/productionMainAssemble/productionMainAssemble.data.ts b/src/views/wms/productionManage/productionplan/productionMainAssemble/productionMainAssemble.data.ts index 345ed64c1..a210540f2 100644 --- a/src/views/wms/productionManage/productionplan/productionMainAssemble/productionMainAssemble.data.ts +++ b/src/views/wms/productionManage/productionplan/productionMainAssemble/productionMainAssemble.data.ts @@ -227,6 +227,15 @@ export const ProductionMain = useCrudSchemas(reactive([ 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',