|
|
@ -58,7 +58,7 @@ export const exportCountRequestMain = async (params) => { |
|
|
|
if (params.isSearch) { |
|
|
|
delete params.isSearch |
|
|
|
const data = {...params} |
|
|
|
return request.post({ url: '/wms/count-request-main/export-excel-senior', data }) |
|
|
|
return request.downloadPost({ url: '/wms/count-request-main/export-excel-senior', data }) |
|
|
|
} else { |
|
|
|
return await request.download({ url: `/wms/count-request-main/export-excel`, params }) |
|
|
|
} |
|
|
@ -115,4 +115,4 @@ export const generateCountadjustRequest = async (id) => { |
|
|
|
//解冻
|
|
|
|
export const thaw = async (id) => { |
|
|
|
return await request.put({ url: `/wms/count-request-main/thaw?id=` + id }) |
|
|
|
} |
|
|
|
} |
|
|
|