fix: 修改领取立减金
This commit is contained in:
parent
803adb75cb
commit
e505bf2706
|
@ -181,6 +181,7 @@
|
|||
settlementFun(bm_obj_data.token, bm_obj_data.settlement_data.settlement_type);
|
||||
}
|
||||
|
||||
setTimeout(() => {
|
||||
if (this.goods.group_info.channel == 1 && this.goods.group_info.receive_mode == 1) {
|
||||
/* 支付宝官方领取 */
|
||||
this.toLinkAlipay();
|
||||
|
@ -189,6 +190,9 @@
|
|||
window.location.replace(res.data.redirect_url);
|
||||
}
|
||||
this.getProductDetail();
|
||||
}, 300)
|
||||
|
||||
|
||||
} else {
|
||||
this.axiosErrorFun(res.code, res.message);
|
||||
}
|
||||
|
@ -257,10 +261,13 @@
|
|||
if (bm_obj_data && !bm_obj_data.settlement_data.is_settlement && bm_obj_data.settlement_data.settlement_type === 6) {
|
||||
settlementFun(bm_obj_data.token, bm_obj_data.settlement_data.settlement_type);
|
||||
}
|
||||
|
||||
setTimeout(() => {
|
||||
this.loading = false;
|
||||
this.message = '领取成功';
|
||||
this.getProductDetail();
|
||||
|
||||
}, 300)
|
||||
|
||||
} else {
|
||||
this.axiosErrorFun(code, message);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue