|
@@ -55,6 +55,7 @@ var payContainer = new Vue({
|
|
|
is_Wechat_bowcr:false, // 是否是微信浏览器
|
|
|
weChatFlag: false, // 微信支付开关
|
|
|
aliPayFlag: false, // 支付宝支付开关
|
|
|
+ svipPayFlag: false, // 是否支付开通超级会员
|
|
|
payStatusText:'使用任何一种线上支付方式支付全部金额后,供应商会在24小时后发货(周末、节假日顺延)。若着急发货,可以选择使用线下转账进行付款。',
|
|
|
productID:'',//发布商品的ID
|
|
|
comboInfo: null, //选中的svip套餐信息
|
|
@@ -83,6 +84,17 @@ var payContainer = new Vue({
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ computed: {
|
|
|
+ showAliPayMode(){
|
|
|
+ return !this.is_Wechat_bowcr && (this.aliPayFlag || this.svipPayFlag)
|
|
|
+ },
|
|
|
+ showWeChatPayMode(){
|
|
|
+ return this.weChatFlag || this.svipPayFlag
|
|
|
+ },
|
|
|
+ showB2BpayMode(){
|
|
|
+ return this.B2BpayFlag || this.svipPayFlag
|
|
|
+ }
|
|
|
+ },
|
|
|
methods: {
|
|
|
initCouponDetail:function (couponId) {//初始化优惠券数据
|
|
|
var _self = this;
|
|
@@ -477,6 +489,7 @@ var payContainer = new Vue({
|
|
|
this.payStatusText = '';
|
|
|
this.orderFlag = 0;
|
|
|
} else if (this.pageType === '2') { // 支付会员
|
|
|
+ this.svipPayFlag = true;
|
|
|
this.orderFlag = 0;
|
|
|
this.vipRecordId = parseInt(CAIMEI.getUrlParam('vipRecordId'));
|
|
|
this.PayOrderOnLineSwitch();
|