From 08c2f6cb6b271c3640e7b73751c33b0c13a247ca Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Thu, 5 Sep 2024 11:38:02 +0800 Subject: [PATCH] =?UTF-8?q?HL-5830SCP-=E8=A6=81=E8=B4=A7=E9=A2=84=E6=B5=8B?= =?UTF-8?q?-=E8=AE=A1=E5=88=92=E5=91=98=EF=BC=8C=E5=8F=AA=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=E6=9C=80=E6=96=B0=E7=89=88=E6=9C=AC=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E4=BC=A0=E5=8F=82=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/demandforecastingDetail/index.ts | 4 ++-- src/api/wms/demandforecastingMain/index.ts | 2 +- .../demandforecastingMain/demandforecastingMain.data.ts | 2 +- .../supplierdeliver/demandforecastingMain/index.vue | 1 - 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/api/wms/demandforecastingDetail/index.ts b/src/api/wms/demandforecastingDetail/index.ts index a2de6e22b..753c999d9 100644 --- a/src/api/wms/demandforecastingDetail/index.ts +++ b/src/api/wms/demandforecastingDetail/index.ts @@ -35,11 +35,12 @@ const getPageParams = (params)=>{ params.endDate = params.dueDate[1].format('YYYY-MM-DD') } } + console.log(params.dueDate) if (!params.dueDate || params.dueDate.length == 0) { params.startDate = '' params.endDate = '' } - params.dueDate = '' + // params.dueDate = '' //计划员 if(params.planerId&¶ms.planerId.length>0){ @@ -83,7 +84,6 @@ export const getDemandforecastingDetailPage = async (params) => { return await request.post({ url: '/wms/demandforecasting-detail/senior', data }) } else { params = getPageParams(params) - console.log('params',params) return await request.get({ url: `/wms/demandforecasting-detail/page`, params }) } } diff --git a/src/api/wms/demandforecastingMain/index.ts b/src/api/wms/demandforecastingMain/index.ts index 95049aa46..cbb7bfb59 100644 --- a/src/api/wms/demandforecastingMain/index.ts +++ b/src/api/wms/demandforecastingMain/index.ts @@ -89,7 +89,7 @@ const getPageParams = (params)=>{ params.startDate = '' params.endDate = '' } - params.dueDate = '' + // params.dueDate = '' //计划员 if(params.planerId&¶ms.planerId.length>0){ diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts index ea3762b98..ee80b26df 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts @@ -265,7 +265,7 @@ export const DemandforecastingMain = useCrudSchemas(reactive([ isForm: false, search: { component: 'DatePicker', - // value: [dayjs(), dayjs().subtract(-3,'month')], + value: [dayjs(), dayjs().subtract(-3,'month')], componentProps: { valueFormat: 'YYYY-MM-DD', type: 'daterange', diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/index.vue index 0d02568a3..9db63afdf 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/index.vue @@ -171,7 +171,6 @@ const onSearchChange = (field, value)=>{ } } const searchClick = async (data)=>{ - console.log('3444',tableObject.params) await setSearchParamsHead(data) // updateDateTableColumns() setSearchParams(data)