Commit 45f59142 by 施宇

1

parent 28d0feb7
......@@ -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
});
......
......@@ -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
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment