|
@ -47,8 +47,13 @@ export const deletePurchaseBarterRequestMain = async (id: number) => { |
|
|
|
|
|
|
|
|
// 导出采购换货申请主 Excel
|
|
|
// 导出采购换货申请主 Excel
|
|
|
export const exportPurchaseBarterRequestMain = async (params) => { |
|
|
export const exportPurchaseBarterRequestMain = async (params) => { |
|
|
|
|
|
if (params.isSearch) { |
|
|
|
|
|
const data = {...params} |
|
|
|
|
|
return await request.downloadPost({url: `/wms/purchase-barter-request-main/export-excel-senior`, data}) |
|
|
|
|
|
} else { |
|
|
return await request.download({ url: `/wms/purchase-barter-request-main/export-excel`, params }) |
|
|
return await request.download({ url: `/wms/purchase-barter-request-main/export-excel`, params }) |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// 下载用户导入模板
|
|
|
// 下载用户导入模板
|
|
|
export const importTemplate = () => { |
|
|
export const importTemplate = () => { |
|
|