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
73374483
Commit
73374483
authored
Jan 13, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 添加订单、单据、物流单跳转逻辑
parent
4135a450
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
73 additions
and
11 deletions
+73
-11
index.tsx
...es/afterService/components/ExchangeReceivedInfo/index.tsx
+29
-6
interface.d.ts
...terService/components/ExchangeReceivedInfo/interface.d.ts
+9
-1
index.tsx
src/pages/afterService/components/ReturnAnalysis/index.tsx
+26
-3
interface.d.ts
...ges/afterService/components/ReturnAnalysis/interface.d.ts
+9
-1
No files found.
src/pages/afterService/components/ExchangeReceivedInfo/index.tsx
View file @
73374483
...
...
@@ -2,8 +2,8 @@
* @Author: XieZhiXiong
* @Date: 2020-11-05 15:18:15
* @LastEditors: XieZhiXiong
* @LastEditTime: 202
0-12-22 11:25:50
* @Description:
退货收货统计、退
货发货明细
* @LastEditTime: 202
1-01-13 18:34:42
* @Description:
换货收货统计、换
货发货明细
*/
import
React
,
{
useState
}
from
'react'
;
import
{
Tabs
,
Button
,
Row
,
Col
,
Descriptions
,
Badge
,
Radio
,
Modal
}
from
'antd'
;
...
...
@@ -11,6 +11,7 @@ import {
ClockCircleOutlined
,
ExclamationCircleOutlined
,
}
from
'@ant-design/icons'
;
import
{
Link
}
from
'umi'
;
import
{
SummaryData
,
Detailed
}
from
'./interface'
;
import
MellowCard
from
'@/components/MellowCard'
;
import
{
EditableColumns
}
from
'@/components/PolymericTable/interface'
;
...
...
@@ -287,13 +288,35 @@ const ExchangeReceivedInfo: React.FC<ExchangeReceivedInfoProps> = ({
<
Row
align=
"middle"
>
<
Col
span=
{
16
}
>
<
Descriptions
>
<
Descriptions
.
Item
label=
"退货发货单号"
>
<
a
>
{
item
.
deliveryNo
}
</
a
>
<
Descriptions
.
Item
label=
"换货发货单号"
>
{
!
isPurchaser
?
(
<
Link
to=
{
`/memberCenter/tranactionAbility/stockSellStorage/bills/detail?id=${item.deliveryId}`
}
>
{
item
.
deliveryNo
}
</
Link
>
)
:
(
item
.
deliveryNo
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"物流单号"
>
<
a
>
{
item
.
logisticsOrderNo
}
</
a
>
<
Link
to=
{
`/memberCenter/logisticsAbility/logisticsSubmit/orderSubmitSearchList/detail?id=${item.logisticsId}`
}
>
{
item
.
logisticsOrderNo
}
</
Link
>
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"换货入库单号"
>
{
isPurchaser
?
(
<
Link
to=
{
`/memberCenter/tranactionAbility/stockSellStorage/bills/detail?id=${item.storageId}`
}
>
{
item
.
storageNo
}
</
Link
>
)
:
(
item
.
storageNo
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"退货入库单号"
>
{
item
.
storageNo
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"发货时间"
>
{
item
.
deliveryTime
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"物流公司"
>
{
item
.
logisticsName
}
...
...
src/pages/afterService/components/ExchangeReceivedInfo/interface.d.ts
View file @
73374483
...
...
@@ -54,7 +54,7 @@ export interface SummaryData {
export
interface
Detailed
{
/**
*
发货
Id
*
换货发货单号
Id
*/
deliveryId
:
number
/**
...
...
@@ -94,6 +94,14 @@ export interface Detailed {
*/
innerStatusName
:
string
/**
* 物流单Id
*/
logisticsId
:
number
/**
* 换货入库单号Id
*/
storageId
:
number
/**
* 发货明细 ,DeliveryGoodsDetailVO
*/
detailList
:
{
...
...
src/pages/afterService/components/ReturnAnalysis/index.tsx
View file @
73374483
...
...
@@ -11,6 +11,7 @@ import {
ClockCircleOutlined
,
ExclamationCircleOutlined
,
}
from
'@ant-design/icons'
;
import
{
Link
}
from
'umi'
;
import
{
SummaryData
,
Detailed
}
from
'./interface'
;
import
MellowCard
from
'@/components/MellowCard'
;
import
{
EditableColumns
}
from
'@/components/PolymericTable/interface'
;
...
...
@@ -287,12 +288,34 @@ const ReturnInfo: React.FC<ReturnInfoProps> = ({
<
Col
span=
{
16
}
>
<
Descriptions
>
<
Descriptions
.
Item
label=
"退货发货单号"
>
<
a
>
{
item
.
deliveryNo
}
</
a
>
{
isPurchaser
?
(
<
Link
to=
{
`/memberCenter/tranactionAbility/stockSellStorage/bills/detail?id=${item.deliveryId}`
}
>
{
item
.
deliveryNo
}
</
Link
>
)
:
(
item
.
deliveryNo
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"物流单号"
>
<
a
>
{
item
.
logisticsOrderNo
}
</
a
>
<
Link
to=
{
`/memberCenter/logisticsAbility/logisticsSubmit/orderSubmitSearchList/detail?id=${item.logisticsId}`
}
>
{
item
.
logisticsOrderNo
}
</
Link
>
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"退货入库单号"
>
{
!
isPurchaser
?
(
<
Link
to=
{
`/memberCenter/tranactionAbility/stockSellStorage/bills/detail?id=${item.storageId}`
}
>
{
item
.
storageNo
}
</
Link
>
)
:
(
item
.
storageNo
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"退货入库单号"
>
{
item
.
storageNo
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"发货时间"
>
{
item
.
deliveryTime
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"物流公司"
>
{
item
.
logisticsName
}
...
...
src/pages/afterService/components/ReturnAnalysis/interface.d.ts
View file @
73374483
...
...
@@ -54,7 +54,7 @@ export interface SummaryData {
export
interface
Detailed
{
/**
*
发货
Id
*
退货发货单号
Id
*/
deliveryId
:
number
/**
...
...
@@ -94,6 +94,14 @@ export interface Detailed {
*/
innerStatusName
:
string
/**
* 物流单Id
*/
logisticsId
:
number
/**
* 退货入库单号Id
*/
storageId
:
number
/**
* 发货明细 ,DeliveryGoodsDetailVO
*/
detailList
:
{
...
...
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