|
|
@ -65,7 +65,12 @@ export const deletePurchasereturnRequestMain = async (id: number) => { |
|
|
|
|
|
|
|
// 导出采购退货申请主 Excel
|
|
|
|
export const exportPurchasereturnRequestMain = async (params) => { |
|
|
|
return await request.download({ url: `/wms/purchasereturn-request-main/export-excel`, params }) |
|
|
|
if (params.isSearch) { |
|
|
|
const data = {...params} |
|
|
|
return await request.downloadPost({ url: `/wms/purchasereturn-request-main/export-excel-senior`, data }) |
|
|
|
} else { |
|
|
|
return await request.download({url: `/wms/purchasereturn-request-main/export-excel`, params}) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 下载用户导入模板
|
|
|
|