Browse Source

筛选失效问题修复

master_hella_20240701
zhaoxuebing 4 months ago
parent
commit
85603b7e23
  1. 6
      src/api/wms/demandforecastingDetail/index.ts

6
src/api/wms/demandforecastingDetail/index.ts

@ -17,8 +17,14 @@ export interface DemandforecastingDetailVO {
// 查询要货预测子列表 // 查询要货预测子列表
export const getDemandforecastingDetailPage = async (params) => { export const getDemandforecastingDetailPage = async (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 }) return await request.get({ url: `/wms/demandforecasting-detail/page`, params })
} }
}
// 查询要货预测子详情 // 查询要货预测子详情
export const getDemandforecastingDetail = async (id: number) => { export const getDemandforecastingDetail = async (id: number) => {

Loading…
Cancel
Save