|
@ -35,11 +35,12 @@ const getPageParams = (params)=>{ |
|
|
params.endDate = params.dueDate[1].format('YYYY-MM-DD') |
|
|
params.endDate = params.dueDate[1].format('YYYY-MM-DD') |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
console.log(params.dueDate) |
|
|
if (!params.dueDate || params.dueDate.length == 0) { |
|
|
if (!params.dueDate || params.dueDate.length == 0) { |
|
|
params.startDate = '' |
|
|
params.startDate = '' |
|
|
params.endDate = '' |
|
|
params.endDate = '' |
|
|
} |
|
|
} |
|
|
params.dueDate = '' |
|
|
// params.dueDate = ''
|
|
|
|
|
|
|
|
|
//计划员
|
|
|
//计划员
|
|
|
if(params.planerId&¶ms.planerId.length>0){ |
|
|
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 }) |
|
|
return await request.post({ url: '/wms/demandforecasting-detail/senior', data }) |
|
|
} else { |
|
|
} else { |
|
|
params = getPageParams(params) |
|
|
params = getPageParams(params) |
|
|
console.log('params',params) |
|
|
|
|
|
return await request.get({ url: `/wms/demandforecasting-detail/page`, params }) |
|
|
return await request.get({ url: `/wms/demandforecasting-detail/page`, params }) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|