|
|
@ -54,8 +54,14 @@ export const deleteCountadjustRequestMain = async (id: number) => { |
|
|
|
|
|
|
|
// 导出盘点调整申请主 Excel
|
|
|
|
export const exportCountadjustRequestMain = async (params) => { |
|
|
|
if (params.isSearch) { |
|
|
|
delete params.isSearch |
|
|
|
const data = {...params} |
|
|
|
return request.post({ url: '/wms/countadjust-request-main/export-excel-senior', data }) |
|
|
|
} else { |
|
|
|
return await request.download({ url: `/wms/countadjust-request-main/export-excel`, params }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 下载用户导入模板
|
|
|
|
export const importTemplate = () => { |
|
|
|