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
f71b666c
authored
Jun 17, 2022
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
bug
parent
6898c346
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
pages/tag/print.vue
pages/tag/repairPrint.vue
pages/tag/print.vue
View file @
f71b666c
...
...
@@ -311,7 +311,7 @@ export default {
data
.
push
(
'SETMAG 4 1'
+
'\r\n'
);
data
.
push
(
'T 8 0 350 30 '
+
this
.
printLabelData
[
this
.
print_number
].
batch
+
'\r\n'
);
data
.
push
(
'SETMAG 0 0'
+
'\r\n'
);
data
.
push
(
'B QR 2
80 11
0 M 2 U 8\r\n'
);
data
.
push
(
'B QR 2
60 12
0 M 2 U 8\r\n'
);
data
.
push
(
'MA,'
+
this
.
printLabelData
[
this
.
print_number
][
'box_code'
]
+
'|\r\n'
);
data
.
push
(
'ENDQR\r\n'
);
data
.
push
(
'FORM\r\n'
);
...
...
@@ -333,7 +333,7 @@ export default {
* 分批传输数据
*/
cutCommand
:
function
(
data
)
{
var
packageLength
=
10
;
//安卓不超过
2
0个字节传输
var
packageLength
=
10
;
//安卓不超过
1
0个字节传输
var
sendData64
=
[];
if
(
this
.
platform
==
'ios'
)
{
packageLength
=
30
;
...
...
pages/tag/repairPrint.vue
View file @
f71b666c
...
...
@@ -221,7 +221,7 @@ export default {
data
.
push
(
'SETMAG 4 1'
+
'\r\n'
);
data
.
push
(
'T 8 0 350 30 '
+
this
.
printLabelData
[
this
.
print_number
].
batch
+
'\r\n'
);
data
.
push
(
'SETMAG 0 0'
+
'\r\n'
);
data
.
push
(
'B QR 2
80 11
0 M 2 U 8\r\n'
);
data
.
push
(
'B QR 2
60 12
0 M 2 U 8\r\n'
);
data
.
push
(
'MA,'
+
this
.
printLabelData
[
this
.
print_number
][
'box_code'
]
+
'|\r\n'
);
data
.
push
(
'ENDQR\r\n'
);
data
.
push
(
'FORM\r\n'
);
...
...
@@ -243,7 +243,7 @@ export default {
* 分批传输数据
*/
cutCommand
:
function
(
data
)
{
var
packageLength
=
10
;
//安卓不超过
2
0个字节传输
var
packageLength
=
10
;
//安卓不超过
1
0个字节传输
var
sendData64
=
[];
if
(
this
.
platform
==
'ios'
)
{
packageLength
=
30
;
...
...
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