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) {