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
183bdb07
Commit
183bdb07
authored
Mar 20, 2023
by
袁玲利
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉充值写死3元
parent
43420463
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
21 deletions
+20
-21
src/pages/BankModule/Recharge/Recharge.vue
src/pages/BankModule/Recharge/Recharge.vue
+20
-21
No files found.
src/pages/BankModule/Recharge/Recharge.vue
View file @
183bdb07
...
...
@@ -842,25 +842,25 @@
// 充值
async
ExchangeRecharge
()
{
let
amount
,
bindMedium
,
summary
;
//
if (this.isOtherMoney) {
//
if (this.inputOtherM == "") {
//
uni.showModal({
//
title: "系统提示",
//
content: "请输入要充值的金额!",
//
});
//
return;
//
}
//
amount = this.inputOtherM * 1;
//
} else {
//
if (this.Money == "") {
//
uni.showModal({
//
title: "系统提示",
//
content: "请选择要充值的金额!",
//
});
//
return;
//
}
//
amount = this.Money * 1;
//
}
if
(
this
.
isOtherMoney
)
{
if
(
this
.
inputOtherM
==
""
)
{
uni
.
showModal
({
title
:
"
系统提示
"
,
content
:
"
请输入要充值的金额!
"
,
});
return
;
}
amount
=
this
.
inputOtherM
*
1
;
}
else
{
if
(
this
.
Money
==
""
)
{
uni
.
showModal
({
title
:
"
系统提示
"
,
content
:
"
请选择要充值的金额!
"
,
});
return
;
}
amount
=
this
.
Money
*
1
;
}
let
this_
=
this
;
if
(
!
this
.
openCardPhon
||
this
.
openCardPhon
.
length
!==
11
)
{
Dialog
({
...
...
@@ -910,8 +910,7 @@
break
;
}
let
params
=
{
// amount: (amount * 1).toFixed(2), //充值金额,单位元
amount
:
3.00
,
amount
:
(
amount
*
1
).
toFixed
(
2
),
//充值金额,单位元
mobileCode
:
this
.
openCardPhonSms
,
//短信验证码
orderNo
:
this_
.
RechargeSmsorderNoInfo
.
orderNo
,
//第三方合作交易标识,取充值短信返回的orderNo值
schoolId
:
bankInfo
.
schoolId
,
//学校id
...
...
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