1.确定订单 绑定工会卡判断

yj-dev
杨杰 2 years ago
parent 96598b5c75
commit a065e01bf0
  1. 5
      pages/order/confirmation.vue

@ -281,7 +281,9 @@
if (res.return_code == '000000') { if (res.return_code == '000000') {
app.globalData.userInfo = res.return_data; app.globalData.userInfo = res.return_data;
this.user = res.return_data; this.user = res.return_data;
if (this.user.hltCardNo) {
this.getHuiLianTongCardBalance(); this.getHuiLianTongCardBalance();
}
this.getUserNormalDiscountList(); this.getUserNormalDiscountList();
uni.setStorage({ uni.setStorage({
key: "user", key: "user",
@ -605,7 +607,8 @@
app.globalData.storeid = ''; app.globalData.storeid = '';
app.globalData.storename = ''; app.globalData.storename = '';
uni.reLaunch({ uni.reLaunch({
url: '../pay/success/success?id=' + that.couponId url: '../pay/success/success?id=' +
that.couponId
}); });
}, },
fail: function(err) { fail: function(err) {

Loading…
Cancel
Save