From fbe96a097bfe47e190e7994c869b41591eece8ad Mon Sep 17 00:00:00 2001 From: niexiting <85552560@qq.com> Date: Sun, 28 Apr 2024 11:44:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=B6=E5=93=81=E4=B8=8A?= =?UTF-8?q?=E6=9E=B6=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../productPutaway/job/productPutawayDetail.vue | 17 ++++++++--------- .../job/productionReceiptDetail.vue | 2 +- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/src/pages/productPutaway/job/productPutawayDetail.vue b/src/pages/productPutaway/job/productPutawayDetail.vue index 23f7cb71..03e2fc81 100644 --- a/src/pages/productPutaway/job/productPutawayDetail.vue +++ b/src/pages/productPutaway/job/productPutawayDetail.vue @@ -26,9 +26,7 @@ style="background-color:ghostwhite; width: 100%; "> @@ -62,6 +60,7 @@ goHome, getCurrDateTime, navigateBack, + updateTitle, getPackingNumberAndBatch, } from '@/common/basic.js'; @@ -111,18 +110,18 @@ toLocationAreaTypeList: [], jobStatus: "", jobToLocationCode: "", - type:"", - isCheckLocation:false, - switchCode:"" + type: "", + isCheckLocation: false, + switchCode: "" }; }, onLoad(option) { this.id = option.id; - this.type =option.type; + this.type = option.type; if (this.type == 'predict') { this.switchCode = "SemiPutawayLocationCodeValidate" updateTitle("预生产上架任务"); - } else if(this.type == 'assemble'){ + } else if (this.type == 'assemble') { this.switchCode = "FgPutawayLocationCodeValidate" updateTitle("装配上架任务"); } @@ -197,7 +196,7 @@ that.jobToLocationCode = that.subList[0].toLocationCode that.toLocationAreaTypeList = getLocationTypeArray(that.jobContent.toAreaTypes) that.detailSource = getDataSource(that.subList) - + that.isCheckLocation = getSwitchInfoByCode(that.switchCode) if (that.isCheckLocation) { that.toLocationCode = "" diff --git a/src/pages/productionReceipt/job/productionReceiptDetail.vue b/src/pages/productionReceipt/job/productionReceiptDetail.vue index c24722b9..22c626ea 100644 --- a/src/pages/productionReceipt/job/productionReceiptDetail.vue +++ b/src/pages/productionReceipt/job/productionReceiptDetail.vue @@ -17,7 +17,7 @@ @remove="updateData" @updateData="updateData" @openDetail="openDetail" :locationAreaTypeList='toLocationAreaTypeList'> - +