diff --git a/api/request2.js b/api/request2.js
index c5199580..c52eeba3 100644
--- a/api/request2.js
+++ b/api/request2.js
@@ -1232,13 +1232,13 @@ export function getUnPlannedReceiptJobDetail(id) {
/**
- * 计划外入库 任务承接
+ * 计划外入库任务 任务承接
* @param {*} id
*
*/
export function takeUnPlannedReceiptJob(id) {
return request({
- url: baseApi + "/wms/purchasereceipt-job-main/accept?id=" + id,
+ url: baseApi + "/wms/unplannedreceipt-job-main/accept?id=" + id,
method: "put",
data: {},
});
@@ -1251,8 +1251,8 @@ export function takeUnPlannedReceiptJob(id) {
*/
export function cancleTakeUnPlannedReceiptJob(id) {
return request({
- url: baseApi + "/wms/purchasereceipt-job-main/abandon?id=" + id,
- method: "get",
+ url: baseApi + "/wms/unplannedreceipt-job-main/abandon?id=" + id,
+ method: "put",
data: {},
});
}
@@ -1263,7 +1263,7 @@ export function cancleTakeUnPlannedReceiptJob(id) {
*/
export function unPlannedReceiptJobSubmit(params) {
return request({
- url: baseApi + "/magic-api/pda/job/purchasereturn/jobSubmit",
+ url: baseApi + "/wms/unplannedreceipt-job-main/execute",
method: "put",
data: params,
});
@@ -1352,9 +1352,10 @@ export function cancleTakeUnPlannedIssueJob(id) {
* 计划外出库任务 提交
* @param {*} params
*/
+
export function unPlannedIssueJobSubmit(params) {
return request({
- url: baseApi + "/wms/unplannedissue-job-main/abandon",
+ url: baseApi + "/wms/unplannedissue-job-main/execute",
method: "put",
data: params,
});
diff --git a/pages/supplierDeliver/record/supplierDeliverRecord.vue b/pages/supplierDeliver/record/supplierDeliverRecord.vue
index 9c0fa09e..93011121 100644
--- a/pages/supplierDeliver/record/supplierDeliverRecord.vue
+++ b/pages/supplierDeliver/record/supplierDeliverRecord.vue
@@ -23,10 +23,6 @@
\ No newline at end of file
+
diff --git a/pages/unPlanned/request/receiptRequest.vue b/pages/unPlanned/request/receiptRequest.vue
index a9313e57..92f062af 100644
--- a/pages/unPlanned/request/receiptRequest.vue
+++ b/pages/unPlanned/request/receiptRequest.vue
@@ -197,7 +197,7 @@
openScanDetailPopup() {
uni.navigateTo({
- url: "../record/receiptRecord?fromType=" + this.fromType
+ url: "./receiptRequest?fromType=" + this.fromType
})
},