|
|
@ -46,16 +46,10 @@ export const getPurchaseDetailPage = async (params) => { |
|
|
|
// 查询采购订单子列表
|
|
|
|
export const getPurchaseDetailPagePoNumber = async (params) => { |
|
|
|
if (params.isSearch) { |
|
|
|
if(params.number == ''){ |
|
|
|
return; |
|
|
|
} |
|
|
|
delete params.isSearch |
|
|
|
const data = {...params} |
|
|
|
return await request.post({ url: '/wms/purchase-detail/senior', data }) |
|
|
|
} else { |
|
|
|
if(params.number == ''){ |
|
|
|
return; |
|
|
|
} |
|
|
|
return await request.get({ url: `/wms/purchase-detail/page`, params }) |
|
|
|
} |
|
|
|
} |
|
|
|