diff --git a/src/pages/productReceipt/job/productReceiptDetail.vue b/src/pages/productReceipt/job/productReceiptDetail.vue index 65048ed1..7e1e1752 100644 --- a/src/pages/productReceipt/job/productReceiptDetail.vue +++ b/src/pages/productReceipt/job/productReceiptDetail.vue @@ -213,7 +213,10 @@ that.jobContent = res.data; that.subList = res.data.subList; that.jobStatus = res.data.status - that.jobToLocationCode = that.subList[0].toLocationCode + that.jobToLocationCode = that.subList[0].toLocationCode + if(that.jobContent.allowModifyLocation=='FALSE'){ + that.toLocationCode = that.subList[0].toLocationCode + } that.toLocationAreaTypeList = getDirectoryItemArray(that.jobContent.toAreaTypes) that.detailSource = getDataSource(that.subList) that.detailSource.forEach(r => { diff --git a/src/pages/purchaseReceipt/job/receiptDetail.vue b/src/pages/purchaseReceipt/job/receiptDetail.vue index d70ce731..536141d0 100644 --- a/src/pages/purchaseReceipt/job/receiptDetail.vue +++ b/src/pages/purchaseReceipt/job/receiptDetail.vue @@ -136,7 +136,7 @@ onLoad(option) { this.id = option.id; - this.scanedPackingNumber = option.scaned || ''; + // this.scanedPackingNumber = option.scaned || ''; this.operation = option.operation; if (this.id != undefined) { //新建的任务自动接收