diff --git a/src/api/wms/demandforecastingDetail/index.ts b/src/api/wms/demandforecastingDetail/index.ts index bfed743f0..f45e61a27 100644 --- a/src/api/wms/demandforecastingDetail/index.ts +++ b/src/api/wms/demandforecastingDetail/index.ts @@ -17,7 +17,13 @@ export interface DemandforecastingDetailVO { // 查询要货预测子列表 export const getDemandforecastingDetailPage = async (params) => { - return await request.get({ url: `/wms/demandforecasting-detail/page`, params }) + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/wms/demandforecasting-detail/senior', data }) + } else { + return await request.get({ url: `/wms/demandforecasting-detail/page`, params }) + } } // 查询要货预测子详情