Browse Source

修改bug

chenrui 4 tháng trước cách đây
mục cha
commit
79ea2c5e80
1 tập tin đã thay đổi với 4 bổ sung3 xóa
  1. 4 3
      pages/sales/edit.vue

+ 4 - 3
pages/sales/edit.vue

@@ -203,6 +203,7 @@
 			init(){
 				this.getList(1)
 				this.getDetail()
+				this.changeScrollH()
 			},
 			// 列表
 			getList(pageNo){
@@ -409,12 +410,12 @@
 						const winH = res.windowHeight * 2
 						let totalH = _this.$refs.salesTotal && _this.$refs.salesTotal.$el && _this.$refs.salesTotal.$el.offsetHeight || 0
 						if(_this.toggle){
-							_this.scrollH = winH - 605 - totalH
+							_this.scrollH = winH - 608 - totalH
 						}else{
-							_this.scrollH = winH - 468 - totalH
+							_this.scrollH = winH - 470 - totalH
 						}
 						// if(_this.detailData&&_this.detailData.billStatus=='FINISH'){
-							_this.scrollH = _this.scrollH + 100
+							// _this.scrollH = _this.scrollH + 100
 						// }
 					}
 				})