盘料出库1对多工位出库
This commit is contained in:
1 parent
30f1e69664
commit
2cae99cb34
12 files changed
+308
-59
No files matched your search
@@ -8,7 +8,7 @@
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-input v-model.number="num"
|
||||
placeholder="请输入数量" readonly>
|
||||
placeholder="请输入数量">
|
||||
</el-input>
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
@@ -34,6 +34,7 @@
|
||||
gendCode: '',
|
||||
qrcode: '',
|
||||
num: 1,
|
||||
clear: false,
|
||||
template: {
|
||||
"panels": [
|
||||
{
|
||||
@@ -86,7 +87,10 @@
|
||||
duration: "10000",
|
||||
});
|
||||
}
|
||||
_this.printData = [];
|
||||
if (_this.clear) {
|
||||
_this.gendCode = "";
|
||||
_this.printData = [];
|
||||
}
|
||||
},
|
||||
error: function (json) {
|
||||
_this.$message({
|
||||
@@ -149,20 +153,21 @@
|
||||
});
|
||||
},
|
||||
});
|
||||
_this.unm = 1;
|
||||
_this.num = 1;
|
||||
},
|
||||
print() {
|
||||
var _this = this;
|
||||
_this.gendCode = "";
|
||||
// _this.gendCode = "";
|
||||
hiprint.init();
|
||||
var hiprintTemplate = new hiprint.PrintTemplate({
|
||||
template: this.template
|
||||
})
|
||||
hiprintTemplate.print(this.printData);
|
||||
// _this.printData = [];
|
||||
//清空
|
||||
_this.clear = true;
|
||||
//清空
|
||||
_this.qrcode = '';
|
||||
_this.unm = 1;
|
||||
_this.num = 1;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user