|
|
@ -1,8 +1,8 @@ |
|
|
|
import request from '@/api/httpRequest2.js' |
|
|
|
const baseApi = "/api/admin-api" |
|
|
|
// const baseApi = "/api/admin-api"
|
|
|
|
//公司地址
|
|
|
|
// 本地地址
|
|
|
|
// const baseApi = "/admin-api"
|
|
|
|
const baseApi = "/admin-api" |
|
|
|
/** |
|
|
|
* 获取验证码 |
|
|
|
* @param {*} |
|
|
@ -552,10 +552,40 @@ export function purchaseReturnJobsubmit (params) { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 创建采购退货记录 |
|
|
|
* 采购退货 申请列表 |
|
|
|
* 任务状态 |
|
|
|
* 开始日期 |
|
|
|
* 结束日期 |
|
|
|
* 获取日期任务列表 |
|
|
|
* @param {*} |
|
|
|
*/ |
|
|
|
export function getPurchaseReturnRequestList(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/purchasereturn-request-main/senior", |
|
|
|
method: "post", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 采购退货 获取申请任务明细 |
|
|
|
* @param {*} id 任务id |
|
|
|
* |
|
|
|
*/ |
|
|
|
export function getPurchaseReturnRequestDetail(id) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/purchasereturn-request-main/getPurchasereturnRequestById?id=" + id, |
|
|
|
method: "get", |
|
|
|
data: {}, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* 采购退货 记录提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function createPurchaseReturnRecord(params) { |
|
|
|
export function purchaseReturnRecordSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/magic-api/pda/job/purchasereturn/createRecord", |
|
|
|
method: "put", |
|
|
@ -567,7 +597,7 @@ export function createPurchaseReturnRecord(params) { |
|
|
|
* 采购退货 申请提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function createPurchaseReturnRequest(params) { |
|
|
|
export function purchaseReturnRequestSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/purchasereturn-request-main/submit", |
|
|
|
method: "put", |
|
|
@ -829,10 +859,22 @@ export function cancleTakeProductionReceiptJob(id) { |
|
|
|
* 生产收料 提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function productionReceiptJobSubmit(id, params) { |
|
|
|
export function productionReceiptJobSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/magic-api/pda/job/putaway/jobSubmit?id=" + id, |
|
|
|
method: "post", |
|
|
|
url: baseApi + "/magic-api/pda/job/putaway/jobSubmit", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 生产收料记录 提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function productionReceiptRecordSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/magic-api/pda/job/putaway/jobSubmit", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
@ -1034,10 +1076,34 @@ export function cancleTakeUnPlannedReceiptJob(id) { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 计划外入库 提交 |
|
|
|
* 计划外入库任务 提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function unPlannedReceiptJobSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/magic-api/pda/job/purchasereturn/jobSubmit", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 计划外入库申请 提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function unPlannedReceiptJobSubmit(id, params) { |
|
|
|
export function unPlannedReceiptRequestbSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/magic-api/pda/job/purchasereturn/jobSubmit", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 计划外入库记录 提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function unPlannedReceiptRecordbSubmit(id, params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/magic-api/pda/job/purchasereturn/jobSubmit?id=" + id, |
|
|
|
method: "post", |
|
|
@ -1104,10 +1170,34 @@ export function cancleTakeUnPlannedIssueJob(id) { |
|
|
|
* 计划外出库 提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function unPlannedIssueJobSubmit(id, params) { |
|
|
|
export function unPlannedIssueJobSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/magic-api/pda/job/purchasereturn/jobSubmit?id=" + id, |
|
|
|
method: "post", |
|
|
|
url: baseApi + "/magic-api/pda/job/purchasereturn/jobSubmit", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 计划外出库申请 提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function unPlannedIssueRequestSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/magic-api/pda/job/purchasereturn/jobSubmit", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 计划外出库记录 提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function unPlannedIssueRecordSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/magic-api/pda/job/purchasereturn/jobSubmit", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
@ -1142,7 +1232,7 @@ export function getProductReceiptJobDetail(id) { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 制品上架 承接 |
|
|
|
* 制品收货 承接 |
|
|
|
* @param {*} id |
|
|
|
* |
|
|
|
*/ |
|
|
@ -1155,7 +1245,7 @@ export function takeProductReceiptJob(id) { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 制品上架 放弃承接 |
|
|
|
* 制品收货 放弃承接 |
|
|
|
* @param {*} id |
|
|
|
* |
|
|
|
*/ |
|
|
@ -1171,9 +1261,9 @@ export function cancleTakeProductReceiptJob(id) { |
|
|
|
* 制品收货 提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function productReceiptJobsubmit(id, params) { |
|
|
|
export function productReceiptJobsubmit( params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/magic-api/pda/job/purchasereturn/jobSubmit?id=" + id, |
|
|
|
url: baseApi + "/magic-api/pda/job/purchasereturn/jobSubmit", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
@ -1242,7 +1332,22 @@ export function cancleTakeProductPutawayJob(id) { |
|
|
|
*/ |
|
|
|
export function productPutawayJobSubmit(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, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* 制品上架记录 提交 |
|
|
|
* @param {*} 任务id |
|
|
|
* |
|
|
|
*/ |
|
|
|
export function productPutawayRecordSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/magic-api/pda/job/purchasereceipt/jobSubmit", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
@ -1311,9 +1416,9 @@ export function cancleTakeProductDismantleJob(id) { |
|
|
|
*/ |
|
|
|
export function productDismantleJobSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/magic-api/pda/job/purchasereceipt/jobSubmit?id=" + id, |
|
|
|
url: baseApi + "/wms/purchasereceipt-job-main/abandon", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
data: {}, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
@ -1386,6 +1491,59 @@ export function deliverJobSubmit( params) { |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 制品发货申请 |
|
|
|
* 任务状态 |
|
|
|
* 开始日期 |
|
|
|
* 结束日期 |
|
|
|
* 获取日期任务列表 |
|
|
|
* @param {*} |
|
|
|
*/ |
|
|
|
export function getDeliverRequestList(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/deliver-request-main/senior", |
|
|
|
method: "post", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 制品发货申请 获取任务明细 |
|
|
|
* @param {*} id 任务id |
|
|
|
* |
|
|
|
*/ |
|
|
|
export function getDeliverRequestDetail(id) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/deliver-request-main/getDeliverRequestById?id=" + id, |
|
|
|
method: "get", |
|
|
|
data: {}, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 制品发货申请 申请提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function deliverRequestSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/purchasereturn-request-main/submit", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 制品发货 记录提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function deliverRecordSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/purchasereturn-request-main/submit", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 客户退货 任务 |
|
|
|
* status 任务状态 |
|
|
@ -1449,7 +1607,7 @@ export function cancleTakeCustomerReturnJob(id) { |
|
|
|
*/ |
|
|
|
export function customerReturnJobSubmit(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, |
|
|
|
}); |
|
|
@ -1486,6 +1644,31 @@ export function getCustomerReturnRequestDetail(id) { |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* 客户退货 申请提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function customerReturnRequestSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/purchasereturn-request-main/submit", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 客户退货 记录提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function customerReturnRecordSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/purchasereturn-request-main/submit", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 调拨入库 任务 |
|
|
|
* status 任务状态 |
|
|
@ -1550,7 +1733,20 @@ export function cancleTakeTransferReceiptJob(id) { |
|
|
|
*/ |
|
|
|
export function transferReceiptJobSubmit(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, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 调拨入库记录 提交 |
|
|
|
* @param {*} id |
|
|
|
* |
|
|
|
*/ |
|
|
|
export function transferReceiptRecordSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/magic-api/pda/job/purchasereceipt/jobSubmit", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
@ -1586,7 +1782,7 @@ export function getTransferIssueJobDetail(id) { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 生产退料 承接 |
|
|
|
* 调拨出库 承接 |
|
|
|
* @param {*} id |
|
|
|
* |
|
|
|
*/ |
|
|
@ -1599,7 +1795,7 @@ export function takeTransferIssueJob(id) { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 生产退料 放弃承接 |
|
|
|
* 调拨出库 放弃承接 |
|
|
|
* @param {*} id |
|
|
|
* |
|
|
|
*/ |
|
|
@ -1624,6 +1820,19 @@ export function transferIssueJobSubmit( params) { |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 调拨出库记录 提交 |
|
|
|
* @param {*} |
|
|
|
* |
|
|
|
*/ |
|
|
|
export function transferIssueRecordSubmit( params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/magic-api/pda/job/purchasereceipt/jobSubmit", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* 制品上架申请 |
|
|
@ -1654,6 +1863,18 @@ export function getProductPutawayRequestDetail(id) { |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 制品上架 申请提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function productPutawayRequestSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/purchasereturn-request-main/submit", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 发料申请列表 |
|
|
|
* @param {*} params |
|
|
@ -1679,35 +1900,32 @@ export function getIssueRequestDetail(id) { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 采购退货 申请列表 |
|
|
|
* 任务状态 |
|
|
|
* 开始日期 |
|
|
|
* 结束日期 |
|
|
|
* 获取日期任务列表 |
|
|
|
* @param {*} |
|
|
|
* 发料申请 提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function getPurchaseReturnRequestList(params) { |
|
|
|
export function issueRequestSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/purchasereturn-request-main/senior", |
|
|
|
method: "post", |
|
|
|
url: baseApi + "/wms/purchasereturn-request-main/submit", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 采购退货 获取申请任务明细 |
|
|
|
* @param {*} id 任务id |
|
|
|
* |
|
|
|
* 发料记录 提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function getPurchaseReturnRequestDetail(id) { |
|
|
|
export function issueRecordSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/purchasereturn-request-main/getPurchasereturnRequestById?id=" + id, |
|
|
|
method: "get", |
|
|
|
data: {}, |
|
|
|
url: baseApi + "/wms/purchasereturn-request-main/submit", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* 原料上架申请 获取任务列表 |
|
|
|
* 任务状态 |
|
|
@ -1737,6 +1955,30 @@ export function getPutawayRequestDetail(id) { |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 原料上架申请 提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function putawayRequestSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/purchasereturn-request-main/submit", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 原料上架记录 提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function putawayRecordSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/purchasereturn-request-main/submit", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 生产退料 任务获取任务列表 |
|
|
|
* 任务状态 |
|
|
@ -1768,7 +2010,7 @@ export function getProductionReturnJobDetail(id) { |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* 生产退料 承接 |
|
|
|
* 生产退料 承接任务 |
|
|
|
* @param {*} id |
|
|
|
* |
|
|
|
*/ |
|
|
@ -1793,6 +2035,19 @@ export function cancleTakeProductionReturnJob(id) { |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 生产退料 任务提交 |
|
|
|
* @param {*} 任务id |
|
|
|
* |
|
|
|
*/ |
|
|
|
export function productionReturnJobSubmit( params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/magic-api/pda/job/purchasereceipt/jobSubmit?id=" + id, |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 生产退料申请 获取任务列表 |
|
|
|
* status 任务状态 |
|
|
@ -1809,10 +2064,9 @@ export function getProductionReturnRequestList(params) { |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* 生产退料 获取任务明细 |
|
|
|
* @param {*} number id 任务id |
|
|
|
* 生产退料申请 获取申请明细 |
|
|
|
* @param {*} id |
|
|
|
* |
|
|
|
*/ |
|
|
|
export function getProductionReturnRequestDetail(id) { |
|
|
@ -1823,21 +2077,29 @@ export function getProductionReturnRequestDetail(id) { |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* 生产退料 任务提交 |
|
|
|
* @param {*} 任务id |
|
|
|
* |
|
|
|
* 生产退料申请 提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function productionReturnJobSubmit( params) { |
|
|
|
export function productionReturnRequestSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/magic-api/pda/job/purchasereceipt/jobSubmit?id=" + id, |
|
|
|
url: baseApi + "/wms/purchasereturn-request-main/submit", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* 生产退料记录 提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function productionReturnRecordSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/purchasereturn-request-main/submit", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
@ -1869,8 +2131,6 @@ export function getUnPlannedIssueRequestDetail(id) { |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* 计划外入库 申请 |
|
|
|
* status 任务状态 |
|
|
@ -1901,63 +2161,19 @@ export function getUnPlannedReceiptRequestDetail(id) { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 报废出库 申请 |
|
|
|
* status 任务状态 |
|
|
|
* 开始日期 |
|
|
|
* 结束日期 |
|
|
|
* 获取任务列表 |
|
|
|
* @param {*} |
|
|
|
* 计划外入库 申请提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function getScrapRequestList(params) { |
|
|
|
export function unPlannedReceiptRequestSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/scrap-request-main/senior", |
|
|
|
method: "post", |
|
|
|
url: baseApi + "/wms/purchasereturn-request-main/submit", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 报废出库申请 获取申请明细 |
|
|
|
* @param {*} id 任务id |
|
|
|
* |
|
|
|
*/ |
|
|
|
export function getScrapRequestDetail(id) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/scrap-request-main/getScrapRequestById?id=" + id, |
|
|
|
method: "get", |
|
|
|
data: {}, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 制品发货申请 |
|
|
|
* 任务状态 |
|
|
|
* 开始日期 |
|
|
|
* 结束日期 |
|
|
|
* 获取日期任务列表 |
|
|
|
* @param {*} |
|
|
|
*/ |
|
|
|
export function getDeliverRequestList(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/deliver-request-main/senior", |
|
|
|
method: "post", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 制品发货申请 获取任务明细 |
|
|
|
* @param {*} id 任务id |
|
|
|
* |
|
|
|
*/ |
|
|
|
|
|
|
|
export function getDeliverRequestDetail(id) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/deliver-request-main/getDeliverRequestById?id=" + id, |
|
|
|
method: "get", |
|
|
|
data: {}, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 报废出库 任务 |
|
|
@ -2025,6 +2241,61 @@ export function scrapJobSubmit( params) { |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 报废出库 申请 |
|
|
|
* status 任务状态 |
|
|
|
* 开始日期 |
|
|
|
* 结束日期 |
|
|
|
* 获取任务列表 |
|
|
|
* @param {*} |
|
|
|
*/ |
|
|
|
export function getScrapRequestList(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/scrap-request-main/senior", |
|
|
|
method: "post", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 报废出库申请 获取申请明细 |
|
|
|
* @param {*} id 任务id |
|
|
|
* |
|
|
|
*/ |
|
|
|
export function getScrapRequestDetail(id) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/scrap-request-main/getScrapRequestById?id=" + id, |
|
|
|
method: "get", |
|
|
|
data: {}, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 报废出库申请 提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function scrapRequestSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/purchasereturn-request-main/submit", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 报废出库记录 提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function scrapRecordSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/wms/purchasereturn-request-main/submit", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* 补料任务 列表 |
|
|
|
* |
|
|
@ -2083,13 +2354,97 @@ export function cancleTakeRepleinshJob(id) { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 补料 提交 |
|
|
|
* 补料任务 提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function repleinshJobSubmit(id, params) { |
|
|
|
export function repleinshJobSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/magic-api/pda/job/putaway/jobSubmit?id=" + id, |
|
|
|
method: "post", |
|
|
|
url: baseApi + "/magic-api/pda/job/putaway/jobSubmit", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 补料申请 提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function repleinshRequestSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/magic-api/pda/job/putaway/jobSubmit", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 补料记录 提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function repleinshRecordSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/magic-api/pda/job/putaway/jobSubmit", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 托盘绑定 提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function bindPalledtRecordSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/magic-api/pda/job/putaway/jobSubmit", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 托盘解绑 提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function unbindPalledtRecordSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/magic-api/pda/job/putaway/jobSubmit", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 拆包 提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function splitPackageRecordSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/magic-api/pda/job/putaway/jobSubmit", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 合包 提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function mergePackageRecordSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/magic-api/pda/job/putaway/jobSubmit", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 翻包 提交 |
|
|
|
* @param {*} params |
|
|
|
*/ |
|
|
|
export function overPackageRecordSubmit(params) { |
|
|
|
return request({ |
|
|
|
url: baseApi + "/magic-api/pda/job/putaway/jobSubmit", |
|
|
|
method: "put", |
|
|
|
data: params, |
|
|
|
}); |
|
|
|
} |
|
|
|