fix: 领取成功卡密特殊处理

This commit is contained in:
zhangds 2024-02-28 17:52:36 +08:00
parent dc6e215aac
commit e9a761d3d4
2 changed files with 9 additions and 2 deletions

View File

@ -80,6 +80,12 @@
onMounted(() => {
goodsCount.value = Number(sessionStorage.getItem('goodsCount')) || 0;
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);
}
});
/* 获取详情 */

View File

@ -203,8 +203,9 @@
});
},
mounted() {
// 领取成功结算 5
if (bm_obj_data && !bm_obj_data.settlement_data.is_settlement && bm_obj_data.settlement_data.settlement_type === 5) {
// 领取成功结算 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);
}
},