Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
X
xzf_uniapp-wechat-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李智书
xzf_uniapp-wechat-web
Commits
4bbbbeb1
Commit
4bbbbeb1
authored
Jan 10, 2022
by
李智书
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.充值提现;
parent
4cee79c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
10 deletions
+21
-10
src/pages/BankModule/Reflect/Reflect.vue
src/pages/BankModule/Reflect/Reflect.vue
+21
-10
No files found.
src/pages/BankModule/Reflect/Reflect.vue
View file @
4bbbbeb1
...
@@ -140,7 +140,8 @@
...
@@ -140,7 +140,8 @@
openCardPhonSms
:
""
,
openCardPhonSms
:
""
,
msCount
:
60
,
//定时器
msCount
:
60
,
//定时器
CodeMsg
:
"
获取验证码
"
,
CodeMsg
:
"
获取验证码
"
,
RechargeSmsorderNoInfo
:
{}
//第三方合作交易标识
RechargeSmsorderNoInfo
:
{},
//第三方合作交易标识
WithdrawInfo
:
null
}
}
},
},
onLoad
:
function
(
options
)
{
onLoad
:
function
(
options
)
{
...
@@ -311,12 +312,14 @@
...
@@ -311,12 +312,14 @@
// 提现
// 提现
async
ExchangeWithdraw
()
{
async
ExchangeWithdraw
()
{
let
this_
=
this
;
let
this_
=
this
;
if
(
!
this
.
RechargeSmsorderNoInfo
.
orderNo
)
{
if
(
bankInfo
.
accountType
!=
4
)
{
Dialog
({
if
(
!
this
.
RechargeSmsorderNoInfo
.
orderNo
)
{
title
:
'
系统提示
'
,
Dialog
({
message
:
'
请获取验证码!
'
title
:
'
系统提示
'
,
});
message
:
'
请获取验证码!
'
return
});
return
}
}
}
if
(
!
this
.
openCardPhonSms
)
{
if
(
!
this
.
openCardPhonSms
)
{
Dialog
({
Dialog
({
...
@@ -366,14 +369,21 @@
...
@@ -366,14 +369,21 @@
success
:
function
(
res5
)
{
success
:
function
(
res5
)
{
loading
.
hide
();
loading
.
hide
();
if
(
res5
.
code
==
"
10000
"
)
{
if
(
res5
.
code
==
"
10000
"
)
{
this
.
WithdrawInfo
=
res5
.
results
||
null
wx
.
showModal
({
wx
.
showModal
({
title
:
'
提现申请已提交
'
,
title
:
'
提现申请已提交
'
,
content
:
'
银行处理需要1-5分钟时间,充值结果以余额查询为准。
'
,
content
:
'
银行处理需要1-5分钟时间,充值结果以余额查询为准。
'
,
showCancel
:
false
,
showCancel
:
false
,
success
:
function
()
{
success
:
function
()
{
this_
.
ExchangeWithdrawQuery
();
if
(
bankInfo
.
accountType
!=
4
)
{
this_
.
ExchangeWithdrawQuery
();
}
if
(
bankInfo
.
accountType
==
4
)
{
window
.
location
.
reload
()
}
}
}
})
})
}
else
{
}
else
{
weui
.
topTips
(
res5
.
message
)
weui
.
topTips
(
res5
.
message
)
}
}
...
@@ -581,13 +591,14 @@
...
@@ -581,13 +591,14 @@
if
(
res3
.
results
.
eacTotalAmt
==
null
)
{
if
(
res3
.
results
.
eacTotalAmt
==
null
)
{
weui
.
topTips
(
"
账户信息为空,余额查询失败
"
);
weui
.
topTips
(
"
账户信息为空,余额查询失败
"
);
}
else
{
}
else
{
this_
.
ReflectMoney
=
res3
.
results
.
eacTotalAmt
*
1
this_
.
cardBalanceTx
=
(
res3
.
results
.
eacTotalAmt
*
1
).
toFixed
(
2
);
this_
.
cardBalanceTx
=
(
res3
.
results
.
eacTotalAmt
*
1
).
toFixed
(
2
);
$
(
'
.TxClsTx
'
).
attr
(
'
placeholder
'
,
$
(
'
.TxClsTx
'
).
attr
(
'
placeholder
'
,
`可提现金额
${(
res3
.
results
.
eacTotalAmt
*
1
).
toFixed
(
2
)}
元`
`可提现金额
${(
res3
.
results
.
eacTotalAmt
*
1
).
toFixed
(
2
)}
元`
)
)
this_
.
RechargeMax
=
((
2000
-
((
res3
.
results
.
eacTotalAmt
*
1
).
toFixed
(
this_
.
RechargeMax
=
((
2000
-
((
res3
.
results
.
eacTotalAmt
*
1
).
toFixed
(
2
)
*
2
)
*
1
)).
toFixed
(
2
));
1
)).
toFixed
(
2
));
this_
.
placeholder
=
`可提现金额
${(
res3
.
results
.
eacTotalAmt
*
1
).
toFixed
(
2
)}
元`
}
}
return
return
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment