fix: 修复使用结算 包码

This commit is contained in:
zhangds 2024-02-25 17:53:29 +08:00
parent 7e842df8a5
commit 692d6096bb
3 changed files with 3 additions and 3 deletions

View File

@ -106,7 +106,7 @@
function copyFunction(number) {
// 使用结算 卡密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_type);
settlementFun(bm_obj_data.token, bm_obj_data.settlement_data.settlement_type);
}
var aux = document.createElement("input");

View File

@ -353,7 +353,7 @@
// 使用成功结算 7 直充
if (bm_obj_data && !bm_obj_data.settlement_data.is_settlement && bm_obj_data.settlement_data.settlement_type === 7) {
if (state.goodsInfo.product_type === 1) {
settlementFun(bm_obj_data.token, bm_obj_data.settlement_type);
settlementFun(bm_obj_data.token, bm_obj_data.settlement_data.settlement_type);
}
}

View File

@ -219,7 +219,7 @@
// 使用结算7
if (bm_obj_data && !bm_obj_data.settlement_data.is_settlement && bm_obj_data.settlement_data.settlement_type === 6) {
if (state.goodsInfo.product_type !== 2) {
settlementFun(bm_obj_data.token, bm_obj_data.settlement_type);
settlementFun(bm_obj_data.token, bm_obj_data.settlement_data.settlement_type);
}
}