|
|
@ -1579,20 +1579,20 @@ export function getDeliverDetail(id) { |
|
|
|
*/ |
|
|
|
export function takeDeliverJob(id) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/purchasereceipt-job-main/accept?id=" + id, |
|
|
|
url: baseApi + "/wms/deliver-job-main/accept?id=" + id, |
|
|
|
method: "put", |
|
|
|
data: {}, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 制品发货 放弃承接 |
|
|
|
* 制品发货任务 放弃承接 |
|
|
|
* @param {*} id |
|
|
|
* |
|
|
|
*/ |
|
|
|
export function cancleTakeDeliverJob(id) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/purchasereceipt-job-main/abandon?id=" + id, |
|
|
|
url: baseApi + "/wms/deliver-job-main/abandon?id=" + id, |
|
|
|
method: "put", |
|
|
|
data: {}, |
|
|
|
}); |
|
|
@ -1604,14 +1604,16 @@ export function cancleTakeDeliverJob(id) { |
|
|
|
* @param {*} 任务id |
|
|
|
* |
|
|
|
*/ |
|
|
|
|
|
|
|
export function deliverJobSubmit( params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/magic-api/pda/job/purchasereceipt/jobSubmit?id=" + id, |
|
|
|
url: baseApi + "/wms/deliver-job-main/execute", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* 制品发货申请 |
|
|
|
* 任务状态 |
|
|
@ -1642,13 +1644,13 @@ export function getDeliverRequestDetail(id) { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 制品发货申请 申请提交 |
|
|
|
* 制品发货申请 提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function deliverRequestSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/purchasereturn-request-main/submit", |
|
|
|
method: "put", |
|
|
|
url: baseApi + "/wms/deliver-request-main/create", |
|
|
|
method: "post", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
@ -1702,20 +1704,20 @@ export function getCustomerReturnJobDetail(id) { |
|
|
|
*/ |
|
|
|
export function takeCustomerReturnJob(id) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/purchasereceipt-job-main/accept?id=" + id, |
|
|
|
url: baseApi + "/wms/customerreturn-job-main/accept?id=" + id, |
|
|
|
method: "put", |
|
|
|
data: {}, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 客户退货 放弃承接 |
|
|
|
* 客户退货任务 放弃承接 |
|
|
|
* @param {*} id |
|
|
|
* |
|
|
|
*/ |
|
|
|
export function cancleTakeCustomerReturnJob(id) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/purchasereceipt-job-main/abandon?id=" + id, |
|
|
|
url: baseApi + "/wms/customerreturn-job-main/abandon?id=" + id, |
|
|
|
method: "put", |
|
|
|
data: {}, |
|
|
|
}); |
|
|
@ -1728,7 +1730,7 @@ export function cancleTakeCustomerReturnJob(id) { |
|
|
|
*/ |
|
|
|
export function customerReturnJobSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/magic-api/pda/job/purchasereceipt/jobSubmit", |
|
|
|
url: baseApi + "/wms/customerreturn-job-main/execute", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
@ -1772,8 +1774,8 @@ export function getCustomerReturnRequestDetail(id) { |
|
|
|
*/ |
|
|
|
export function customerReturnRequestSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/purchasereturn-request-main/submit", |
|
|
|
method: "put", |
|
|
|
url: baseApi + "/wms/customerreturn-request-main/create", |
|
|
|
method: "post", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|