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
2e3f0e82
Commit
2e3f0e82
authored
Mar 30, 2024
by
李驰骋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报工BUG修复
parent
fa011db2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
29 deletions
+26
-29
index.vue
pages/mes/prodReport/index.vue
+26
-29
No files found.
pages/mes/prodReport/index.vue
View file @
2e3f0e82
...
...
@@ -1841,38 +1841,35 @@ export default {
.
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
proVisible
=
false
;
if
(
res
.
msg
===
'操作成功'
)
{
this
.
$u
.
toast
(
'上报成功'
);
if
(
item
.
printTemplate
)
{
let
params
=
{};
res
.
data
.
forEach
((
datas
)
=>
{
params
=
{
reportName
:
'mysql:'
+
item
.
printTemplate
,
values
:
{
proWorkorder
:
datas
.
proWorkorder
,
size
:
datas
.
size
,
directive
:
datas
.
directive
}
};
datas
.
packagePrintList
.
forEach
((
v
)
=>
{
params
.
values
.
packagePrint
=
v
;
this
.
printPdfSocket
(
params
);
});
});
}
if
(
item
.
whether
==
'1'
)
{
this
.
printPdfSocket
({
reportName
:
'mysql:qrcode-50*50-2'
,
if
(
item
.
printTemplate
)
{
let
params
=
{};
res
.
data
.
forEach
((
datas
)
=>
{
params
=
{
reportName
:
'mysql:'
+
item
.
printTemplate
,
values
:
{
detail
:
[
{
barcode
:
item
.
printContents
,
gp
:
item
.
printContents
}
]
proWorkorder
:
datas
.
proWorkorder
,
size
:
datas
.
size
,
directive
:
datas
.
directive
}
};
datas
.
packagePrintList
.
forEach
((
v
)
=>
{
params
.
values
.
packagePrint
=
v
;
this
.
printPdfSocket
(
params
);
});
}
});
}
if
(
item
.
whether
==
'1'
)
{
this
.
printPdfSocket
({
reportName
:
'mysql:qrcode-50*50-2'
,
values
:
{
detail
:
[
{
barcode
:
item
.
printContents
,
gp
:
item
.
printContents
}
]
}
});
}
if
(
!
res
.
msg
)
{
this
.
$u
.
toast
(
'上报成功'
);
...
...
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