From e9a761d3d4095d968d7dbf6e363e93be0c05e020 Mon Sep 17 00:00:00 2001 From: zhangds Date: Wed, 28 Feb 2024 17:52:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=A2=86=E5=8F=96=E6=88=90=E5=8A=9F?= =?UTF-8?q?=E5=8D=A1=E5=AF=86=E7=89=B9=E6=AE=8A=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- orderDetails/cardOrder.html | 6 ++++++ packkey/exchange.html | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/orderDetails/cardOrder.html b/orderDetails/cardOrder.html index c591c8f..bfb8607 100644 --- a/orderDetails/cardOrder.html +++ b/orderDetails/cardOrder.html @@ -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); + } }); /* 获取详情 */ diff --git a/packkey/exchange.html b/packkey/exchange.html index 09a7822..134bb55 100644 --- a/packkey/exchange.html +++ b/packkey/exchange.html @@ -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); } },