Commit da219d06 by liangjianmin

增加流水号

parent db5b1062
Showing with 4 additions and 6 deletions
......@@ -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 200 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");
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");
......
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 = {
/**
* 上传数据
......
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