From 7aa049c0c5005e326d1dfe55e8da695d74072406 Mon Sep 17 00:00:00 2001
From: zhang_li
Date: Tue, 27 May 2025 09:46:31 +0800
Subject: [PATCH] =?UTF-8?q?YT-2645=20=E8=A6=81=E8=B4=A7=E9=A2=84=E6=B5=8B?=
=?UTF-8?q?=E7=89=88=E6=9C=AC=E5=8F=B7=E5=8F=98=E6=9B=B4=20=20=E5=86=85?=
=?UTF-8?q?=E7=A4=BA=E6=9C=88=E4=BB=BD=E5=88=9D=E5=A7=8B=E5=8C=96=E6=98=BE?=
=?UTF-8?q?=E7=A4=BA=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../demandforecastingMain.data.ts | 13 ++-----------
.../demandforecastingMain.data.ts | 13 ++-----------
2 files changed, 4 insertions(+), 22 deletions(-)
diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts
index caeb563ea..0ceee171b 100644
--- a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts
+++ b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts
@@ -300,21 +300,12 @@ hiddenSearchHigh:true,
isForm: false,
search: {
component: 'DatePicker',
+ value: dayjs().format('YYYY-MM'),
componentProps: {
- clearable:false,
- type: 'month',
valueFormat: 'YYYY-MM',
+ type: 'month',
}
},
- // search: {
- // component: 'DatePicker',
- // value: [dayjs(), dayjs().subtract(-3,'month')],
- // componentProps: {
- // valueFormat: 'YYYY-MM-DD',
- // type: 'daterange',
- // defaultTime: [new Date('1 '), new Date('1 ')]
- // }
- // },
},
{
label: '操作',
diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingSupplierMain/demandforecastingMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingSupplierMain/demandforecastingMain.data.ts
index dc3697ef7..b2377c6af 100644
--- a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingSupplierMain/demandforecastingMain.data.ts
+++ b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingSupplierMain/demandforecastingMain.data.ts
@@ -206,21 +206,12 @@ hiddenSearchHigh:true,
isForm: false,
search: {
component: 'DatePicker',
+ value: dayjs().format('YYYY-MM'),
componentProps: {
- clearable:false,
- type: 'month',
valueFormat: 'YYYY-MM',
+ type: 'month',
}
},
- // search: {
- // value: [dayjs(), dayjs().subtract(-3,'month')],
- // component: 'DatePicker',
- // componentProps: {
- // valueFormat: 'YYYY-MM-DD',
- // type: 'daterange',
- // defaultTime: [new Date('1 '), new Date('1 ')]
- // }
- // },
}
]))