Commit 4114c627 authored by 李智书's avatar 李智书

1

parent 75ecae42
...@@ -591,23 +591,44 @@ ...@@ -591,23 +591,44 @@
setTimeout(() => { setTimeout(() => {
this_.queryBankInfo(); this_.queryBankInfo();
}, 3000); }, 3000);
wx.showModal({ let thiTime = new Date();
title: '充值申请已提交', let str = ''
content: '银行处理需要1-5分钟时间,充值结果以余额查询为准。', switch (bankInfo.accountType) {
showCancel: false, case 3:
success: function() { if (thiTime.getMinutes() + 20 >= 60) {
let accountNo = this_.bankInfo_.accountNo str = thiTime.getHours() + 1 + ':' + (60 -
accountNo = accountNo.slice(accountNo.length - 4, accountNo thiTime
.length); .getMinutes())
let thiTime = new Date(); } else {
let str = (thiTime.getHours() + 2) + ':' + thiTime str = thiTime.getHours() + ':' + (thiTime
.getMinutes() + 20)
}
wx.showModal({
title: '充值申请已提交',
content: '银行处理需要1-20分钟时间,充值结果以余额查询为准。',
showCancel: false,
success: function() {
let accountNo = this_.bankInfo_.accountNo
accountNo = accountNo.slice(accountNo.length - 4,
accountNo
.length);
uni.navigateTo({
url: `../../recharging/recharging?bankName=${this_.accountEnum[this_.bankInfo_.accountType+'']}&bankNumber=${accountNo}&time=${str}&money=${(amount * 1).toFixed(2)}`
})
}
})
break;
case 4:
str = (thiTime.getHours() + 2) + ':' + thiTime
.getMinutes() .getMinutes()
uni.navigateTo({ uni.navigateTo({
url: `../../recharging/recharging?bankName=${this_.accountEnum[this_.bankInfo_.accountType+'']}&bankNumber=${accountNo}&time=${str}&money=${(amount * 1).toFixed(2)}` url: `../../recharging/recharging?bankName=${this_.accountEnum[this_.bankInfo_.accountType+'']}&bankNumber=${accountNo}&time=${str}&money=${(amount * 1).toFixed(2)}`
}) })
} break;
}) default:
break;
}
// 20211129 // 20211129
this_.RechargeSmsorderNoInfo = {} this_.RechargeSmsorderNoInfo = {}
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment