diff --git a/packkey/combining.html b/packkey/combining.html index a61d131..36324f5 100644 --- a/packkey/combining.html +++ b/packkey/combining.html @@ -116,11 +116,6 @@ }, mounted() { - // 领取成功结算 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); - } - document.title = localStorage.getItem('title'); this.code_batch_id = JSON.parse(sessionStorage.getItem('goodsInfo')).entity.code_batch_id; this.getProductDetail(); @@ -150,6 +145,20 @@ }).then(res => { if (res.code == 200) { this.goods = res.data; + + // 代码暂时这样 + if (res.data.group_info.channel == 1 && res.data.group_info.receive_mode == 1) { + + } else if (res.data.group_info.channel == 2) { + + } else { + // 领取成功结算 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); + } + } + + } }).catch(); },