|
|
@ -609,7 +609,7 @@ export function getPurchaseReturnRequestDetail(id) { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 采购退货 申请提交 |
|
|
|
* 采购退货申请 提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function purchaseReturnRequestSubmit(params) { |
|
|
@ -929,7 +929,7 @@ export function getProductionReceiptJobDetail(id) { |
|
|
|
*/ |
|
|
|
export function takeProductionReceiptJob(id) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/purchasereceipt-job-main/accept?id=" + id, |
|
|
|
url: baseApi + "/wms/productionreceipt-job-main/accept?id=" + id, |
|
|
|
method: "put", |
|
|
|
data: {}, |
|
|
|
}); |
|
|
@ -942,7 +942,7 @@ export function takeProductionReceiptJob(id) { |
|
|
|
*/ |
|
|
|
export function cancleTakeProductionReceiptJob(id) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/purchasereceipt-job-main/abandon?id=" + id, |
|
|
|
url: baseApi + "/wms/productionreceipt-job-main/abandon?id=" + id, |
|
|
|
method: "put", |
|
|
|
data: {}, |
|
|
|
}); |
|
|
@ -955,7 +955,7 @@ export function cancleTakeProductionReceiptJob(id) { |
|
|
|
*/ |
|
|
|
export function productionReceiptJobSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/magic-api/pda/job/putaway/jobSubmit", |
|
|
|
url: baseApi + "/wms/productionreceipt-job-main/execute", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
@ -1352,7 +1352,7 @@ export function cancleTakeProductReceiptJob(id) { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 制品收货 提交 |
|
|
|
* 制品收货任务 提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function productReceiptJobsubmit( params) { |
|
|
@ -1363,6 +1363,20 @@ export function productReceiptJobsubmit( params) { |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 制品收货记录 提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function productReceiptRecordsubmit( params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/productreceipt-record-main/create", |
|
|
|
method: "post", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* 制品上架 任务 |
|
|
|
* status 任务状态 |
|
|
@ -1441,8 +1455,8 @@ export function productPutawayJobSubmit(params) { |
|
|
|
*/ |
|
|
|
export function productPutawayRecordSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/magic-api/pda/job/purchasereceipt/jobSubmit", |
|
|
|
method: "put", |
|
|
|
url: baseApi + "/wms/productputaway-record-main/create", |
|
|
|
method: "post", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
@ -1559,26 +1573,26 @@ export function getDeliverDetail(id) { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 制品发货 任务承接 |
|
|
|
* 制品发货任务 承接 |
|
|
|
* @param {*} 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: {}, |
|
|
|
}); |
|
|
@ -1590,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, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* 制品发货申请 |
|
|
|
* 任务状态 |
|
|
@ -1628,19 +1644,19 @@ 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, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 制品发货 记录提交 |
|
|
|
* 制品发货记录 提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function deliverRecordSubmit(params) { |
|
|
@ -1682,39 +1698,39 @@ export function getCustomerReturnJobDetail(id) { |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* 客户退货 任务承接 |
|
|
|
* 客户退货任务 承接 |
|
|
|
* @param {*} 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: {}, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 客户退货 任务提交 |
|
|
|
* 客户退货任务 提交 |
|
|
|
* @param {*} 任务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, |
|
|
|
}); |
|
|
@ -1753,13 +1769,13 @@ export function getCustomerReturnRequestDetail(id) { |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* 客户退货 申请提交 |
|
|
|
* 客户退货申请 提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
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, |
|
|
|
}); |
|
|
|
} |
|
|
@ -1971,13 +1987,13 @@ export function getProductPutawayRequestDetail(id) { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 制品上架 申请提交 |
|
|
|
* 制品上架申请 提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function productPutawayRequestSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/purchasereturn-request-main/submit", |
|
|
|
method: "put", |
|
|
|
url: baseApi + "/wms/productputaway-request-main/create", |
|
|
|
method: "post", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
@ -2095,7 +2111,7 @@ export function cancleTakeProductionReturnJob(id) { |
|
|
|
*/ |
|
|
|
export function productionReturnJobSubmit( params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/magic-api/pda/job/purchasereceipt/jobSubmit?id=" + id, |
|
|
|
url: baseApi + "/magic-api/pda/job/purchasereceipt/jobSubmit", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
@ -2387,20 +2403,20 @@ export function getRepleinshJobDetail(id) { |
|
|
|
*/ |
|
|
|
export function takeRepleinshJob(id) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/purchasereceipt-job-main/accept?id=" + id, |
|
|
|
url: baseApi + "/wms/repleinsh-job-main/accept?id=" + id, |
|
|
|
method: "put", |
|
|
|
data: {}, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 补料 放弃承接 |
|
|
|
* 补料任务 放弃承接 |
|
|
|
* @param {*} id |
|
|
|
* |
|
|
|
*/ |
|
|
|
export function cancleTakeRepleinshJob(id) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/purchasereceipt-job-main/abandon?id=" + id, |
|
|
|
url: baseApi + "/wms/repleinsh-job-main/abandon?id=" + id, |
|
|
|
method: "put", |
|
|
|
data: {}, |
|
|
|
}); |
|
|
@ -2412,7 +2428,7 @@ export function cancleTakeRepleinshJob(id) { |
|
|
|
*/ |
|
|
|
export function repleinshJobSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/magic-api/pda/job/putaway/jobSubmit", |
|
|
|
url: baseApi + "/wms/repleinsh-job-main/execute", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|