Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
Warehouse
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
45f59142
authored
May 15, 2020
by
施宇
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
1
parent
28d0feb7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
pages/cardBoard/cardBoard.js
pages/mountingPlate/mountingPlate.js
pages/cardBoard/cardBoard.js
View file @
45f59142
...
...
@@ -600,7 +600,7 @@ for (let i = 0, j = 0, length = buffer.byteLength; i < length; i += maxChunk, j+
getData
(
apis
.
pallet_active
,
'post'
,
{...
obj
},
function
(
res
)
{
if
(
res
.
errcode
===
0
)
{
me
.
bdPallet
()
me
.
bdPallet
()
;
}
else
{
wx
.
showToast
({
title
:
res
.
errmsg
,
...
...
@@ -615,7 +615,7 @@ for (let i = 0, j = 0, length = buffer.byteLength; i < length; i += maxChunk, j+
let
me
=
this
;
if
(
!
me
.
data
.
palletObj
){
wx
.
showToast
({
title
:
'卡板
号
不能为空'
,
title
:
'卡板
id
不能为空'
,
icon
:
'none'
,
duration
:
2000
});
...
...
pages/mountingPlate/mountingPlate.js
View file @
45f59142
...
...
@@ -600,8 +600,8 @@ for (let i = 0, j = 0, length = buffer.byteLength; i < length; i += maxChunk, j+
getData
(
apis
.
put_on_pallet
,
'post'
,
{...
obj
},
function
(
res
)
{
if
(
res
.
errcode
===
0
)
{
console
.
log
(
'连接蓝牙打印'
)
let
data
=
res
.
data
.
data
||
{};
console
.
log
(
'连接蓝牙打印'
)
;
let
data
=
res
.
data
||
{};
let
str
=
"! 0 200 200 400 1 \n"
+
"B QR 200 0 M 2 2 10 \n"
+
// "MA,"+(data.NO||'--')+","+(data.QTY||'--')+","+(data.WEIGHT||'--')+"\n"+
...
...
@@ -630,7 +630,7 @@ for (let i = 0, j = 0, length = buffer.byteLength; i < length; i += maxChunk, j+
let
me
=
this
;
if
(
!
me
.
data
.
palletObj
){
wx
.
showToast
({
title
:
'卡板号不能为空'
,
title
:
'卡板号
id
不能为空'
,
icon
:
'none'
,
duration
:
2000
});
...
...
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