计数:已操作的改个颜色
打印:两个二维码打到一个标签上,显示唯一码内容 货架入库:自动滚到最新数据,添加托盘信息 分解单据:不查找货架库库存 货架出库:添加导出excel
This commit is contained in:
1 parent
eacc0551a2
commit
5b1912ff07
8 files changed
+24558
-58
No files matched your search
@@ -54,38 +54,7 @@
|
||||
qrcode: '',
|
||||
num: 1,
|
||||
clear: false,
|
||||
template: {
|
||||
"panels": [
|
||||
{
|
||||
"index": 0,
|
||||
"height": 20,
|
||||
"width": 30,
|
||||
"paperHeader": 43.5,
|
||||
"paperFooter": 56.69,
|
||||
"printElements": [
|
||||
{
|
||||
"options": {
|
||||
"left": 0,
|
||||
"top": 2,
|
||||
"height": 52,
|
||||
"width": 81,
|
||||
"title": "",
|
||||
"field": "uniqueCode",
|
||||
"testData": "",
|
||||
"textType": "qrcode",
|
||||
"barcodeMode": "CODE39"
|
||||
},
|
||||
"printElementType": {
|
||||
"type": "text"
|
||||
}
|
||||
}
|
||||
],
|
||||
"paperNumberLeft": 55.5,
|
||||
"paperNumberTop": 34.5,
|
||||
"paperNumberDisabled": true
|
||||
}
|
||||
]
|
||||
}
|
||||
template: {"panels":[{"index":0,"height":25,"width":35,"paperHeader":43.5,"paperFooter":70.86614173228347,"printElements":[{"options":{"left":7.5,"top":0,"height":18,"width":86,"field":"code","testData":"A10209612024042800000001","fontFamily":"Microsoft YaHei"},"printElementType":{"type":"text"}},{"options":{"left":50,"top":20,"height":43,"width":48,"title":"123123","field":"batch","testData":"123123","textType":"qrcode"},"printElementType":{"type":"text"}},{"options":{"left":2,"top":20,"height":43,"width":48,"title":"123457","field":"qr","testData":"1231231","textType":"qrcode"},"printElementType":{"type":"text"}}],"paperNumberLeft":69,"paperNumberTop":48,"paperNumberDisabled":true}]}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@@ -168,8 +137,8 @@
|
||||
"UniqueCode": item.UniqueCode,
|
||||
"Batch": item.Batch
|
||||
});
|
||||
_this.printData.push({ uniqueCode: item.UniqueCode });
|
||||
_this.printData.push({ uniqueCode: item.Batch });
|
||||
// _this.printData.push({ uniqueCode: item.UniqueCode });
|
||||
// _this.printData.push({ uniqueCode: item.Batch });
|
||||
});
|
||||
|
||||
}
|
||||
@@ -188,9 +157,8 @@
|
||||
var _this = this;
|
||||
_this.printData = [];
|
||||
this.invTable.forEach(function (item) {
|
||||
_this.printData.push({ uniqueCode: item.UniqueCode });
|
||||
_this.printData.push({ uniqueCode: item.Batch });
|
||||
});;
|
||||
_this.printData.push({ qr: item.UniqueCode,code: item.UniqueCode,batch: item.Batch });
|
||||
});
|
||||
// _this.gendCode = "";
|
||||
hiprint.init();
|
||||
var hiprintTemplate = new hiprint.PrintTemplate({
|
||||
|
||||
Reference in new issue
Block a user