diff --git a/src/api/wms/preparetoissueDetail/index.ts b/src/api/wms/preparetoissueDetail/index.ts index 44655ff0f..c9b0fddc5 100644 --- a/src/api/wms/preparetoissueDetail/index.ts +++ b/src/api/wms/preparetoissueDetail/index.ts @@ -18,7 +18,14 @@ export interface PreparetoissueDetailVO { // 查询备料计划子列表 export const getPreparetoissueDetailPage = async (params) => { - return await request.get({ url: `/wms/preparetoissue-detail/page`, params }) + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/wms/preparetoissue-detail/senior', data }) + } else { + return await request.get({ url: `/wms/preparetoissue-detail/page`, params }) + } + } // 查询备料计划子详情