feat: 🚀 箱嘜打印區分o和0
This commit is contained in:
@@ -26,7 +26,7 @@ export const boxMarkListPrint = (printData, printNumber) => {
|
||||
LODOP.SET_PRINT_PAGESIZE(0, 900, 400, "");
|
||||
LODOP.SET_PRINT_STYLE("FontSize", 9.3);
|
||||
LODOP.SET_PRINT_STYLE("Bold", 1);
|
||||
LODOP.SET_PRINT_STYLE("FontName", "黑体");
|
||||
LODOP.SET_PRINT_STYLE("FontName", "思源黑体");
|
||||
|
||||
let logs = [];
|
||||
let printDataClone = [];
|
||||
@@ -124,13 +124,13 @@ function AddPrintContent(obj) {
|
||||
LODOP.ADD_PRINT_TEXT(8, 232, "28mm", 30, `${remark}`);
|
||||
LODOP.SET_PRINT_STYLEA(0, "TextOverflow", 2);
|
||||
LODOP.SET_PRINT_STYLEA(0, "FontSize", 12);
|
||||
LODOP.SET_PRINT_STYLEA(0, "FontName", "黑体");
|
||||
LODOP.SET_PRINT_STYLEA(0, "FontName", "思源黑体");
|
||||
LODOP.SET_PRINT_STYLEA(0, "LineSpacing", -6);
|
||||
} else {
|
||||
LODOP.ADD_PRINT_TEXT(8, 232, "28mm", 30, `${remark}`);
|
||||
LODOP.SET_PRINT_STYLEA(0, "TextOverflow", 2);
|
||||
LODOP.SET_PRINT_STYLEA(0, "FontSize", 12);
|
||||
LODOP.SET_PRINT_STYLEA(0, "FontName", "黑体");
|
||||
LODOP.SET_PRINT_STYLEA(0, "FontName", "思源黑体");
|
||||
LODOP.SET_PRINT_STYLEA(0, "LineSpacing", -6);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user