Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
6a2085fc
Commit
6a2085fc
authored
Jan 30, 2023
by
黄卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打印标签,唛头字体由6mm改为4mm
parent
86f6cc52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
PrintTag.vue
src/views/ecw/order/components/PrintTag.vue
+6
-6
No files found.
src/views/ecw/order/components/PrintTag.vue
View file @
6a2085fc
...
...
@@ -36,7 +36,7 @@
<p
style=
" padding-top: 0px; border-bottom: 0.2mm solid #333; text-align: center; line-height: 6mm; padding: 0px; padding-bottom: 2.5mm; margin: 0px; font-weight: 600; font-size: 6mm; "
>
{{
item
.
orderNo
}}
</p>
<p
style=
" padding: 0px; border-bottom: 0.2mm solid #333; text-align: center; line-height: 6mm; padding: 0px; padding-top: 2.6mm; padding-bottom: 2.6mm; margin: 0px; font-weight: 600; font-size:
6
mm; "
>
<p
style=
" padding: 0px; border-bottom: 0.2mm solid #333; text-align: center; line-height: 6mm; padding: 0px; padding-top: 2.6mm; padding-bottom: 2.6mm; margin: 0px; font-weight: 600; font-size:
4
mm; "
>
{{
item
.
marks
}}
</p>
...
...
@@ -126,14 +126,14 @@ export default {
}
this
.
currentNo
=
this
.
form
.
start
this
.
step
=
'
preview
'
}
)
}
)
}
,
print
(){
let
items
=
document
.
getElementsByClassName
(
'
order-print-tag-item
'
)
if
(
!
items
.
length
){
return
this
.
$message
.
error
(
this
.
$t
(
'
没有可打印的内容
'
))
}
lodop
().
then
(
LODOP
=>
{
LODOP
.
PRINT_INIT
(
this
.
title
);
LODOP
.
SET_PRINT_STYLE
(
"
FontSize
"
,
18
);
...
...
@@ -148,7 +148,7 @@ export default {
}
}
LODOP
.
PREVIEW
();
// // 预览
/* LODOP.PRINTA(); // 选择打印机
// 直接打印 */
...
...
@@ -157,8 +157,8 @@ export default {
console
.
error
(
'
lodop异常
'
,
err
)
// alert('请检查LODOP打印控件是否安装并启动');
}
)
}
}
}
<
/script>
\ No newline at end of file
<
/script
>
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