Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
cloudSystem
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
3f680c5e
authored
Feb 08, 2025
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add
parent
0ffc7a9b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
0 deletions
src/views/consignmentManagement/createConsignmentRecallOrder.vue
src/views/consignmentManagement/createConsignmentRecallOrder.vue
View file @
3f680c5e
...
...
@@ -230,6 +230,7 @@ export default {
}).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
this
.
$message
.
success
(
'提交成功'
);
this
.
closetab
(
'/createConsignmentRecallOrder'
)
this
.
$router
.
push
(
'/consignmentRecall'
);
}
else
{
this
.
$message
.
error
(
res
.
msg
);
...
...
@@ -283,6 +284,38 @@ export default {
this
.
getWmsStockList
();
},
/**
* 关闭当前页面
* @param path
*/
closetab
(
path
)
{
let
tab_arr
=
JSON
.
parse
(
sessionStorage
.
getItem
(
'tabs'
))
for
(
var
i
=
0
;
i
<
tab_arr
.
length
;
i
++
)
{
if
(
tab_arr
[
i
].
path
==
path
)
{
tab_arr
.
splice
(
i
,
1
);
sessionStorage
.
setItem
(
'tabs'
,
JSON
.
stringify
(
tab_arr
));
if
(
path
==
this
.
$route
.
path
)
{
if
(
i
==
0
)
{
this
.
$router
.
push
({
path
:
"/"
})
}
else
{
if
(
tab_arr
[
i
-
1
].
query
)
{
this
.
$router
.
push
({
path
:
tab_arr
[
i
-
1
].
path
,
query
:
tab_arr
[
i
-
1
].
query
})
}
else
{
this
.
$router
.
push
({
path
:
tab_arr
[
i
-
1
].
path
,
})
}
}
}
break
;
}
}
},
/**
* 获取wms库存列表
*/
getWmsStockList
()
{
...
...
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