From 0084971057db540a7987d35f2c2f596c23545c41 Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Mon, 11 Dec 2023 17:30:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A1=E5=88=92=E5=A4=96=E5=87=BA=E5=85=A5?= =?UTF-8?q?=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/request2.js | 13 +- .../record/supplierDeliverRecord.vue | 4 - pages/unPlanned/coms/comIssueJobCard.vue | 12 - pages/unPlanned/coms/comReceiptJobCard.vue | 12 - pages/unPlanned/request/issueRequest.vue | 2 +- .../unPlanned/request/issueRequestCreate.vue | 298 +++++++++++++++++- pages/unPlanned/request/receiptRequest.vue | 2 +- 7 files changed, 306 insertions(+), 37 deletions(-) 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 }) },