|
@ -67,8 +67,13 @@ export const deletePurchasereturnRecordMain = async (id: number) => { |
|
|
|
|
|
|
|
|
// 导出采购退货记录主 Excel
|
|
|
// 导出采购退货记录主 Excel
|
|
|
export const exportPurchasereturnRecordMain = async (params) => { |
|
|
export const exportPurchasereturnRecordMain = async (params) => { |
|
|
|
|
|
if (params.isSearch) { |
|
|
|
|
|
const data = {...params} |
|
|
|
|
|
return await request.downloadPost({ url: `/wms/purchasereturn-record-main/export-excel-senior`, data }) |
|
|
|
|
|
} else { |
|
|
return await request.download({url: `/wms/purchasereturn-record-main/export-excel`, params}) |
|
|
return await request.download({url: `/wms/purchasereturn-record-main/export-excel`, params}) |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// 下载用户导入模板
|
|
|
// 下载用户导入模板
|
|
|
export const importTemplate = () => { |
|
|
export const importTemplate = () => { |
|
|