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
6b73cb29
Commit
6b73cb29
authored
Sep 07, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复支付比例展示错误的问题
parent
17f9c17c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
index.tsx
src/pages/afterService/components/ReturnDetailInfo/index.tsx
+2
-2
index.tsx
src/pages/afterService/components/ReturnInfoDrawer/index.tsx
+5
-2
No files found.
src/pages/afterService/components/ReturnDetailInfo/index.tsx
View file @
6b73cb29
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2020-11-05 18:02:18
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-0
8-30 19:38:32
* @LastEditTime: 2021-0
9-07 15:24:26
* @Description: 退款明细
*/
import
React
,
{
useState
}
from
'react'
;
...
...
@@ -360,7 +360,7 @@ const ReturnDetailInfo: React.FC<ReturnDetailInfoProps> = ({
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"支付环节"
>
{
item
.
payNode
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"已支付金额(元)"
>
{
item
.
payAmount
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"支付比例"
>
{
item
.
payRatio
}
%
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"支付比例"
>
{
item
.
payRatio
*
100
}
%
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"退款金额(元)"
>
{
item
.
refundAmount
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"支付方式"
>
{
item
.
payWayName
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"退款时间"
>
{
item
.
refundTime
}
</
Descriptions
.
Item
>
...
...
src/pages/afterService/components/ReturnInfoDrawer/index.tsx
View file @
6b73cb29
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2020-11-05 17:36:45
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-09-07 1
0:02:55
* @LastEditTime: 2021-09-07 1
5:22:20
* @Description: 查看退货数量与退款金额 抽屉
*/
import
React
,
{
useEffect
,
useState
}
from
'react'
;
...
...
@@ -194,7 +194,10 @@ const ReturnInfoDrawer: React.FC<ReturnInfoDrawerProps> = ({
if
(
!
applyInfo
||
!
applyInfo
.
orderId
)
{
return
;
}
let
payList
=
applyInfo
.
payList
||
[];
let
payList
=
applyInfo
.
payList
?
applyInfo
.
payList
.
map
((
item
)
=>
({
...
item
,
payRatio
:
item
.
payRatio
*
100
,
}))
:
[];
setPayInfoLoading
(
true
);
try
{
// 编辑状态才请求支付信息,否则默认取申请信息里边的支付信息
...
...
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