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
2bc9044a
Commit
2bc9044a
authored
Jan 21, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 添加编辑物流单
parent
d4423b22
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
1 deletion
+25
-1
index.tsx
...vice/exchangeApplication/exchangePrAddLogistics/index.tsx
+13
-1
index.tsx
...erService/exchangeManage/exchangePrAddLogistics/index.tsx
+12
-0
No files found.
src/pages/afterService/exchangeApplication/exchangePrAddLogistics/index.tsx
View file @
2bc9044a
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2020-11-18 11:22:44
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-01-
07 11:10:08
* @LastEditTime: 2021-01-
21 16:09:14
* @Description: 待新增换货发货单
*/
import
React
,
{
useState
,
useRef
}
from
'react'
;
...
...
@@ -20,6 +20,7 @@ import { PublicApi } from '@/services/api';
import
{
EXCHANGE_INNER_STATUS_CONSUMER_NOT_ADDED_LOGISTICS
,
EXCHANGE_INNER_STATUS_CONSUMER_UNCONFIRMED_LOGISTICS
,
EXCHANGE_INNER_STATUS_UNACCEPTED_RETURN_LOGISTICS
,
}
from
'@/constants'
;
import
{
useStateFilterSearchLinkageEffect
}
from
'@/formSchema/effects/useFilterSearch'
;
import
{
FORM_FILTER_PATH
}
from
'@/formSchema/const'
;
...
...
@@ -128,6 +129,17 @@ const ExchangePrAddLogistics: React.FC = () => {
查看物流单
</
Button
>
)
}
{
record
.
innerStatus
===
EXCHANGE_INNER_STATUS_UNACCEPTED_RETURN_LOGISTICS
&&
(
<
Button
type=
"link"
onClick=
{
()
=>
history
.
push
(
`/memberCenter/logisticsAbility/logisticsSubmit/toOrderSumitList/edit?id=${record.replaceId}`
)
}
>
编辑
</
Button
>
)
}
</>
),
},
...
...
src/pages/afterService/exchangeManage/exchangePrAddLogistics/index.tsx
View file @
2bc9044a
...
...
@@ -20,6 +20,7 @@ import { PublicApi } from '@/services/api';
import
{
EXCHANGE_INNER_STATUS_SUPPLIER_NOT_ADDED_LOGISTICS
,
EXCHANGE_INNER_STATUS_SUPPLIER_UNCONFIRMED_LOGISTICS
,
EXCHANGE_INNER_STATUS_UNACCEPTED_RETURN_EXCHANGE
,
}
from
'@/constants'
;
import
{
useStateFilterSearchLinkageEffect
}
from
'@/formSchema/effects/useFilterSearch'
;
import
{
FORM_FILTER_PATH
}
from
'@/formSchema/const'
;
...
...
@@ -128,6 +129,17 @@ const ReturnPrAddLogistics: React.FC = () => {
查看物流单
</
Button
>
)
}
{
record
.
innerStatus
===
EXCHANGE_INNER_STATUS_UNACCEPTED_RETURN_EXCHANGE
&&
(
<
Button
type=
"link"
onClick=
{
()
=>
history
.
push
(
`/memberCenter/logisticsAbility/logisticsSubmit/toOrderSumitList/edit?id=${record.replaceId}`
)
}
>
编辑
</
Button
>
)
}
</>
),
},
...
...
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