|
@ -62,7 +62,7 @@ export const exportInventorymoveRequestMain = async (params) => { |
|
|
if (params.isSearch) { |
|
|
if (params.isSearch) { |
|
|
delete params.isSearch |
|
|
delete params.isSearch |
|
|
const data = {...params} |
|
|
const data = {...params} |
|
|
return await request.post({ url: '/wms/inventorymove-request-main/export-excel-senior', data }) |
|
|
return await request.downloadPost({ url: '/wms/inventorymove-request-main/export-excel-senior', data }) |
|
|
} else { |
|
|
} else { |
|
|
return await request.download({ url: `/wms/inventorymove-request-main/export-excel`, params }) |
|
|
return await request.download({ url: `/wms/inventorymove-request-main/export-excel`, params }) |
|
|
} |
|
|
} |
|
@ -74,7 +74,7 @@ export const exportOkToHoldRequestMain = async (params) => { |
|
|
if (params.isSearch) { |
|
|
if (params.isSearch) { |
|
|
delete params.isSearch |
|
|
delete params.isSearch |
|
|
const data = {...params} |
|
|
const data = {...params} |
|
|
return await request.post({ url: '/wms/inventorymove-request-main/export-excel-senior', data }) |
|
|
return await request.downloadPost({ url: '/wms/inventorymove-request-main/export-excel-senior', data }) |
|
|
} else { |
|
|
} else { |
|
|
return await request.download({ url: `/wms/inventorymove-request-main/export-excel`, params }) |
|
|
return await request.download({ url: `/wms/inventorymove-request-main/export-excel`, params }) |
|
|
} |
|
|
} |
|
@ -86,7 +86,7 @@ export const exportHoldToOkRequestMain = async (params) => { |
|
|
if (params.isSearch) { |
|
|
if (params.isSearch) { |
|
|
delete params.isSearch |
|
|
delete params.isSearch |
|
|
const data = {...params} |
|
|
const data = {...params} |
|
|
return await request.post({ url: '/wms/inventorymove-request-main/export-excel-senior', data }) |
|
|
return await request.downloadPost({ url: '/wms/inventorymove-request-main/export-excel-senior', data }) |
|
|
} else { |
|
|
} else { |
|
|
return await request.download({ url: `/wms/inventorymove-request-main/export-excel`, params }) |
|
|
return await request.download({ url: `/wms/inventorymove-request-main/export-excel`, params }) |
|
|
} |
|
|
} |
|
@ -98,7 +98,7 @@ export const exportHoldToScrapRequestMain = async (params) => { |
|
|
if (params.isSearch) { |
|
|
if (params.isSearch) { |
|
|
delete params.isSearch |
|
|
delete params.isSearch |
|
|
const data = {...params} |
|
|
const data = {...params} |
|
|
return await request.post({ url: '/wms/inventorymove-request-main/export-excel-senior', data }) |
|
|
return await request.downloadPost({ url: '/wms/inventorymove-request-main/export-excel-senior', data }) |
|
|
} else { |
|
|
} else { |
|
|
return await request.download({ url: `/wms/inventorymove-request-main/export-excel`, params }) |
|
|
return await request.download({ url: `/wms/inventorymove-request-main/export-excel`, params }) |
|
|
} |
|
|
} |
|
@ -110,7 +110,7 @@ export const exportOkToScrapRequestMain = async (params) => { |
|
|
if (params.isSearch) { |
|
|
if (params.isSearch) { |
|
|
delete params.isSearch |
|
|
delete params.isSearch |
|
|
const data = {...params} |
|
|
const data = {...params} |
|
|
return await request.post({ url: '/wms/inventorymove-request-main/export-excel-senior', data }) |
|
|
return await request.downloadPost({ url: '/wms/inventorymove-request-main/export-excel-senior', data }) |
|
|
} else { |
|
|
} else { |
|
|
return await request.download({ url: `/wms/inventorymove-request-main/export-excel`, params }) |
|
|
return await request.download({ url: `/wms/inventorymove-request-main/export-excel`, params }) |
|
|
} |
|
|
} |
|
@ -122,7 +122,7 @@ export const exportScrapToHoldRequestMain = async (params) => { |
|
|
if (params.isSearch) { |
|
|
if (params.isSearch) { |
|
|
delete params.isSearch |
|
|
delete params.isSearch |
|
|
const data = {...params} |
|
|
const data = {...params} |
|
|
return await request.post({ url: '/wms/inventorymove-request-main/export-excel-senior', data }) |
|
|
return await request.downloadPost({ url: '/wms/inventorymove-request-main/export-excel-senior', data }) |
|
|
} else { |
|
|
} else { |
|
|
return await request.download({ url: `/wms/inventorymove-request-main/export-excel`, params }) |
|
|
return await request.download({ url: `/wms/inventorymove-request-main/export-excel`, params }) |
|
|
} |
|
|
} |
|
|