fix: 修复领取结算

This commit is contained in:
zhangds 2024-03-22 10:46:29 +08:00
parent 9344c4bd06
commit 61b2a098e6
1 changed files with 5 additions and 8 deletions

View File

@ -158,15 +158,12 @@
req.axiosPost("/voucher/grant", data) req.axiosPost("/voucher/grant", data)
.then((res) => { .then((res) => {
if (res.code == 200) { // 使用结算 6
// 使用结算 6 if (bm_obj_data && !bm_obj_data.settlement_data.is_settlement && bm_obj_data.settlement_data.settlement_type === 6) {
if (bm_obj_data && !bm_obj_data.settlement_data.is_settlement && bm_obj_data.settlement_data.settlement_type === 6) { settlementFun(bm_obj_data.token, bm_obj_data.settlement_data.settlement_type);
settlementFun(bm_obj_data.token, bm_obj_data.settlement_data.settlement_type);
}
const text = res.code == 200 ? '' : res.message;
this.getOrderDetail(this.orderNumber, true, text);
} }
const text = res.code == 200 ? '' : res.message;
this.getOrderDetail(this.orderNumber, true, text);
}) })
.catch((err) => { }); .catch((err) => { });
}, },