Commit 517753eb authored by youjie's avatar youjie

no message

parent dfe23638
......@@ -888,6 +888,7 @@
},
goPayHandler(OrderNo) {
let that = this;
var price = (this.price-this.currentCoupon.discountMoney).toFixed(2)
uni.requestPayment({
provider: "wxpay",
timeStamp: this.orderInfo.timeStamp,
......@@ -902,11 +903,21 @@
title: "支付成功",
});
setTimeout(() => {
// #ifdef MP-DI
uni.redirectTo({
url: "/pages/jiuzhai/paysuccess?PreferPrice=" +
that.price +
"&isFrom=1",
price +
"&isFrom=3",
});
// #endif
// #ifdef MP-AG
uni.redirectTo({
url: "/pages/jiuzhai/paysuccess?PreferPrice=" +
this.price +
"&isFrom=3",
});
// #endif
}, 100);
},
fail: function(err) {
......
......@@ -645,11 +645,20 @@
title: "支付成功",
});
setTimeout(() => {
// #ifdef MP-DI
uni.redirectTo({
url: "/pages/jiuzhai/paysuccess?PreferPrice=" +
that.orderData.model.DueInMoney +
"&isFrom=3",
});
// #endif
// #ifdef MP-AG
uni.redirectTo({
url: "/pages/jiuzhai/paysuccess?PreferPrice=" +
that.price +
"&isFrom=3",
});
// #endif
}, 100);
},
fail: function(err) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment