From b15c8408fc2f9b57c41e1ea752da4c0f6b91aa58 Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Wed, 4 Dec 2024 13:48:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=91=E6=96=99=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E6=8F=90=E4=BA=A4=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/issue/coms/comScanIssuePack.vue | 11 +++++++++++ src/pages/issue/job/issueDetail.vue | 1 - 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/pages/issue/coms/comScanIssuePack.vue b/src/pages/issue/coms/comScanIssuePack.vue index d01aa9aa..898ec8cc 100644 --- a/src/pages/issue/coms/comScanIssuePack.vue +++ b/src/pages/issue/coms/comScanIssuePack.vue @@ -560,6 +560,11 @@ //新增加的批次赋值details if (fromLocation.Batchs.length > 0) { batch.detail = fromLocation.Batchs[0].detail; + batch.detail.itemName=packageInfo.itemName; + batch.detail.itemDesc1=packageInfo.itemDesc1; + batch.detail.itemDesc2=packageInfo.itemDesc2; + batch.detail.productionLineCode=this.jobContent.detailProductionLineCode; + batch.detail.workStationCode=this.jobContent.detailWorkStationCode; } fromLocation.Batchs.unshift(batch); this.getfocus(); @@ -757,6 +762,12 @@ let batch = this.createBatchInfo(label, balance, packageInfo); batch.detail = balance; batch.detail.fromLocationCode = balance.locationCode; + batch.detail.itemName=packageInfo.itemName, + batch.detail.itemDesc1=packageInfo.itemDesc1, + batch.detail.itemDesc2=packageInfo.itemDesc2, + batch.detail.productionLineCode=this.jobContent.detailProductionLineCode, + batch.detail.workStationCode=this.jobContent.detailWorkStationCode, + location.Batchs.push(batch); return location; }, diff --git a/src/pages/issue/job/issueDetail.vue b/src/pages/issue/job/issueDetail.vue index 3151bad4..7fae2c71 100644 --- a/src/pages/issue/job/issueDetail.vue +++ b/src/pages/issue/job/issueDetail.vue @@ -304,7 +304,6 @@ this.showErrorMessage("请扫描您需要提交的发料任务") return } - console.log("提交参数", JSON.stringify(params)); issueJobSubmit(params).then(res => { uni.hideLoading() if (res.data) {