fix: 增加组合商品, 结算
This commit is contained in:
parent
10cf4e586f
commit
d0942afaec
|
@ -219,8 +219,19 @@
|
|||
req.axiosPost("/voucher/groupVoucherGrant", params)
|
||||
.then((res) => {
|
||||
if (res.code == 200) {
|
||||
// 领取成功结算 5
|
||||
if (bm_obj_data && !bm_obj_data.settlement_data.is_settlement && bm_obj_data.settlement_data.settlement_type === 5) {
|
||||
settlementFun(bm_obj_data.token, bm_obj_data.settlement_data.settlement_type);
|
||||
}
|
||||
|
||||
// 使用结算 6
|
||||
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);
|
||||
}
|
||||
|
||||
this.message = '领取成功';
|
||||
this.getProductDetail();
|
||||
|
||||
} else {
|
||||
this.axiosErrorFun(res.code, res.message);
|
||||
}
|
||||
|
@ -230,6 +241,16 @@
|
|||
|
||||
/* 支付宝官方领取H5跳转 */
|
||||
toLinkAlipay() {
|
||||
// 领取成功结算 5
|
||||
if (bm_obj_data && !bm_obj_data.settlement_data.is_settlement && bm_obj_data.settlement_data.settlement_type === 5) {
|
||||
settlementFun(bm_obj_data.token, bm_obj_data.settlement_data.settlement_type);
|
||||
}
|
||||
|
||||
// 使用结算 6
|
||||
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);
|
||||
}
|
||||
|
||||
let self = this;
|
||||
let banklink = encodeURIComponent(
|
||||
window.location.origin +
|
||||
|
|
Loading…
Reference in New Issue