Commit d0a9214f by liangjianmin

蓝牙bug

parent f2b558bd
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
<view class="label">{{ text }}</view> <view class="label">{{ text }}</view>
<view class="input-wrap row bothSide"><input type="number" v-model="printForm.label_num" placeholder="请输入" class="uni-input" placeholder-style="color:#404547;font-weight:bold;" /></view> <view class="input-wrap row bothSide"><input type="number" v-model="printForm.label_num" placeholder="请输入" class="uni-input" placeholder-style="color:#404547;font-weight:bold;" /></view>
</view> </view>
<view class="textarea-box"> <view class="textarea-box" style="border-bottom: none;">
<textarea @input="inputChange()" maxlength="200" placeholder="请输入理货备注" placeholder-style="color:#6E767A;" v-model="form.sort_goods_remark"></textarea> <textarea @input="inputChange()" maxlength="200" placeholder="请输入理货备注" placeholder-style="color:#6E767A;" v-model="form.sort_goods_remark"></textarea>
<text class="text">{{ limitword }}/200</text> <text class="text">{{ limitword }}/200</text>
</view> </view>
...@@ -484,7 +484,7 @@ export default { ...@@ -484,7 +484,7 @@ export default {
data.push('T 8 0 10 170 仓库代码:' + this.printLabelData[this.print_number].warehouse_code + '\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('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('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('MA,' + this.printLabelData[this.print_number].erp_order_sn + ',\r\n');
data.push('ENDQR\r\n'); data.push('ENDQR\r\n');
data.push('FORM\r\n'); data.push('FORM\r\n');
data.push('PRINT\r\n'); data.push('PRINT\r\n');
......
...@@ -212,17 +212,17 @@ export default { ...@@ -212,17 +212,17 @@ export default {
let data = []; let data = [];
if (this.printLabelData.length > 0) { if (this.printLabelData.length > 0) {
data.push('! 60 200 200 250 1\r\n'); data.push('! 60 200 200 250 1\r\n');
data.push('T 8 0 10 20 入仓号:' + this.printLabelData[this.print_number].erp_order_sn + '\r\n'); data.push('T 5 0 10 20 入仓号:' + this.printLabelData[this.print_number].erp_order_sn + '\r\n');
if (this.form.print_type == 1) { if (this.form.print_type == 1) {
data.push('T 8 0 10 70 总箱数:' + this.printLabelData[this.print_number].label_num + '箱\r\n'); data.push('T 5 0 10 70 总箱数:' + this.printLabelData[this.print_number].label_num + '箱\r\n');
} else { } else {
data.push('T 8 0 10 70 箱号:' + this.printLabelData[this.print_number].label_sort + '/' + this.printLabelData[this.print_number].label_num + '\r\n'); data.push('T 5 0 10 70 箱号:' + this.printLabelData[this.print_number].label_sort + '/' + this.printLabelData[this.print_number].label_num + '\r\n');
} }
data.push('T 8 0 10 120 时间:' + this.printLabelData[this.print_number].create_time_cn + '\r\n'); data.push('T 5 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 5 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('T 5 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('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('MA,' + this.printLabelData[this.print_number].erp_order_sn + ',\r\n');
data.push('ENDQR\r\n'); data.push('ENDQR\r\n');
data.push('FORM\r\n'); data.push('FORM\r\n');
data.push('PRINT\r\n'); data.push('PRINT\r\n');
......
...@@ -191,16 +191,16 @@ export default { ...@@ -191,16 +191,16 @@ export default {
let data = []; let data = [];
if (this.printLabelData.length > 0) { if (this.printLabelData.length > 0) {
data.push('! 60 200 200 200 1\r\n'); data.push('! 60 200 200 200 1\r\n');
data.push('T 8 0 10 20 入仓号:' + this.printLabelData[this.print_number].erp_order_sn + '\r\n'); data.push('T 5 0 10 20 入仓号:' + this.printLabelData[this.print_number].erp_order_sn + '\r\n');
if (this.print_type == 1) { if (this.print_type == 1) {
data.push('T 8 0 10 70 总箱数:' + this.printLabelData[this.print_number].label_num + '箱\r\n'); data.push('T 5 0 10 70 总箱数:' + this.printLabelData[this.print_number].label_num + '箱\r\n');
} else { } else {
data.push('T 8 0 10 70 箱号:' + this.printLabelData[this.print_number].label_sort + '/' + this.printLabelData[this.print_number].label_num + '\r\n'); data.push('T 5 0 10 70 箱号:' + this.printLabelData[this.print_number].label_sort + '/' + this.printLabelData[this.print_number].label_num + '\r\n');
} }
data.push('T 8 0 10 120 时间:' + this.printLabelData[this.print_number].create_time_cn + '\r\n'); data.push('T 5 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 5 0 10 170 仓库代码:' + this.printLabelData[this.print_number].warehouse_code + '\r\n');
data.push('B QR 290 20 M 2 U 8\r\n'); data.push('B QR 290 20 M 2 U 8\r\n');
data.push('MA,' + this.printLabelData[this.print_number].erp_order_sn + '#\r\n'); data.push('MA,' + this.printLabelData[this.print_number].erp_order_sn + ',\r\n');
data.push('ENDQR\r\n'); data.push('ENDQR\r\n');
data.push('FORM\r\n'); data.push('FORM\r\n');
data.push('PRINT\r\n'); data.push('PRINT\r\n');
......
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