Browse Source

箱标不换行

master
常熟吴彦祖 7 days ago
parent
commit
24414a55a1
  1. 2
      src/views/modules/print/print_outBox_label.js

2
src/views/modules/print/print_outBox_label.js

@ -16,7 +16,7 @@ export function printOutBoxLabel(printList) {
LODOP.ADD_PRINT_TEXT(3,35,496,50,printData.siteName );
LODOP.SET_PRINT_STYLEA(0,"FontName","Arial Black");
// JCA 开头的工厂名称字号小 3 号 - rqrq JCA POLYMER TECHNICS SDN.BHD.
var siteNameFontSize = (printData.siteName || "").indexOf("JCA") === 0 ? 18 : 22;
var siteNameFontSize = (printData.siteName || "").indexOf("JCA") === 0 ? 17 : 22;
LODOP.SET_PRINT_STYLEA(0,"FontSize",siteNameFontSize);
LODOP.SET_PRINT_STYLEA(0,"Alignment",2);
LODOP.SET_PRINT_STYLEA(0,"Bold",1);

Loading…
Cancel
Save