|
|
@ -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 }) |
|
|
|
} |
|
|
|
} |
|
|
|