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
ec16a5de
Commit
ec16a5de
authored
Jan 28, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 添加跳转查看订单详情
parent
17bd1ff8
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
+11
-3
index.tsx
src/pages/afterService/components/ReturnAnalysis/index.tsx
+9
-3
index.tsx
...Service/returnApplication/components/DetailInfo/index.tsx
+1
-0
index.tsx
...afterService/returnManage/components/DetailInfo/index.tsx
+1
-0
No files found.
src/pages/afterService/components/ReturnAnalysis/index.tsx
View file @
ec16a5de
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2020-11-05 15:18:15
* @LastEditors: XieZhiXiong
* @LastEditTime: 202
0-12-23 10:45:27
* @LastEditTime: 202
1-01-28 10:41:43
* @Description: 退货收货统计、退货发货明细
*/
import
React
,
{
useState
}
from
'react'
;
...
...
@@ -66,6 +66,11 @@ interface ReturnInfoProps {
* 退货申请单内部状态
*/
innerStatus
:
number
;
/**
* 历史记录目标路径
*/
target
:
string
;
};
const
ReturnInfo
:
React
.
FC
<
ReturnInfoProps
>
=
({
...
...
@@ -76,6 +81,7 @@ const ReturnInfo: React.FC<ReturnInfoProps> = ({
onConfirmReturnDeliver
,
onConfirmReturnReceive
,
innerStatus
,
target
,
})
=>
{
const
[
currentBatch
,
setCurrentBatch
]
=
useState
(
1
);
...
...
@@ -85,7 +91,7 @@ const ReturnInfo: React.FC<ReturnInfoProps> = ({
dataIndex
:
'orderNo'
,
render
:
(
text
,
record
)
=>
(
<
EyePreview
url=
{
``
}
url=
{
`
${target}/orderDetail?orderNo=${record.orderNo}
`
}
>
{
text
}
</
EyePreview
>
...
...
@@ -149,7 +155,7 @@ const ReturnInfo: React.FC<ReturnInfoProps> = ({
dataIndex
:
'orderNo'
,
render
:
(
text
,
record
)
=>
(
<
EyePreview
url=
{
``
}
url=
{
`
${target}/orderDetail?orderNo=${record.orderNo}
`
}
>
{
text
}
</
EyePreview
>
...
...
src/pages/afterService/returnApplication/components/DetailInfo/index.tsx
View file @
ec16a5de
...
...
@@ -411,6 +411,7 @@ const DetailInfo: React.FC<DetailInfoProps> = ({
onConfirmReturnBack=
{
handleConfirmReturnBack
}
isPurchaser=
{
true
}
innerStatus=
{
detailInfo
?.
innerStatus
}
target=
{
target
}
/>
</
Suspense
>
</
Col
>
...
...
src/pages/afterService/returnManage/components/DetailInfo/index.tsx
View file @
ec16a5de
...
...
@@ -450,6 +450,7 @@ const DetailInfo: React.FC<DetailInfoProps> = ({
detailed=
{
detailInfo
&&
detailInfo
.
returnDeliveryGoodsList
?
detailInfo
.
returnDeliveryGoodsList
:
[]
}
onConfirmReturnReceive=
{
handleReceivedConfirmReturnReceive
}
innerStatus=
{
detailInfo
?.
innerStatus
}
target=
{
target
}
/>
</
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