Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
wmsMin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ef311d5b
authored
Jan 22, 2022
by
liangjianmin
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
打印机一个一个打
parent
8948269a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
pages/tag/print.vue
pages/tag/print.vue
View file @
ef311d5b
...
...
@@ -60,8 +60,8 @@
form
:
{
erp_order_sn_pre
:
''
,
print_type
:
1
,
erp_order_sn_number
:
''
,
label_num
:
''
,
erp_order_sn_number
:
'
05093
'
,
label_num
:
'
1
'
,
tray_remark
:
''
}
};
...
...
@@ -237,12 +237,12 @@
//发送数据 二进制
let
data
=
""
;
if
(
this
.
printLabelData
.
length
>
0
)
{
data
=
"!
0 200 200 4
50 1\r\n"
+
data
=
"!
10 200 200 2
50 1\r\n"
+
"T 8 0 10 10 入仓号:"
+
this
.
printLabelData
[
this
.
print_number
].
erp_order_sn
+
"\r\n"
+
"T 8 0 10 5
6
箱号:"
+
this
.
printLabelData
[
this
.
print_number
].
label_sort
+
'/'
+
this
.
printLabelData
[
0
].
label_num
+
"\r\n"
+
"T 8 0 10 9
6
时间:"
+
this
.
printLabelData
[
this
.
print_number
].
create_time_cn
+
"\r\n"
+
"T 8 0 10 1
42 仓库代码:"
+
this
.
printLabelData
[
this
.
print_number
].
warehouse_code
+
"\r\n"
+
"B QR 290
10 M 2 U 10
\r\n"
+
"T 8 0 10 5
0
箱号:"
+
this
.
printLabelData
[
this
.
print_number
].
label_sort
+
'/'
+
this
.
printLabelData
[
0
].
label_num
+
"\r\n"
+
"T 8 0 10 9
0
时间:"
+
this
.
printLabelData
[
this
.
print_number
].
create_time_cn
+
"\r\n"
+
"T 8 0 10 1
30 仓库代码:"
+
this
.
print_number
+
"\r\n"
+
"B QR 290
0 M 2 U 8
\r\n"
+
"MA,"
+
this
.
printLabelData
[
this
.
print_number
].
erp_order_sn
+
"\r\n"
+
"ENDQR\r\n"
+
"PRINT\r\n"
;
...
...
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