From 0ce0067b376a47b0d49ab7be1230b58d6de8948f Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Tue, 26 Dec 2023 15:45:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BA=93=E5=AD=98=E8=BD=AC?= =?UTF-8?q?=E7=A7=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/inventoryMove/coms/comInventoryDetailCard.vue | 2 +- pages/inventoryMove/coms/comMove.vue | 2 +- pages/inventoryMove/coms/comMoveJob.vue | 5 +++-- pages/inventoryMove/job/inventoryMoveDetail.vue | 3 +++ 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/pages/inventoryMove/coms/comInventoryDetailCard.vue b/pages/inventoryMove/coms/comInventoryDetailCard.vue index 5742dd5b..820722f0 100644 --- a/pages/inventoryMove/coms/comInventoryDetailCard.vue +++ b/pages/inventoryMove/coms/comInventoryDetailCard.vue @@ -124,7 +124,7 @@ }); }, confirm(qty) { - this.editItem.qty = qty; + this.editItem.handleQty = qty; this.$emit('updateData') }, showLocation(item) { diff --git a/pages/inventoryMove/coms/comMove.vue b/pages/inventoryMove/coms/comMove.vue index be6915d0..79be58ea 100644 --- a/pages/inventoryMove/coms/comMove.vue +++ b/pages/inventoryMove/coms/comMove.vue @@ -147,7 +147,7 @@ methods: { updateTitle() { - if (this.businessTypeCode == "InventoryMove") { + if (this.businessTypeCode == "Move") { this.title = "库存转移记录"; this.toInventoryStatus = "OK" } else if (this.businessTypeCode == "HoldToOk") { diff --git a/pages/inventoryMove/coms/comMoveJob.vue b/pages/inventoryMove/coms/comMoveJob.vue index 17d78497..56b2eae6 100644 --- a/pages/inventoryMove/coms/comMoveJob.vue +++ b/pages/inventoryMove/coms/comMoveJob.vue @@ -80,6 +80,7 @@ status: '1,2', //待处理 、进行中 detailOptions: [], detailGiveupOptions: [], + titleName:"" }; }, @@ -125,7 +126,7 @@ } else if (this.businessTypeCode == "ScrapToHold") { name = "报废转隔离"; } - + this.titleName =name; if (this.totalCount > 0) { title = name + "(" + this.totalCount + ")"; } else { @@ -204,7 +205,7 @@ openJobDetail(item) { uni.navigateTo({ - url: './inventoryMoveDetail?id=' + item.id + '&status=' + item.status + url: './inventoryMoveDetail?id=' + item.id + '&status=' + item.status+'&titleName=' + this.titleName }); }, diff --git a/pages/inventoryMove/job/inventoryMoveDetail.vue b/pages/inventoryMove/job/inventoryMoveDetail.vue index e425e564..8b8d8c4e 100644 --- a/pages/inventoryMove/job/inventoryMoveDetail.vue +++ b/pages/inventoryMove/job/inventoryMoveDetail.vue @@ -115,6 +115,9 @@ this.getDetail(); } } + uni.setNavigationBarTitle({ + title: option.titleName+"详细" + }) }, //返回首页 onNavigationBarButtonTap(e) {