Commit 4cc8a6db by linjinhong

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

parent f84c5115
......@@ -86,20 +86,15 @@ export function getCardOrderList(
)
}
export function uploadPRNFile(
id: number,
data: FormData,
) {
export function uploadPRNFile(id: number, data: FormData) {
return axios.post<never, BaseRespData<string>>(
`/factory/podBatchDownload/uploadPRNFile?id=${id}`,
data
data,
)
}
export function updatePRNDownloadStatus(
id: number
) {
export function updatePRNDownloadStatus(id: number) {
return axios.get<never, BaseRespData<string>>(
`/factory/podBatchDownload/updatePRNDownloadStatus?id=${id}`
`/factory/podBatchDownload/updatePRNDownloadStatus?id=${id}`,
)
}
export function confirmOrderApi(
......@@ -236,7 +231,7 @@ export function getPackingDataApi(
warehouseId: number | string,
) {
return axios.get<never, BaseRespData<PodMakeOrderData>>(
'/factory/podJomallOrderUs/getPodBoxDetailsBySkuOrNo',
'/factory/podJomallOrderUs/putPackingSafe',
{
params: {
podJomallUsNo: code,
......@@ -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>>(
`factory/podBatchDownload/us/list_page`,
{
......@@ -575,10 +574,10 @@ export function changeToFinished(ids: string) {
}
export function reissueOrderApi(data: {
ids:string
reissueType:number
trackingNumber?:string
expressSheet:string
ids: string
reissueType: number
trackingNumber?: string
expressSheet: string
}) {
return axios.post<never, BaseRespData<never>>(
`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