|
|
@@ -194,7 +194,7 @@ |
|
|
|
} else {
|
|
|
|
state.fee = state.money * 100; //元换成分
|
|
|
|
}
|
|
|
|
console.log("state.fee", option)
|
|
|
|
console.log("state.fee", option, state.fee)
|
|
|
|
//跳转过来走圈存流程
|
|
|
|
if (state.connectSuccess === "1") {
|
|
|
|
/*读卡*/
|
|
|
@@ -276,12 +276,17 @@ |
|
|
|
/*进行圈层检测,此处检测仅为校验圈层状态来决定去哪里*/
|
|
|
|
console.log("进行圈层检测");
|
|
|
|
quanCheckAction().then((val : any) => {
|
|
|
|
console.log("圈存检测接口返回", val)
|
|
|
|
//如果 圈层检测正常
|
|
|
|
if (val.chargeStatus === 1) {
|
|
|
|
console.log(`进行充值检测`);
|
|
|
|
czCheckAction().then((checkResult : any) => {
|
|
|
|
console.log("进行充值检测", checkResult)
|
|
|
|
|
|
|
|
//判断订单逻辑如果有订单充值 则直接拿到订单去链接蓝牙
|
|
|
|
if (checkResult.orders && checkResult.orders.length > 0) {
|
|
|
|
state.fee = checkResult.orders[0]['rechargeMoney']
|
|
|
|
state.money = checkResult.orders[0]['rechargeMoney'] / 100
|
|
|
|
//拿到订单,存起来
|
|
|
|
state.orderNum = checkResult.orders[0].orderNum;
|
|
|
|
setItem("orderNum", state.orderNum);
|