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
8d71d1d0
Commit
8d71d1d0
authored
Apr 13, 2022
by
Gavin Peng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 送货计划协同新增送货通知单离开页面未清理变量缓存
parent
cebcc66d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
details.tsx
...r/deliveryPlanCollaboration/deliveryPlanQuery/details.tsx
+2
-1
No files found.
src/pages/order/deliveryPlanCollaboration/deliveryPlanQuery/details.tsx
View file @
8d71d1d0
...
...
@@ -196,6 +196,7 @@ const DeliveryPlanCollaborationDetails: React.FC = () => {
const
url
=
deliveryPlanType
===
'1'
?
'/memberCenter/order/deliveryNoticeManagement/awaitB2B/add'
:
'/memberCenter/order/deliveryNoticeManagement/awaitSRM/add'
noticePath
[
time
]
=
res
.
data
localStorage
.
setItem
(
'NOTICE_PATH'
,
JSON
.
stringify
(
noticePath
))
selectedTableItem
.
clear
()
setTimeout
(()
=>
{
history
.
push
(
`
${
url
}
?time=
${
time
}
`
)
},
1000
)
...
...
@@ -221,7 +222,7 @@ const DeliveryPlanCollaborationDetails: React.FC = () => {
const
time
=
new
Date
().
getTime
()
noticePath
[
time
]
=
res
.
data
localStorage
.
setItem
(
'DELIVERY_NOTICE_PATH'
,
JSON
.
stringify
(
noticePath
))
// 判断跳转
selectedTableItem
.
clear
()
setTimeout
(()
=>
{
history
.
push
(
`/memberCenter/order/deliveryNotice/synergy/create?time=
${
time
}
&ot=
${
deliveryPlanType
}
`
)
},
1000
)
...
...
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