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 ')] - // } - // }, } ]))