fix: 修复领取成功结算
This commit is contained in:
parent
3b30645f0e
commit
9eed246d01
|
@ -116,11 +116,6 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
mounted() {
|
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');
|
document.title = localStorage.getItem('title');
|
||||||
this.code_batch_id = JSON.parse(sessionStorage.getItem('goodsInfo')).entity.code_batch_id;
|
this.code_batch_id = JSON.parse(sessionStorage.getItem('goodsInfo')).entity.code_batch_id;
|
||||||
this.getProductDetail();
|
this.getProductDetail();
|
||||||
|
@ -150,6 +145,20 @@
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
this.goods = res.data;
|
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();
|
}).catch();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue