页面数量合计;

出库移库,默认状态
调整条码打印
This commit is contained in:
zgf committed 2024-01-20 15:15:38 +08:00
1 parent cec65caa32
commit 67227db833
12 files changed
+112 -326

No files matched your search

@@ -132,139 +132,7 @@
}
},
});
let template = {
"panels": [{
"index": 0,
"height": 50,
"width": 80,
"paperHeader": 43.5,
"paperFooter": 141.73228346456693,
"printElements": [{
"options": {
"left": 3,
"top": 3,
"height": 40,
"width": 220,
"field": "lot",
"textAlign": "center",
"textContentVerticalAlign": "middle",
"fontFamily": "Microsoft YaHei", "fontSize": 8, "fontWeight": "bold"
},
"printElementType": {
"type": "text"
}
}, {
"options": {
"left": 3,
"top": 3,
"height": 130,
"width": 220,
"borderWidth": "1.5",
"borderStyle": "solid"
},
"printElementType": {
"type": "rect"
}
}, {
"options": {
"left": 3,
"top": 42,
"height": 9,
"width": 219
},
"printElementType": {
"type": "hline"
}
}, {
"options": {
"left": 135,
"top": 42,
"height": 90,
"width": 9
},
"printElementType": {
"type": "vline"
}
}, {
"options": {
"left": 3,
"top": 43.5,
"height": 28.5,
"width": 132,
"field": "code",
"textAlign": "center",
"textContentVerticalAlign": "middle",
"fontFamily": "Microsoft YaHei", "fontSize": 12, "fontWeight": "bold"
},
"printElementType": {
"type": "text"
}
}, {
"options": {
"left": 150,
"top": 49.5,
"height": 48,
"width": 51,
"textType": "qrcode",
"field": "qrcode",
},
"printElementType": {
"type": "text"
}
}, {
"options": {
"left": 3,
"top": 72,
"height": 9,
"width": 132
},
"printElementType": {
"type": "hline"
}
}, {
"options": {
"left": 3,
"top": 72,
"height": 30,
"width": 132,
"field": "qty",
"textAlign": "center",
"textContentVerticalAlign": "middle",
"fontFamily": "Microsoft YaHei", "fontSize": 12, "fontWeight": "bold"
},
"printElementType": {
"type": "text"
}
}, {
"options": {
"left": 4.5,
"top": 102,
"height": 9,
"width": 217.5
},
"printElementType": {
"type": "hline"
}
}, {
"options": {
"left": 4.5,
"top": 102,
"height": 28.5,
"width": 132,
"field": "batch",
"textAlign": "center",
"textContentVerticalAlign": "middle",
"fontFamily": "Microsoft YaHei", "fontSize": 12, "fontWeight": "bold"
},
"printElementType": {
"type": "text"
}
}],
"paperNumberLeft": 196.5,
"paperNumberTop": 118.5,
"paperNumberDisabled": true
}]
};
let template = { "panels": [{ "index": 0, "height": 50, "width": 80, "paperHeader": 43.5, "paperFooter": 141.73228346456693, "printElements": [{ "options": { "left": 3, "top": 3, "height": 40, "width": 220, "field": "lot", "textAlign": "center", "textContentVerticalAlign": "middle", "fontFamily": "Microsoft YaHei", "fontSize": 8, "fontWeight": "bold" }, "printElementType": { "type": "text" } }, { "options": { "left": 3, "top": 3, "height": 130, "width": 220, "borderWidth": "1.5", "borderStyle": "solid" }, "printElementType": { "type": "rect" } }, { "options": { "left": 3, "top": 42, "height": 9, "width": 219 }, "printElementType": { "type": "hline" } }, { "options": { "left": 135, "top": 42, "height": 90, "width": 9 }, "printElementType": { "type": "vline" } }, { "options": { "left": 3, "top": 43.5, "height": 28.5, "width": 132, "field": "code", "testData": "1324123412341234123", "textAlign": "center", "textContentVerticalAlign": "middle", "fontFamily": "Microsoft YaHei", "fontSize": 12, "fontWeight": "bold" }, "printElementType": { "type": "text" } }, { "options": { "left": 138, "top": 46.5, "height": 79.5, "width": 81, "textType": "qrcode", "field": "qrcode", "testData": "1234123413234132" }, "printElementType": { "type": "text" } }, { "options": { "left": 3, "top": 72, "height": 30, "width": 132, "field": "qty", "testData": "5555", "textAlign": "center", "textContentVerticalAlign": "middle", "fontFamily": "Microsoft YaHei", "fontSize": 12, "fontWeight": "bold" }, "printElementType": { "type": "text" } }, { "options": { "left": 3, "top": 72, "height": 9, "width": 132 }, "printElementType": { "type": "hline" } }, { "options": { "left": 3, "top": 102, "height": 9, "width": 132 }, "printElementType": { "type": "hline" } }, { "options": { "left": 4.5, "top": 102, "height": 28.5, "width": 132, "field": "batch", "testData": "HYB2202030003", "textAlign": "center", "textContentVerticalAlign": "middle", "fontFamily": "Microsoft YaHei", "fontSize": 12, "fontWeight": "bold" }, "printElementType": { "type": "text" } }], "paperNumberLeft": 196.5, "paperNumberTop": 118.5, "paperNumberDisabled": true }] };
let printData = [];