Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
op-web-service
Project
Project
Details
Activity
Releases
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
bp
op-web-service
Commits
428ab37b
Commit
428ab37b
authored
Jul 28, 2021
by
pengyunqian
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/distribution' into test
parents
15743704
003c44be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
10 deletions
+19
-10
index.vue
src/pages/Groupmeal/orderManagement/index.vue
+19
-10
No files found.
src/pages/Groupmeal/orderManagement/index.vue
View file @
428ab37b
...
@@ -540,7 +540,7 @@ export default {
...
@@ -540,7 +540,7 @@ export default {
}
}
let
res
=
await
this
.
printOrderMet
(
false
);
let
res
=
await
this
.
printOrderMet
(
false
);
console
.
log
(
res
.
code
);
if
(
res
.
code
===
0
)
{
if
(
res
.
code
===
0
)
{
this
.
$message
({
this
.
$message
({
type
:
"success"
,
type
:
"success"
,
...
@@ -550,19 +550,28 @@ export default {
...
@@ -550,19 +550,28 @@ export default {
}
}
if
(
res
.
code
!==
10
)
{
if
(
res
.
code
!==
10
)
{
this
.
$message
.
error
(
res
.
reason
);
if
(
res
.
reason
)
{
this
.
$message
.
error
(
res
.
reason
);
}
else
{
this
.
$message
.
error
(
"打印失败"
);
}
return
;
return
;
}
}
try
{
if
(
res
.
reason
)
{
await
this
.
$confirm
(
res
.
reason
,
"打印"
,
{
try
{
cancelButtonText
:
"取消"
,
await
this
.
$confirm
(
res
.
reason
,
"打印"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
});
confirmButtonText
:
"确定"
,
}
catch
(
e
)
{
});
// 取消
}
catch
(
e
)
{
return
;
// 取消
return
;
}
}
else
{
this
.
$message
.
error
(
"打印失败"
);
}
}
res
=
await
this
.
printOrderMet
(
true
);
res
=
await
this
.
printOrderMet
(
true
);
// if (res.code !== 0) {
// if (res.code !== 0) {
...
...
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