|
@ -53,8 +53,14 @@ export const deleteSupplierinvoiceRecordMain = async (id: number) => { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// 导出供应商发票记录主 Excel
|
|
|
// 导出供应商发票记录主 Excel
|
|
|
export const exportSupplierinvoiceRecordMain = async (data) => { |
|
|
export const exportSupplierinvoiceRecordMain = async (params) => { |
|
|
return await request.downloadPost({ url: `/wms/supplierinvoice-record-main/export-excel`, data }) |
|
|
console.log(params) |
|
|
|
|
|
if (params.isSearch) { |
|
|
|
|
|
const data = { ...params } |
|
|
|
|
|
return await request.downloadPost({ url: `/wms/supplierinvoice-record-main/export-excel-senior`, data }) |
|
|
|
|
|
} else { |
|
|
|
|
|
return await request.download({ url: `/wms/supplierinvoice-record-main/export-excel`, params }) |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// 下载用户导入模板
|
|
|
// 下载用户导入模板
|
|
|