From 88435fd088f51be970765f9b14f5684d35832c1f Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Fri, 17 Jan 2025 11:13:01 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/components/bookSwiper.vue | 3 +-- src/views/components/checkSwiper.vue | 3 +-- .../checkManage/dataScreening/girdList.vue | 25 ++++++++++++++++--- .../checkManage/dataScreening/shelfList.vue | 7 +++++- 4 files changed, 30 insertions(+), 8 deletions(-) diff --git a/src/views/components/bookSwiper.vue b/src/views/components/bookSwiper.vue index d53c206..8999905 100644 --- a/src/views/components/bookSwiper.vue +++ b/src/views/components/bookSwiper.vue @@ -10,10 +10,9 @@ :cleanup-styles-on-destroy="true" >
{ @@ -649,6 +666,8 @@ export default { handleHistory(item, index) { this.shelfAllGridDataLoading = true this.timeIndex = index + + this.billNoImg = this.checkDateLine[this.timeIndex].stockType === 0 ? this.checkDateLine[1].stockBill : this.checkDateLine[this.timeIndex].stockBill if (item.stockType === 0) { this.initData() setTimeout(() => { diff --git a/src/views/visualCheck/checkManage/dataScreening/shelfList.vue b/src/views/visualCheck/checkManage/dataScreening/shelfList.vue index f2894f6..c17593c 100644 --- a/src/views/visualCheck/checkManage/dataScreening/shelfList.vue +++ b/src/views/visualCheck/checkManage/dataScreening/shelfList.vue @@ -287,7 +287,12 @@ export default { this.bookShelfDetails = res if (this.$route.query.tabIndex) { - this.getInitShelfGridByShelfId(this.bookShelfDetails.id, this.$route.query.tabIndex + 1) + if (this.bookShelfDetails.rowType === 1) { + this.tabIndex = 0 + this.getInitShelfGridByShelfId(this.bookShelfDetails.id, this.bookShelfDetails.toward) + } else { + this.getInitShelfGridByShelfId(this.bookShelfDetails.id, parseInt(this.$route.query.tabIndex) + 1) + } } else { this.getInitShelfGridByShelfId(this.bookShelfDetails.id, this.bookShelfDetails.toward) }