浏览代码

bug 修复

lilei 2 年之前
父节点
当前提交
6e8aef08ef

+ 6 - 0
pages/replenishmentManage/detail.vue

@@ -113,6 +113,12 @@
 				backgroundColor: this.$config('primaryColor')
 				backgroundColor: this.$config('primaryColor')
 			})
 			})
 		},
 		},
+		onBackPress() {
+			if(this.showModal){
+				this.showModal = false
+				return true
+			}
+		},
 		onLoad(option) {
 		onLoad(option) {
 			this.replenishBillSn = option.sn
 			this.replenishBillSn = option.sn
 			this.pageType = option.type
 			this.pageType = option.type

+ 6 - 0
pages/replenishmentManage/outWarehousing.vue

@@ -115,6 +115,12 @@
 				backgroundColor: this.$config('primaryColor')
 				backgroundColor: this.$config('primaryColor')
 			})
 			})
 		},
 		},
+		onBackPress() {
+			if(this.showModal){
+				this.showModal = false
+				return true
+			}
+		},
 		onLoad(option) {
 		onLoad(option) {
 			this.replenishBillSn = option.sn
 			this.replenishBillSn = option.sn
 			this.getDetail()
 			this.getDetail()

+ 6 - 0
pages/replenishmentManage/signWarehousing.vue

@@ -111,6 +111,12 @@
 				backgroundColor: this.$config('primaryColor')
 				backgroundColor: this.$config('primaryColor')
 			})
 			})
 		},
 		},
+		onBackPress() {
+			if(this.showModal){
+				this.showModal = false
+				return true
+			}
+		},
 		onLoad(option) {
 		onLoad(option) {
 			this.replenishBillSn = option.sn
 			this.replenishBillSn = option.sn
 			this.getDetail()
 			this.getDetail()