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