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