Commit 727d3157 authored by youjie's avatar youjie

no message

parent c1a69843
...@@ -68,6 +68,7 @@ ...@@ -68,6 +68,7 @@
this.$emit('closePay'); this.$emit('closePay');
}, },
Pay() { Pay() {
let that = this
let msg = { let msg = {
'pay_channel': this 'pay_channel': this
.payType, //网页打开支付宝支付:alipay_wap 支付宝正扫:alipay_qr 支付宝app:alipay 微信小程序:wx_lite 微信公众号:wx_pub .payType, //网页打开支付宝支付:alipay_wap 支付宝正扫:alipay_qr 支付宝app:alipay 微信小程序:wx_lite 微信公众号:wx_pub
...@@ -87,10 +88,25 @@ ...@@ -87,10 +88,25 @@
this.loading = false this.loading = false
uni.hideLoading() uni.hideLoading()
if (res.data != '') { if (res.data != '') {
if (this.payType != 'wx_lite') { if(res.data.OrderStatus==5){
this.aliPay(res.data) if (that.u && that.u.TenantId == 27) {
} else { uni.navigateTo({
this.wxPay(JSON.parse(res.data)) url: `/pages/order-submit/pay-success2?payInfo=${JSON.stringify(that.payInfo)}&StuId=${that.StuId}&TeacherIds=${that.TeacherIds}`
});
that.pay = false
} else {
uni.navigateTo({
url: '/pages/order-submit/pay-success?payInfo=' + JSON.stringify(that
.payInfo)
});
that.pay = false
}
}else{
if (this.payType != 'wx_lite') {
this.aliPay(res.data)
} else {
this.wxPay(JSON.parse(res.data))
}
} }
} else { } else {
uni.showToast({ uni.showToast({
......
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