修复:支付合并后 会员卡微信支付报错导致不能使用微信支付
This commit is contained in:
parent
6161f5c2d3
commit
a2e68daf8f
|
|
@ -354,6 +354,19 @@
|
||||||
},
|
},
|
||||||
// 立即购买
|
// 立即购买
|
||||||
createMemberCard(type) {
|
createMemberCard(type) {
|
||||||
|
|
||||||
|
if (type == 'weixin') {
|
||||||
|
// #ifdef H5
|
||||||
|
type = _this.$wechat.isWeixin() ? 'weixin' : 'h5'
|
||||||
|
// #endif
|
||||||
|
// #ifdef MP
|
||||||
|
type = 'routine'
|
||||||
|
// #endif
|
||||||
|
// #ifdef APP-PLUS
|
||||||
|
type = 'weixin'
|
||||||
|
// #endif
|
||||||
|
}
|
||||||
|
|
||||||
uni.showLoading({
|
uni.showLoading({
|
||||||
title: '正在加载…'
|
title: '正在加载…'
|
||||||
});
|
});
|
||||||
|
|
@ -419,7 +432,7 @@
|
||||||
jsConfig = res.data.result.config,
|
jsConfig = res.data.result.config,
|
||||||
goPages = '/pages/users/user_coupon/index';
|
goPages = '/pages/users/user_coupon/index';
|
||||||
|
|
||||||
// console.log('支付成功', status)
|
console.log('支付成功', status)
|
||||||
switch (status) {
|
switch (status) {
|
||||||
case 'ORDER_EXIST':
|
case 'ORDER_EXIST':
|
||||||
case 'EXTEND_ORDER':
|
case 'EXTEND_ORDER':
|
||||||
|
|
@ -436,10 +449,7 @@
|
||||||
that.payClose();
|
that.payClose();
|
||||||
that.getMemberCard();
|
that.getMemberCard();
|
||||||
|
|
||||||
return that.$util.Tips({
|
that.$util.tips({ content: res.message});
|
||||||
title: res.message,
|
|
||||||
icon: 'success'
|
|
||||||
});
|
|
||||||
break;
|
break;
|
||||||
case 'alipay':
|
case 'alipay':
|
||||||
case "alipayQr":
|
case "alipayQr":
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
<!-- <view v-else class='status'>{{order_pay_info.paid == 1 ? '支付成功' : order_pay_info.paid==0 && order_pay_info.pay_type != 'offline' && msg != 'success' ? '支付失败' : '未支付'}}</view> -->
|
<!-- <view v-else class='status'>{{order_pay_info.paid == 1 ? '支付成功' : order_pay_info.paid==0 && order_pay_info.pay_type != 'offline' && msg != 'success' ? '支付失败' : '未支付'}}</view> -->
|
||||||
<view class="status">{{payResult}}</view>
|
<view class="status">{{payResult}}</view>
|
||||||
<view class='wrapper'>
|
<view class='wrapper'>
|
||||||
<view v-if="order_type== 20" class='item acea-row row-between-wrapper'>
|
<view v-if="order_type == 20" class='item acea-row row-between-wrapper'>
|
||||||
<view>订单编号</view>
|
<view>订单编号</view>
|
||||||
<view class='itemCom'>{{order_pay_info.group_order_sn}}</view>
|
<view class='itemCom'>{{order_pay_info.group_order_sn}}</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue