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
a65f1b18
Commit
a65f1b18
authored
Dec 23, 2020
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 没有退货、换货发货信息就不展示相应的区块
parent
c8d9ed11
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
108 additions
and
72 deletions
+108
-72
index.tsx
...rvice/exchangeApplication/components/DetailInfo/index.tsx
+37
-25
index.tsx
...terService/exchangeManage/components/DetailInfo/index.tsx
+35
-23
index.tsx
...Service/returnApplication/components/DetailInfo/index.tsx
+19
-13
index.tsx
...afterService/returnManage/components/DetailInfo/index.tsx
+17
-11
No files found.
src/pages/afterService/exchangeApplication/components/DetailInfo/index.tsx
View file @
a65f1b18
...
...
@@ -343,32 +343,44 @@ const DetailInfo: React.FC<DetailInfoProps> = ({
</
Suspense
>
</
Col
>
<
Col
span=
{
24
}
>
{
/* 退货发货信息 */
}
<
Suspense
fallback=
{
null
}
>
<
ExchangeReceivedInfo
summary=
{
detailInfo
&&
detailInfo
.
returnStatisticsList
?
detailInfo
.
returnStatisticsList
:
[]
}
detailed=
{
detailInfo
&&
detailInfo
.
returnDeliveryGoodsList
?
detailInfo
.
returnDeliveryGoodsList
:
[]
}
onConfirmReturnDeliver=
{
handleReceivedConfirmReturnDeliver
}
onConfirmReturnBack=
{
handleConfirmReturnBack
}
isPurchaser=
{
true
}
innerStatus=
{
detailInfo
?.
innerStatus
}
/>
</
Suspense
>
</
Col
>
{
detailInfo
&&
detailInfo
.
returnDeliveryGoodsList
&&
detailInfo
.
returnDeliveryGoodsList
.
length
>
0
&&
(
<
Col
span=
{
24
}
>
{
/* 退货发货信息 */
}
<
Suspense
fallback=
{
null
}
>
<
ExchangeReceivedInfo
summary=
{
detailInfo
&&
detailInfo
.
returnStatisticsList
?
detailInfo
.
returnStatisticsList
:
[]
}
detailed=
{
detailInfo
&&
detailInfo
.
returnDeliveryGoodsList
?
detailInfo
.
returnDeliveryGoodsList
:
[]
}
onConfirmReturnDeliver=
{
handleReceivedConfirmReturnDeliver
}
onConfirmReturnBack=
{
handleConfirmReturnBack
}
isPurchaser=
{
true
}
innerStatus=
{
detailInfo
?.
innerStatus
}
/>
</
Suspense
>
</
Col
>
)
}
<
Col
span=
{
24
}
>
{
/* 换货收货信息 */
}
<
Suspense
fallback=
{
null
}
>
<
ExchangeDeliverInfo
summary=
{
detailInfo
&&
detailInfo
.
replaceStatisticsList
?
detailInfo
.
replaceStatisticsList
:
[]
}
detailed=
{
detailInfo
&&
detailInfo
.
replaceDeliveryGoodsList
?
detailInfo
.
replaceDeliveryGoodsList
:
[]
}
onConfirmExchangeReceive=
{
handleConfirmExchangeReceive
}
isPurchaser=
{
true
}
innerStatus=
{
detailInfo
?.
innerStatus
}
/>
</
Suspense
>
</
Col
>
{
detailInfo
&&
detailInfo
.
replaceDeliveryGoodsList
&&
detailInfo
.
replaceDeliveryGoodsList
.
length
>
0
&&
(
<
Col
span=
{
24
}
>
{
/* 换货收货信息 */
}
<
Suspense
fallback=
{
null
}
>
<
ExchangeDeliverInfo
summary=
{
detailInfo
&&
detailInfo
.
replaceStatisticsList
?
detailInfo
.
replaceStatisticsList
:
[]
}
detailed=
{
detailInfo
&&
detailInfo
.
replaceDeliveryGoodsList
?
detailInfo
.
replaceDeliveryGoodsList
:
[]
}
onConfirmExchangeReceive=
{
handleConfirmExchangeReceive
}
isPurchaser=
{
true
}
innerStatus=
{
detailInfo
?.
innerStatus
}
/>
</
Suspense
>
</
Col
>
)
}
<
Col
span=
{
24
}
>
<
Row
...
...
src/pages/afterService/exchangeManage/components/DetailInfo/index.tsx
View file @
a65f1b18
...
...
@@ -398,30 +398,42 @@ const DetailInfo: React.FC<DetailInfoProps> = ({
</
Suspense
>
</
Col
>
<
Col
span=
{
24
}
>
{
/* 退货发货信息 */
}
<
Suspense
fallback=
{
null
}
>
<
ExchangeReceivedInfo
summary=
{
detailInfo
&&
detailInfo
.
returnStatisticsList
?
detailInfo
.
returnStatisticsList
:
[]
}
detailed=
{
detailInfo
&&
detailInfo
.
returnDeliveryGoodsList
?
detailInfo
.
returnDeliveryGoodsList
:
[]
}
onConfirmReturnReceive=
{
handleReceivedConfirmReturnReceive
}
innerStatus=
{
detailInfo
?.
innerStatus
}
/>
</
Suspense
>
</
Col
>
{
detailInfo
&&
detailInfo
.
returnDeliveryGoodsList
&&
detailInfo
.
returnDeliveryGoodsList
.
length
>
0
&&
(
<
Col
span=
{
24
}
>
{
/* 退货发货信息 */
}
<
Suspense
fallback=
{
null
}
>
<
ExchangeReceivedInfo
summary=
{
detailInfo
&&
detailInfo
.
returnStatisticsList
?
detailInfo
.
returnStatisticsList
:
[]
}
detailed=
{
detailInfo
&&
detailInfo
.
returnDeliveryGoodsList
?
detailInfo
.
returnDeliveryGoodsList
:
[]
}
onConfirmReturnReceive=
{
handleReceivedConfirmReturnReceive
}
innerStatus=
{
detailInfo
?.
innerStatus
}
/>
</
Suspense
>
</
Col
>
)
}
<
Col
span=
{
24
}
>
{
/* 换货发货信息 */
}
<
Suspense
fallback=
{
null
}
>
<
ExchangeDeliverInfo
summary=
{
detailInfo
&&
detailInfo
.
replaceStatisticsList
?
detailInfo
.
replaceStatisticsList
:
[]
}
detailed=
{
detailInfo
&&
detailInfo
.
replaceDeliveryGoodsList
?
detailInfo
.
replaceDeliveryGoodsList
:
[]
}
onConfirmExchangeDeliver=
{
handleConfirmExchangeDeliver
}
onConfirmExchangeBack=
{
handleConfirmExchangeBack
}
innerStatus=
{
detailInfo
?.
innerStatus
}
/>
</
Suspense
>
</
Col
>
{
detailInfo
&&
detailInfo
.
replaceDeliveryGoodsList
&&
detailInfo
.
replaceDeliveryGoodsList
.
length
>
0
&&
(
<
Col
span=
{
24
}
>
{
/* 换货发货信息 */
}
<
Suspense
fallback=
{
null
}
>
<
ExchangeDeliverInfo
summary=
{
detailInfo
&&
detailInfo
.
replaceStatisticsList
?
detailInfo
.
replaceStatisticsList
:
[]
}
detailed=
{
detailInfo
&&
detailInfo
.
replaceDeliveryGoodsList
?
detailInfo
.
replaceDeliveryGoodsList
:
[]
}
onConfirmExchangeDeliver=
{
handleConfirmExchangeDeliver
}
onConfirmExchangeBack=
{
handleConfirmExchangeBack
}
innerStatus=
{
detailInfo
?.
innerStatus
}
/>
</
Suspense
>
</
Col
>
)
}
<
Col
span=
{
24
}
>
<
Row
...
...
src/pages/afterService/returnApplication/components/DetailInfo/index.tsx
View file @
a65f1b18
...
...
@@ -381,19 +381,25 @@ const DetailInfo: React.FC<DetailInfoProps> = ({
</
Suspense
>
</
Col
>
<
Col
span=
{
24
}
>
<
Suspense
fallback=
{
null
}
>
{
/* 退货发货信息 */
}
<
ReturnAnalysis
summary=
{
detailInfo
&&
detailInfo
.
returnStatisticsList
?
detailInfo
.
returnStatisticsList
:
[]
}
detailed=
{
detailInfo
&&
detailInfo
.
returnDeliveryGoodsList
?
detailInfo
.
returnDeliveryGoodsList
:
[]
}
onConfirmReturnDeliver=
{
handleReceivedConfirmReturnDeliver
}
onConfirmReturnBack=
{
handleConfirmReturnBack
}
isPurchaser=
{
true
}
innerStatus=
{
detailInfo
?.
innerStatus
}
/>
</
Suspense
>
</
Col
>
{
detailInfo
&&
detailInfo
.
returnDeliveryGoodsList
&&
detailInfo
.
returnDeliveryGoodsList
.
length
>
0
&&
(
<
Col
span=
{
24
}
>
<
Suspense
fallback=
{
null
}
>
{
/* 退货发货信息 */
}
<
ReturnAnalysis
summary=
{
detailInfo
&&
detailInfo
.
returnStatisticsList
?
detailInfo
.
returnStatisticsList
:
[]
}
detailed=
{
detailInfo
&&
detailInfo
.
returnDeliveryGoodsList
?
detailInfo
.
returnDeliveryGoodsList
:
[]
}
onConfirmReturnDeliver=
{
handleReceivedConfirmReturnDeliver
}
onConfirmReturnBack=
{
handleConfirmReturnBack
}
isPurchaser=
{
true
}
innerStatus=
{
detailInfo
?.
innerStatus
}
/>
</
Suspense
>
</
Col
>
)
}
{
/* 退款明细信息 */
}
{
...
...
src/pages/afterService/returnManage/components/DetailInfo/index.tsx
View file @
a65f1b18
...
...
@@ -430,17 +430,23 @@ const DetailInfo: React.FC<DetailInfoProps> = ({
</
Suspense
>
</
Col
>
<
Col
span=
{
24
}
>
<
Suspense
fallback=
{
null
}
>
{
/* 退货发货信息 */
}
<
ReturnAnalysis
summary=
{
detailInfo
&&
detailInfo
.
returnStatisticsList
?
detailInfo
.
returnStatisticsList
:
[]
}
detailed=
{
detailInfo
&&
detailInfo
.
returnDeliveryGoodsList
?
detailInfo
.
returnDeliveryGoodsList
:
[]
}
onConfirmReturnReceive=
{
handleReceivedConfirmReturnReceive
}
innerStatus=
{
detailInfo
?.
innerStatus
}
/>
</
Suspense
>
</
Col
>
{
detailInfo
&&
detailInfo
.
returnDeliveryGoodsList
&&
detailInfo
.
returnDeliveryGoodsList
.
length
>
0
&&
(
<
Col
span=
{
24
}
>
<
Suspense
fallback=
{
null
}
>
{
/* 退货发货信息 */
}
<
ReturnAnalysis
summary=
{
detailInfo
&&
detailInfo
.
returnStatisticsList
?
detailInfo
.
returnStatisticsList
:
[]
}
detailed=
{
detailInfo
&&
detailInfo
.
returnDeliveryGoodsList
?
detailInfo
.
returnDeliveryGoodsList
:
[]
}
onConfirmReturnReceive=
{
handleReceivedConfirmReturnReceive
}
innerStatus=
{
detailInfo
?.
innerStatus
}
/>
</
Suspense
>
</
Col
>
)
}
{
/* 退款明细信息 */
}
{
...
...
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