Commit 4cc8a6db by linjinhong

feat:【工厂端】POD(US),POD(CN)播种墙配货效率优化#1001700

parent f84c5115
...@@ -86,20 +86,15 @@ export function getCardOrderList( ...@@ -86,20 +86,15 @@ export function getCardOrderList(
) )
} }
export function uploadPRNFile( export function uploadPRNFile(id: number, data: FormData) {
id: number,
data: FormData,
) {
return axios.post<never, BaseRespData<string>>( return axios.post<never, BaseRespData<string>>(
`/factory/podBatchDownload/uploadPRNFile?id=${id}`, `/factory/podBatchDownload/uploadPRNFile?id=${id}`,
data data,
) )
} }
export function updatePRNDownloadStatus( export function updatePRNDownloadStatus(id: number) {
id: number
) {
return axios.get<never, BaseRespData<string>>( return axios.get<never, BaseRespData<string>>(
`/factory/podBatchDownload/updatePRNDownloadStatus?id=${id}` `/factory/podBatchDownload/updatePRNDownloadStatus?id=${id}`,
) )
} }
export function confirmOrderApi( export function confirmOrderApi(
...@@ -236,7 +231,7 @@ export function getPackingDataApi( ...@@ -236,7 +231,7 @@ export function getPackingDataApi(
warehouseId: number | string, warehouseId: number | string,
) { ) {
return axios.get<never, BaseRespData<PodMakeOrderData>>( return axios.get<never, BaseRespData<PodMakeOrderData>>(
'/factory/podJomallOrderUs/getPodBoxDetailsBySkuOrNo', '/factory/podJomallOrderUs/putPackingSafe',
{ {
params: { params: {
podJomallUsNo: code, podJomallUsNo: code,
...@@ -477,7 +472,11 @@ export function getListCraftApi() { ...@@ -477,7 +472,11 @@ export function getListCraftApi() {
} }
// 批量下载 列表 // 批量下载 列表
export function batchDownloadApi(params: SearchForm, currentPage: number, pageSize: number) { export function batchDownloadApi(
params: SearchForm,
currentPage: number,
pageSize: number,
) {
return axios.post<never, BaseRespData<never>>( return axios.post<never, BaseRespData<never>>(
`factory/podBatchDownload/us/list_page`, `factory/podBatchDownload/us/list_page`,
{ {
...@@ -575,10 +574,10 @@ export function changeToFinished(ids: string) { ...@@ -575,10 +574,10 @@ export function changeToFinished(ids: string) {
} }
export function reissueOrderApi(data: { export function reissueOrderApi(data: {
ids:string ids: string
reissueType:number reissueType: number
trackingNumber?:string trackingNumber?: string
expressSheet:string expressSheet: string
}) { }) {
return axios.post<never, BaseRespData<never>>( return axios.post<never, BaseRespData<never>>(
`factory/podJomallOrderUs/reissueOrder`, `factory/podJomallOrderUs/reissueOrder`,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment