shish 3 лет назад
Родитель
Сommit
a7c337eaf7

+ 1 - 1
ghsApp/src/admin/order/statBook.vue

@@ -153,7 +153,7 @@ export default {
 		left: 0;
 		display: flex;
 		width: 100%;
-		top:153upx;
+		top:125upx;
 		z-index: 20;
 		.bar{
 			width: 50%;

+ 2 - 2
hdApp/src/admin/billing/affirmGhsBook.vue

@@ -278,9 +278,9 @@ export default {
 				}
 			})
 			let params = {
-				getType:this.form.sendType,
+				sendType:this.form.sendType,
 				sendTimeWant:this.sendTimeWant,
-				sendCost:this.form.sendType==2?'':this.form.sendCost,
+				sendCost:0,
 				remark:this.remark,
 				product:JSON.stringify(product),
 				ghsId:this.ghsInfo.id,

+ 8 - 7
hdApp/src/pagesPurchase/purDetails.vue

@@ -276,7 +276,7 @@ export default {
 		}
 	},
   onPullDownRefresh() {
-			this.initData().then(res => {
+			this.initData(this.id).then(res => {
 				uni.stopPullDownRefresh()
 			})
 	},
@@ -331,13 +331,14 @@ export default {
       if(this.option.id){
         id = this.option.id
       }else{
-		//小票上的二维码打开
-		//https://api.shop.huaml.com/#/pagesPurchase/purDetails?id=1292
-		if(this.option.q){
-			let currentUrl = decodeURIComponent(this.option.q)
-			id = currentUrl.substring(currentUrl.lastIndexOf("?id=") + 4)
-		}
+        //小票上的二维码打开
+        //https://api.shop.huaml.com/#/pagesPurchase/purDetails?id=1292
+        if(this.option.q){
+          let currentUrl = decodeURIComponent(this.option.q)
+          id = currentUrl.substring(currentUrl.lastIndexOf("?id=") + 4)
+        }
       }
+      this.id = id
       this.initData(id)
     },
     initData (id) {