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
7e2e582b
Commit
7e2e582b
authored
Jul 16, 2024
by
chenzj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报工的二维码优化
parent
f0af1f79
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
index.vue
pages/mes/prodReport/index.vue
+4
-3
No files found.
pages/mes/prodReport/index.vue
View file @
7e2e582b
...
...
@@ -2531,12 +2531,13 @@ export default {
}
let
workunitName
=
''
;
console
.
log
(
item
.
taskId
);
if
(
item
.
whether
==
'1'
)
{
this
.
$u
.
api
.
getNextProcess
({
taskId
:
item
.
taskId
}).
then
(
workunit
=>
{
workunitName
=
workunit
.
data
.
workunitName
;
console
.
log
(
item
.
arrangeCode
,
item
.
workorderCode
,
item
.
quantityQualify
,
workunitName
);
let
aa
=
'编排单号:'
+
item
.
arrangeCode
+
'
\
n工单号:'
+
item
.
workorderCode
+
'
\
n数量:'
+
item
.
quantityQualify
+
'
\
n下一道工序:'
+
workunitName
;
console
.
log
(
aa
);
if
(
item
.
whether
==
'1'
)
{
this
.
printPdfSocket
({
reportName
:
'mysql:qrcode-50*50-2'
,
values
:
{
...
...
@@ -2554,8 +2555,8 @@ export default {
]
}
});
}
});
}
);
}
if
(
!
res
.
msg
)
{
this
.
$u
.
toast
(
'上报成功'
);
}
else
{
...
...
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