|
|
@ -58,10 +58,15 @@ export const deleteSupplierApbalanceMain = async (id: number) => { |
|
|
|
|
|
|
|
// 导出供应商余额明细主 Excel
|
|
|
|
export const exportSupplierApbalanceMain = async (params) => { |
|
|
|
return await request.download({ url: `/wms/supplier-apbalance-main/export-excel`, params }) |
|
|
|
if (params.isSearch) { |
|
|
|
const data = {...params} |
|
|
|
return await request.downloadPost({ url: `/wms/supplier-apbalance-main/export-excel-senior`, data }) |
|
|
|
} else { |
|
|
|
return await request.download({ url: `/wms/supplier-apbalance-main/export-excel`, params }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 下载用户导入模板
|
|
|
|
export const importTemplate = () => { |
|
|
|
return request.download({ url: '/wms/supplier-apbalance-main/get-import-template' }) |
|
|
|
} |
|
|
|
} |
|
|
|