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'> - +