diff --git a/src/pages/customerReturn/job/returnDetail.vue b/src/pages/customerReturn/job/returnDetail.vue index e5a0e4f5..7d3cf5a3 100644 --- a/src/pages/customerReturn/job/returnDetail.vue +++ b/src/pages/customerReturn/job/returnDetail.vue @@ -169,6 +169,9 @@ that.detailSource = getDataSource(that.subList) that.fromLocationCode = that.subList[0].fromLocationCode that.jobToLocationCode = that.subList[0].toLocationCode + if(that.jobContent.allowModifyLocation=='FALSE'){ + that.toLocationCode = that.subList[0].toLocationCode + } that.toLocationAreaTypeList = getDirectoryItemArray(that.jobContent.toAreaTypes) } else { that.showMessage('列表数据为0'); diff --git a/src/pages/productReceipt/job/fgProductReceiptDetail.vue b/src/pages/productReceipt/job/fgProductReceiptDetail.vue index af9309f0..4735914f 100644 --- a/src/pages/productReceipt/job/fgProductReceiptDetail.vue +++ b/src/pages/productReceipt/job/fgProductReceiptDetail.vue @@ -219,7 +219,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.toLocationTypeList = getDirectoryItemArray(that.jobContent.toLocationTypes) that.detailSource = getDataSource(that.subList) that.detailSource.forEach(r => {