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

1

parent 75ecae42
......@@ -591,23 +591,44 @@
setTimeout(() => {
this_.queryBankInfo();
}, 3000);
wx.showModal({
title: '充值申请已提交',
content: '银行处理需要1-5分钟时间,充值结果以余额查询为准。',
showCancel: false,
success: function() {
let accountNo = this_.bankInfo_.accountNo
accountNo = accountNo.slice(accountNo.length - 4, accountNo
.length);
let thiTime = new Date();
let str = (thiTime.getHours() + 2) + ':' + thiTime
let thiTime = new Date();
let str = ''
switch (bankInfo.accountType) {
case 3:
if (thiTime.getMinutes() + 20 >= 60) {
str = thiTime.getHours() + 1 + ':' + (60 -
thiTime
.getMinutes())
} else {
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()
uni.navigateTo({
url: `../../recharging/recharging?bankName=${this_.accountEnum[this_.bankInfo_.accountType+'']}&bankNumber=${accountNo}&time=${str}&money=${(amount * 1).toFixed(2)}`
})
}
})
break;
default:
break;
}
// 20211129
this_.RechargeSmsorderNoInfo = {}
} 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