|
|
@ -52,8 +52,14 @@ export const deleteInventorychangeRequestMain = async (id: number) => { |
|
|
|
|
|
|
|
// 导出库存修改申请主 Excel
|
|
|
|
export const exportInventorychangeRequestMain = async (params) => { |
|
|
|
if (params.isSearch) { |
|
|
|
delete params.isSearch |
|
|
|
const data = {...params} |
|
|
|
return await request.post({ url: '/wms/inventorychange-request-main/export-excel-senior', data }) |
|
|
|
} else { |
|
|
|
return await request.download({ url: `/wms/inventorychange-request-main/export-excel`, params }) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 下载用户导入模板
|
|
|
|
export const importTemplate = () => { |
|
|
|