gjy 2 년 전
부모
커밋
b5301c2682
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 2
      pages/dataReport/Inventoryentrydetails.vue

+ 4 - 2
pages/dataReport/Inventoryentrydetails.vue

@@ -102,9 +102,10 @@
 			// this.endDate=date.getFullYear()+'-'+((date.getMonth()+1)<10?('0'+(date.getMonth()+1)):(date.getMonth()+1))+'-'+date.getDate()
 			// this.endDate=date.getFullYear()+'-'+((date.getMonth()+1)<10?('0'+(date.getMonth()+1)):(date.getMonth()+1))+'-'+date.getDate()
 			this.getList()
 			this.getList()
 		},
 		},
-		onReachBottom() { //上拉触底函数
+		onReachBottom() { 
+			//上拉触底函数
 			// if (this.statusFlag == 3) {
 			// if (this.statusFlag == 3) {
-			if (!this.isLoadMore) { //此处判断,上锁,防止重复请求
+			if (!this.show2) { //此处判断,上锁,防止重复请求
 				this.currentPage += 1
 				this.currentPage += 1
 				this.getList()
 				this.getList()
 			}
 			}
@@ -131,6 +132,7 @@
 				return format;
 				return format;
 			},
 			},
 			confirm(e) {
 			confirm(e) {
+				this.show2=false
 				console.log(e)
 				console.log(e)
 				this.warehouseList=[]
 				this.warehouseList=[]
 				this.currentPage=1
 				this.currentPage=1