diff --git a/src/pages/productReceipt/job/productReceiptDetail.vue b/src/pages/productReceipt/job/productReceiptDetail.vue index 574f5b56..6cf39a85 100644 --- a/src/pages/productReceipt/job/productReceiptDetail.vue +++ b/src/pages/productReceipt/job/productReceiptDetail.vue @@ -226,8 +226,13 @@ that.subList = res.data.subList; that.jobStatus = res.data.status; that.jobToLocationCode = that.subList[0].toLocationCode; - that.productionLineCode = that.jobContent.subList[0].productionLineCode; - + that.productionLineCode = that.jobContent.subList[0].productionLineCode; + var valiDate = getSwitchInfoByCode("semiProductReceipCommitValidate") + if(valiDate){ + that.jobContent.allowModifyLocation = 'TRUE' + }else{ + that.jobContent.allowModifyLocation = 'FALSE' + } // if (that.jobContent.allowModifyLocation == 'FALSE') { // that.toLocationCode = that.subList[0].toLocationCode // }