Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
b427b5a8
Commit
b427b5a8
authored
May 10, 2023
by
zhoutong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
只弹出关联单提示语,无法预装订单
parent
5168ec76
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
request.js
src/utils/request.js
+3
-0
preinstall.vue
src/views/ecw/box/shippingSea/nodePage/preinstall.vue
+16
-0
No files found.
src/utils/request.js
View file @
b427b5a8
...
...
@@ -106,6 +106,9 @@ service.interceptors.response.use(res => {
}
else
if
(
code
===
555
)
{
// 额外情况
return
Promise
.
reject
(
res
.
data
)
}
else
if
(
code
===
566
)
{
// 额外情况
return
Promise
.
reject
(
res
.
data
)
}
else
if
(
code
!==
200
)
{
Notification
.
error
({
title
:
msg
...
...
src/views/ecw/box/shippingSea/nodePage/preinstall.vue
View file @
b427b5a8
...
...
@@ -692,6 +692,22 @@ export default {
this
.
queryAllData
();
}
);
}
if
(
res
.
code
===
566
)
{
this
.
$confirm
(
res
.
msg
+
this
.
$t
(
'
是否需要一起预装?
'
),
this
.
$t
(
"
提示
"
),
{
type
:
"
warning
"
,
}
)
.
then
((
_
)
=>
{
createGoods
({
...
params
,
relationStatus
:
2
}
).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
queryAllData
();
}
);
}
);
}
)
.
catch
((
_
)
=>
{
this
.
queryAllData
();
}
);
}
}
);
}
else
{
let
params
=
{
...
...
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