From 41460ca259f3d84746f51e56f76a32b7cc6589cd Mon Sep 17 00:00:00 2001 From: yufei0306 <13417315+yufei0306@user.noreply.gitee.com> Date: Wed, 29 May 2024 15:08:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=93=E4=BD=8D=E6=89=AB=E6=8F=8Fbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/customerReturn/job/returnDetail.vue | 3 +++ src/pages/productReceipt/job/fgProductReceiptDetail.vue | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) 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 => {