From d119803e64c0cd12468995ad79b29c20382f0a0c Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Mon, 5 Aug 2024 15:39:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E4=B8=BA=E7=A9=BA=E5=8E=BB?= =?UTF-8?q?=E6=8E=89=E6=89=93=E5=8D=B0=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/pointPutawayJob/index.vue | 38 ++++++++++++++++------------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/src/pages/pointPutawayJob/index.vue b/src/pages/pointPutawayJob/index.vue index 5eaa36a3..dda93048 100644 --- a/src/pages/pointPutawayJob/index.vue +++ b/src/pages/pointPutawayJob/index.vue @@ -2,8 +2,8 @@ - 检验指引单 - 上架指引单 + 检验指引单 + 上架指引单 @@ -59,8 +59,12 @@ - + + @@ -101,12 +105,12 @@ currentPage: 1, pageSize: 3, showTableSubList: [], - showTableInspectDTOList:[], - + showTableInspectDTOList: [], + currentPage1: 1, pageSize1: 20, - number:'', - isHave:false + number: '', + isHave: false } }, @@ -227,7 +231,7 @@ (this.currentPage - 1) * this.pageSize, this.currentPage * this.pageSize ) - if(array.length>0){ + if (array.length > 0) { this.showTableSubList = [...this.showTableSubList, ...array] this.currentPage += 1 } @@ -242,14 +246,14 @@ (this.currentPage1 - 1) * this.pageSize1, this.currentPage1 * this.pageSize1 ) - if(array.length>0){ + if (array.length > 0) { this.showTableInspectDTOList = [...this.showTableInspectDTOList, ...array] this.currentPage1 += 1 } } else { this.showTableInspectDTOList = this.data1.inspectDTOList } - console.log(233,this.showTableInspectDTOList) + console.log(233, this.showTableInspectDTOList) } }, watch: { @@ -291,17 +295,17 @@ this.getPurchaseReceiptJobHtml() }, onReachBottom() { - if(this.tabIndex == 1){ - if(this.showTableInspectDTOList.length!=this.data1.inspectDTOList.length){ + if (this.tabIndex == 1) { + if (this.showTableInspectDTOList.length != this.data1.inspectDTOList.length) { this.getTableInspectDTOList() } - }else{ - if(this.showTableSubList.length!=this.data.sublist.length){ + } else { + if (this.showTableSubList.length != this.data.sublist.length) { this.getTableSubList() } } - - + + } }