Procházet zdrojové kódy

拼团失败修改

tags/富茂链客4.1.0
刘晖 před 6 roky
rodič
revize
6ea6ba6b58
1 změnil soubory, kde provedl 9 přidání a 9 odebrání
  1. +9
    -9
      pages/joinFrDpell/index.js

+ 9
- 9
pages/joinFrDpell/index.js Zobrazit soubor

@@ -206,15 +206,9 @@ Page({
}
})
.then(res => {
if(res.code=200){
wx.reLaunch({
url: `/pages/spellDetail/index?orderId=${orderId}&couponId=${_this.data.data.couponId}&orderGroupId=${res.data.orderGroupId}`
});
} else if (res.code == 28001){
_this.setData({
showErr:true
})
}
wx.reLaunch({
url: `/pages/spellDetail/index?orderId=${orderId}&couponId=${_this.data.data.couponId}&orderGroupId=${res.data.orderGroupId}`
});
})
.catch(err => {
console.log(err);
@@ -238,6 +232,12 @@ Page({
})
.then(res => {
wx.hideLoading()
if (res.data.orderStatus==14){
_this.setData({
showErr:true
})
return;
}
if (orderGroupId==undefined) {
wx.navigateTo({
url: '/pages/order/detail/index?orderId=' + res.data.id,


Načítá se…
Zrušit
Uložit