Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-pad
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
ximai
mes-pad
Commits
b0617d60
Commit
b0617d60
authored
Mar 20, 2024
by
张海景
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:修改打印提示逻辑
parent
d4b28719
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
index.vue
pages/mes/prodReport/index.vue
+6
-4
No files found.
pages/mes/prodReport/index.vue
View file @
b0617d60
...
...
@@ -1607,10 +1607,6 @@ export default {
this
.
open
=
false
;
},
handleSubmitfeedback
()
{
if
(
!
this
.
vuex_printConnect
)
{
this
.
$u
.
toast
(
'打印机连接失败'
);
return
}
this
.
open
=
true
;
this
.
feedbackForms
.
forEach
((
item
)
=>
{
if
(
item
.
quantityQualify
===
0
&&
item
.
quantityUnqualify
===
0
)
{
...
...
@@ -1662,6 +1658,12 @@ export default {
this
.
open
=
false
;
if
(
res
.
msg
===
'操作成功'
)
{
this
.
$u
.
toast
(
'上报成功'
);
if
(
item
.
printTemplate
||
item
.
whether
==
'1'
)
{
if
(
!
this
.
vuex_printConnect
)
{
this
.
$u
.
toast
(
'打印机连接失败'
);
return
}
}
if
(
item
.
printTemplate
)
{
let
params
=
{}
res
.
data
.
forEach
(
item
=>
{
...
...
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