Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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-ui
Commits
f484822f
Commit
f484822f
authored
Sep 05, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化序列号打印
parent
4a3e73fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
index.vue
src/views/mes/pro/qrcodeRecord/index.vue
+6
-1
No files found.
src/views/mes/pro/qrcodeRecord/index.vue
View file @
f484822f
...
@@ -220,8 +220,9 @@ import {postPrintPdf} from "@/utils/ruoyi"
...
@@ -220,8 +220,9 @@ import {postPrintPdf} from "@/utils/ruoyi"
handlePrint
(){},
handlePrint
(){},
printQrCode
()
{
printQrCode
()
{
let
detail
=
[]
let
detail
=
[]
const
promise
=
[]
this
.
selectRow
.
forEach
((
s
,
i
)
=>
{
this
.
selectRow
.
forEach
((
s
,
i
)
=>
{
const
res
=
updateQrcodeRecord
({...
s
,
...{
printTime
:
s
.
printTime
+
1
}}
)
promise
.
push
(
updateQrcodeRecord
({...
s
,
...{
printTime
:
s
.
printTime
+
1
}})
)
detail
.
push
({
detail
.
push
({
"barcode"
:
s
.
qrcode
,
"barcode"
:
s
.
qrcode
,
"showText"
:
''
,
"showText"
:
''
,
...
@@ -233,12 +234,16 @@ import {postPrintPdf} from "@/utils/ruoyi"
...
@@ -233,12 +234,16 @@ import {postPrintPdf} from "@/utils/ruoyi"
"gp"
:
i
+
1
"gp"
:
i
+
1
})
})
});
});
Promise
.
all
(
promise
).
then
(
res
=>
{
this
.
getList
();
})
postPrintPdf
(
postPrintPdf
(
"qrcode-50*50-2"
,
"qrcode-50*50-2"
,
{
{
detail
detail
}
}
);
);
},
},
/** 查询产品序列号打印记录列表 */
/** 查询产品序列号打印记录列表 */
getList
()
{
getList
()
{
...
...
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