Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
shenshaokai
jinfa-platform
Commits
fa5f2b97
Commit
fa5f2b97
authored
Dec 31, 2020
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 选择除微信外的支付渠道给错误提示
parent
45744d4d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
index.tsx
...tion/quotaMenage/detail/components/IntroduceRow/index.tsx
+5
-1
No files found.
src/pages/payandSettle/creditApplication/quotaMenage/detail/components/IntroduceRow/index.tsx
View file @
fa5f2b97
...
...
@@ -253,11 +253,11 @@ class IntroduceRow extends React.Component<IntroduceRowProps, IntroduceRowState>
return
;
}
message
.
destroy
();
this
.
setState
({
visibleRepayment
:
false
});
switch
(
tradeChannel
)
{
// 微信支付
case
PAY_CHANNEL_WECHAT
:
{
this
.
setState
({
visibleRepayment
:
false
});
this
.
setState
({
wxPayPrice
:
values
.
repayQuota
,
wxPayUrl
:
res
.
data
.
payQRCode
,
...
...
@@ -265,6 +265,10 @@ class IntroduceRow extends React.Component<IntroduceRowProps, IntroduceRowState>
this
.
payRecordId
=
`
${
res
.
data
.
recordId
}
`
;
this
.
handleWxPayVisible
(
true
);
}
default
:
{
message
.
warning
(
'暂不支持该支付渠道,请先选择其他支付渠道'
);
}
}
}).
finally
(()
=>
{
this
.
setState
({
repaymentSubmitLoading
:
false
});
...
...
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