diff --git a/src/api/wms/demandforecastingDetail/index.ts b/src/api/wms/demandforecastingDetail/index.ts index f07440a8c..e2e61f681 100644 --- a/src/api/wms/demandforecastingDetail/index.ts +++ b/src/api/wms/demandforecastingDetail/index.ts @@ -61,5 +61,12 @@ export const exportDemandforecastingDetail = async (params) => { // 查询要货预测主列表 export const getPageTableHead = async (params) => { + if(params.dueDate&¶ms.dueDate.length>0){ + params.startDate = params.dueDate[0] + } + if(params.dueDate&¶ms.dueDate.length>1){ + params.endDate = params.dueDate[1] + } + params.dueDate = '' return await request.get({ url: `/wms/demandforecasting-detail/queryPageTableHead`, params }) }