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
da219d06
authored
Feb 21, 2022
by
liangjianmin
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
增加流水号
parent
db5b1062
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
pages/tag/print.vue
util/api.js
pages/tag/print.vue
View file @
da219d06
...
...
@@ -65,10 +65,7 @@
};
},
created
()
{
this
.
getTraySelectOption
();
},
methods
:
{
getTraySelectOption
()
{
...
...
@@ -241,7 +238,7 @@
//发送数据 二进制
let
data
=
[];
if
(
this
.
printLabelData
.
length
>
0
)
{
data
.
push
(
"! 60 200 200 2
0
0 1\r\n"
);
data
.
push
(
"! 60 200 200 2
5
0 1\r\n"
);
data
.
push
(
"T 8 0 10 20 入仓号:"
+
this
.
printLabelData
[
this
.
print_number
].
erp_order_sn
+
"\r\n"
);
if
(
this
.
form
.
print_type
==
1
)
{
data
.
push
(
"T 8 0 10 70 总箱数:"
+
this
.
printLabelData
[
this
.
print_number
].
label_num
+
"箱\r\n"
);
...
...
@@ -250,6 +247,7 @@
}
data
.
push
(
"T 8 0 10 120 时间:"
+
this
.
printLabelData
[
this
.
print_number
].
create_time_cn
+
"\r\n"
);
data
.
push
(
"T 8 0 10 170 仓库代码:"
+
this
.
printLabelData
[
this
.
print_number
].
warehouse_code
+
"\r\n"
);
data
.
push
(
"T 8 0 10 220 流水号:"
+
this
.
printLabelData
[
this
.
print_number
].
wstyptll_id_sn
+
"\r\n"
);
data
.
push
(
"B QR 260 20 M 2 U 8\r\n"
);
data
.
push
(
"MA,"
+
this
.
printLabelData
[
this
.
print_number
].
erp_order_sn
+
"#\r\n"
);
data
.
push
(
"ENDQR\r\n"
);
...
...
util/api.js
View file @
da219d06
const
API_BASE
=
'https://api.ichunt.com'
;
//
const API_BASE = 'http://api.liexin.com'
//
const API_BASE = 'https://api.ichunt.com';
const
API_BASE
=
'http://api.liexin.com'
const
API
=
{
/**
* 上传数据
...
...
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