fix: 领取成功卡密特殊处理
This commit is contained in:
parent
dc6e215aac
commit
e9a761d3d4
|
@ -80,6 +80,12 @@
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
goodsCount.value = Number(sessionStorage.getItem('goodsCount')) || 0;
|
goodsCount.value = Number(sessionStorage.getItem('goodsCount')) || 0;
|
||||||
getInfo();
|
getInfo();
|
||||||
|
|
||||||
|
// 领取成功结算 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);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
/* 获取详情 */
|
/* 获取详情 */
|
||||||
|
|
|
@ -204,7 +204,8 @@
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
// 领取成功结算 5
|
// 领取成功结算 5
|
||||||
if (bm_obj_data && !bm_obj_data.settlement_data.is_settlement && bm_obj_data.settlement_data.settlement_type === 5) {
|
// 卡密特殊处理
|
||||||
|
if (bm_obj_data && !bm_obj_data.settlement_data.is_settlement && bm_obj_data.settlement_data.settlement_type === 5 && this.goodInfo.product_type !== 2) {
|
||||||
settlementFun(bm_obj_data.token, bm_obj_data.settlement_data.settlement_type);
|
settlementFun(bm_obj_data.token, bm_obj_data.settlement_data.settlement_type);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue