|
|
@@ -152,7 +152,8 @@ |
|
|
|
state.orderNum = getItem("orderNum"); |
|
|
|
// 金额回填,本来是好的,但是他跳转了,跳转过来就得刷新页面,所以就是默认的5000 |
|
|
|
if(option.fee){ |
|
|
|
state.fee=option.fee |
|
|
|
state.fee=option.fee
|
|
|
|
state.money=option.fee/100 |
|
|
|
}else{ |
|
|
|
state.fee = state.money * 100; //元换成分 |
|
|
|
} |
|
|
@@ -317,10 +318,12 @@ |
|
|
|
cardCzXFCheckAction().then((xfRes) => { |
|
|
|
quanApplyAction(dic).then((value) => { |
|
|
|
console.log("圈层申请完后的结果"); |
|
|
|
console.log(value); |
|
|
|
console.log(value.commandType,value); |
|
|
|
//圈存初始化验证通过 , 进行圈存 |
|
|
|
if (value.commandType === 2) { |
|
|
|
uanConfirmAction(value).then((confirmResult) => { |
|
|
|
uanConfirmAction(value).then((confirmResult) => {
|
|
|
|
console.log("充值成功1111")
|
|
|
|
msg("充值成功"); |
|
|
|
navTo( |
|
|
|
`/pages/recharge/result`) |
|
|
|
}); |
|
|
@@ -374,16 +377,19 @@ |
|
|
|
console.log("消费成功"); |
|
|
|
quanApplyAction(applyDic).then((applyValue) => { |
|
|
|
uanConfirmAction(applyValue).then(( |
|
|
|
confirmResult) => { |
|
|
|
confirmResult) => {
|
|
|
|
console.log("充值成功222") |
|
|
|
msg("充值成功"); |
|
|
|
navTo( |
|
|
|
`/pages/recharge/result`) |
|
|
|
`/pages/recharge/result`)
|
|
|
|
|
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
}); |
|
|
|
} else if (fixStatus === 2) { |
|
|
|
uanConfirmSucessAction(value).then((confirmResult) => { |
|
|
|
uanConfirmSucessAction(value).then((confirmResult) => {
|
|
|
|
console.log("充值成功") |
|
|
|
msg("充值成功"); |
|
|
|
navTo(`/pages/recharge/result`) |
|
|
|
}); |
|
|
@@ -518,7 +524,8 @@ |
|
|
|
return new Promise(async (resolve, reject) => { |
|
|
|
const res = await request(quanApply, options); |
|
|
|
const data = stringToJson(res.bizContent); |
|
|
|
resolve(data); |
|
|
|
resolve(data);
|
|
|
|
console.log("quanApplyAction",data) |
|
|
|
}).catch((error) => { |
|
|
|
reject(error); |
|
|
|
}); |
|
|
@@ -537,7 +544,6 @@ |
|
|
|
res[arraylenth - 1].length |
|
|
|
); |
|
|
|
console.log("打印圈层确认指令状态"); |
|
|
|
console.log(status); |
|
|
|
if (status === "9000") { |
|
|
|
var form = { |
|
|
|
command: data.command, |
|
|
@@ -555,7 +561,8 @@ |
|
|
|
return new Promise(async (resolve, reject) => { |
|
|
|
const res = await request(quanConfirm, options); |
|
|
|
const data = stringToJson(res.bizContent); |
|
|
|
resolve(data); |
|
|
|
resolve(data);
|
|
|
|
console.log("data",data); |
|
|
|
}).catch((error) => { |
|
|
|
reject(error); |
|
|
|
}); |
|
|
@@ -580,7 +587,8 @@ |
|
|
|
return new Promise(async (resolve, reject) => { |
|
|
|
const res = await request(quanConfirm, options); |
|
|
|
const data = stringToJson(res.bizContent); |
|
|
|
resolve(data); |
|
|
|
resolve(data);
|
|
|
|
console.log("uanConfirmSucessAction",data) |
|
|
|
}).catch((error) => { |
|
|
|
reject(error); |
|
|
|
}); |