Browse Source

SCP ——> bug 供应商询证函导出问题

hella_online_20240829
gaojs 4 months ago
parent
commit
4bd1416168
  1. 9
      src/api/wms/supplierApbalanceMain/index.ts

9
src/api/wms/supplierApbalanceMain/index.ts

@ -58,10 +58,15 @@ export const deleteSupplierApbalanceMain = async (id: number) => {
// 导出供应商余额明细主 Excel // 导出供应商余额明细主 Excel
export const exportSupplierApbalanceMain = async (params) => { 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 = () => { export const importTemplate = () => {
return request.download({ url: '/wms/supplier-apbalance-main/get-import-template' }) return request.download({ url: '/wms/supplier-apbalance-main/get-import-template' })
} }

Loading…
Cancel
Save