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
6db6c830
Commit
6db6c830
authored
Oct 23, 2020
by
GuanHua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:换货详情页面
parent
80614671
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
142 additions
and
1 deletion
+142
-1
index.tsx
...xchangeGoods/orderPreview/components/historyLog/index.tsx
+20
-0
index.less
...rService/exchangeGoods/orderPreview/components/index.less
+8
-0
index.tsx
...angeGoods/orderPreview/components/replaceDetail/index.tsx
+36
-0
index.tsx
...hangeGoods/orderPreview/components/replaceGoods/index.tsx
+27
-0
index.tsx
...changeGoods/orderPreview/components/returnGoods/index.tsx
+36
-0
index.tsx
src/pages/afterService/exchangeGoods/orderPreview/index.tsx
+15
-1
No files found.
src/pages/afterService/exchangeGoods/orderPreview/components/historyLog/index.tsx
0 → 100644
View file @
6db6c830
import
React
from
'react'
import
{
Card
}
from
'antd'
import
styles
from
'../index.less'
interface
HistoryLogPropsType
{
}
const
HistoryLog
:
React
.
FC
<
HistoryLogPropsType
>
=
(
props
)
=>
{
const
{
}
=
props
return
(
<
Card
className=
{
styles
.
card_wrap
}
>
<
div
className=
{
styles
.
card_title
}
>
历史流转记录
</
div
>
</
Card
>
)
}
export
default
HistoryLog
src/pages/afterService/exchangeGoods/orderPreview/components/index.less
View file @
6db6c830
.card_wrap {
position: relative;
&:not(:last-child) {
margin-bottom: 24px;
}
.card_title {
font-size: 16px;
font-weight: bold;
...
...
@@ -40,6 +44,10 @@
padding-top: 8px;
}
.ant-tabs-tab {
color: #909399;
}
.ant-tabs-top>.ant-tabs-nav::before,
.ant-tabs-top>div>.ant-tabs-nav::before {
border-bottom: none;
...
...
src/pages/afterService/exchangeGoods/orderPreview/components/replaceDetail/index.tsx
0 → 100644
View file @
6db6c830
import
React
from
'react'
import
{
Card
,
Tabs
}
from
'antd'
import
styles
from
'../index.less'
interface
taskItemType
{
step
:
number
,
taskName
:
string
,
roleName
:
string
,
isExecute
:
number
}
interface
ReplaceDetailPropsType
{
}
const
{
TabPane
}
=
Tabs
const
ReplaceDetail
:
React
.
FC
<
ReplaceDetailPropsType
>
=
(
props
)
=>
{
const
{
}
=
props
return
(
<
Card
className=
{
styles
.
card_wrap
}
>
<
Tabs
defaultActiveKey=
"1"
>
<
TabPane
tab=
"换货收货统计"
key=
"1"
>
换货收货统计
</
TabPane
>
<
TabPane
tab=
"换货收货明细"
key=
"2"
>
换货收货明细
</
TabPane
>
</
Tabs
>
</
Card
>
)
}
export
default
ReplaceDetail
src/pages/afterService/exchangeGoods/orderPreview/components/replaceGoods/index.tsx
0 → 100644
View file @
6db6c830
import
React
from
'react'
import
{
Card
}
from
'antd'
import
styles
from
'../index.less'
interface
taskItemType
{
step
:
number
,
taskName
:
string
,
roleName
:
string
,
isExecute
:
number
}
interface
ReplaceGoodsPropsType
{
}
const
ReplaceGoods
:
React
.
FC
<
ReplaceGoodsPropsType
>
=
(
props
)
=>
{
const
{
}
=
props
return
(
<
Card
className=
{
styles
.
card_wrap
}
>
<
div
className=
{
styles
.
card_title
}
>
换货商品
</
div
>
</
Card
>
)
}
export
default
ReplaceGoods
src/pages/afterService/exchangeGoods/orderPreview/components/returnGoods/index.tsx
0 → 100644
View file @
6db6c830
import
React
from
'react'
import
{
Card
,
Tabs
}
from
'antd'
import
styles
from
'../index.less'
interface
taskItemType
{
step
:
number
,
taskName
:
string
,
roleName
:
string
,
isExecute
:
number
}
interface
ReturnGoodsPropsType
{
}
const
{
TabPane
}
=
Tabs
const
ReturnGoods
:
React
.
FC
<
ReturnGoodsPropsType
>
=
(
props
)
=>
{
const
{
}
=
props
return
(
<
Card
className=
{
styles
.
card_wrap
}
>
<
Tabs
defaultActiveKey=
"1"
>
<
TabPane
tab=
"退货发货统计"
key=
"1"
>
退货发货统计
</
TabPane
>
<
TabPane
tab=
"退货发货明细"
key=
"2"
>
退货发货明细
</
TabPane
>
</
Tabs
>
</
Card
>
)
}
export
default
ReturnGoods
src/pages/afterService/exchangeGoods/orderPreview/index.tsx
View file @
6db6c830
import
React
,
{
useState
,
useEffect
}
from
'react'
import
{
Spin
}
from
'antd'
import
{
Spin
,
Row
,
Col
}
from
'antd'
import
OrderDetailHeader
from
'../../components/OrderDetailHeader'
import
OrderDetailWrapper
from
'../../components/OrderDetailWrapper'
import
OrderProcess
from
'./components/orderProcess'
import
ReplaceGoods
from
'./components/replaceGoods'
import
ReturnGoods
from
'./components/returnGoods'
import
ReplaceDetail
from
'./components/replaceDetail'
import
HistoryLog
from
'./components/HistoryLog'
interface
OrderPreviewPropsType
{
}
...
...
@@ -153,6 +157,16 @@ const OrderPreview: React.FC<OrderPreviewPropsType> = (props) => {
innerTaskList=
{
innerTaskList
}
showTabs=
{
false
}
/>
<
ReplaceGoods
/>
<
ReturnGoods
/>
<
ReplaceDetail
/>
<
Row
gutter=
{
[
24
,
24
]
}
>
<
Col
xxl=
{
6
}
xl=
{
12
}
lg=
{
12
}
><
HistoryLog
/></
Col
>
<
Col
xxl=
{
6
}
xl=
{
12
}
lg=
{
12
}
><
HistoryLog
/></
Col
>
<
Col
xxl=
{
6
}
xl=
{
12
}
lg=
{
12
}
><
HistoryLog
/></
Col
>
<
Col
xxl=
{
6
}
xl=
{
12
}
lg=
{
12
}
><
HistoryLog
/></
Col
>
</
Row
>
<
HistoryLog
/>
</
OrderDetailWrapper
>
</
Spin
>
)
...
...
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