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
黄庭坚
jinfa-platform
Commits
2f3ccddc
Commit
2f3ccddc
authored
Jan 21, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复滑块数值不准确的问题
parent
2bc9044a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
index.tsx
...editApplication/components/QuotaApplicationInfo/index.tsx
+2
-1
index.tsx
...le/creditManage/components/QuotaApplicationInfo/index.tsx
+3
-2
No files found.
src/pages/payandSettle/creditApplication/components/QuotaApplicationInfo/index.tsx
View file @
2f3ccddc
...
...
@@ -270,9 +270,10 @@ const QuotaApplicationInfo: React.FC<QuotaApplicationInfo> = ({
});
setFieldState
(
'quotaSlide'
,
fileState
=>
{
fileState
.
value
=
maxQuota
;
fileState
.
props
[
'x-component-props'
].
min
=
quotaInfo
.
originalQuota
;
fileState
.
props
[
'x-component-props'
].
max
=
maxQuota
;
fileState
.
props
[
'x-component-props'
].
marks
=
{
0
:
{
[
quotaInfo
.
originalQuota
||
0
]
:
{
label
:
MinMarks
,
},
[
maxQuota
]:
{
...
...
src/pages/payandSettle/creditManage/components/QuotaApplicationInfo/index.tsx
View file @
2f3ccddc
...
...
@@ -158,7 +158,7 @@ const QuotaApplicationInfo: React.FC<QuotaApplicationInfo> = ({
<
Row
gutter=
{
40
}
>
<
Col
span=
{
8
}
>
<
div
className=
{
styles
.
statistic
}
>
<
div
className=
{
styles
[
'statistic-title'
]
}
>
本期账单
(元):
</
div
>
<
div
className=
{
styles
[
'statistic-title'
]
}
>
现有额度
(元):
</
div
>
<
div
className=
{
styles
[
'statistic-amount'
]
}
>
<
Row
align=
"middle"
justify=
"space-between"
>
<
Col
span=
{
14
}
>
{
quotaInfo
.
originalQuota
}
</
Col
>
...
...
@@ -285,9 +285,10 @@ const QuotaApplicationInfo: React.FC<QuotaApplicationInfo> = ({
});
setFieldState
(
'quotaSlide'
,
fileState
=>
{
fileState
.
value
=
verify
?.
maxApplyQuota
;
fileState
.
props
[
'x-component-props'
].
min
=
quotaInfo
.
originalQuota
;
fileState
.
props
[
'x-component-props'
].
max
=
verify
?.
maxApplyQuota
;
fileState
.
props
[
'x-component-props'
].
marks
=
{
0
:
{
[
quotaInfo
.
originalQuota
||
0
]
:
{
label
:
MinMarks
,
},
[
verify
?.
maxApplyQuota
]:
{
...
...
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