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
linweijiong
jinfa-platform
Commits
c585b300
Commit
c585b300
authored
Apr 30, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复供应商积分订单售后展示的问题
parent
1a23251a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
index.tsx
...terService/exchangeManage/components/DetailInfo/index.tsx
+7
-3
No files found.
src/pages/afterService/exchangeManage/components/DetailInfo/index.tsx
View file @
c585b300
...
...
@@ -23,6 +23,8 @@ import {
import
{
EXCHANGE_OUTER_STATUS_FINISHED
,
EXCHANGE_INNER_STATUS_UNCOMMITTED
,
ORDER_TYPE2_POINTS
,
ORDER_TYPE2_CHANNEL_POINTS
,
}
from
'@/constants'
;
import
{
normalizeFiledata
,
FileData
,
findLastIndexFlowState
}
from
'@/utils'
;
import
AvatarWrap
from
'@/components/AvatarWrap'
;
...
...
@@ -99,6 +101,8 @@ const DetailInfo: React.FC<DetailInfoProps> = ({
const
[
exchangeAddress
,
setExchangeAddress
]
=
useState
<
ExchangeAddressValues
>
(
null
);
const
[
returnAddress
,
setReturnAddress
]
=
useState
<
ReturnAddressValues
>
(
null
);
const
isPointsOrder
=
detailInfo
?.
orderType
===
ORDER_TYPE2_POINTS
||
detailInfo
?.
orderType
===
ORDER_TYPE2_CHANNEL_POINTS
;
// 获取换货申请详情
const
getDetailInfo
=
()
=>
{
if
(
!
id
)
{
...
...
@@ -203,17 +207,17 @@ const DetailInfo: React.FC<DetailInfoProps> = ({
align
:
'center'
,
},
{
title
:
'采购
数量'
,
title
:
!
isPointsOrder
?
'采购数量'
:
'兑换
数量'
,
dataIndex
:
'purchaseCount'
,
align
:
'center'
,
},
{
title
:
'采购单价
'
,
title
:
!
isPointsOrder
?
'采购单价'
:
'所需积分
'
,
dataIndex
:
'purchasePrice'
,
align
:
'center'
,
},
{
title
:
'采购金额
'
,
title
:
!
isPointsOrder
?
'采购金额'
:
'所需积分小计
'
,
dataIndex
:
'purchaseAmount'
,
align
:
'center'
,
},
...
...
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