|
|
@ -14,11 +14,11 @@ export function printSeqNoLabel(printList) { |
|
|
LODOP.SET_PRINT_PAGESIZE(0,700,400,""); |
|
|
LODOP.SET_PRINT_PAGESIZE(0,700,400,""); |
|
|
LODOP.SET_PRINT_MODE("PRINT_NOCOLLATE",1); |
|
|
LODOP.SET_PRINT_MODE("PRINT_NOCOLLATE",1); |
|
|
LODOP.ADD_PRINT_BARCODE(32,165,191,94,"QRCode",printData.seqNo); |
|
|
LODOP.ADD_PRINT_BARCODE(32,165,191,94,"QRCode",printData.seqNo); |
|
|
LODOP.ADD_PRINT_TEXT(4,4,95,25,printData.sScheduledDate); |
|
|
|
|
|
|
|
|
LODOP.ADD_PRINT_TEXT(4,44,95,25,printData.sScheduledDate); |
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","微软雅黑"); |
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","微软雅黑"); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Alignment",3); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Alignment",3); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1); |
|
|
LODOP.ADD_PRINT_TEXT(4,99,121,25,printData.itemDesc); |
|
|
|
|
|
|
|
|
LODOP.ADD_PRINT_TEXT(3,139,111,25,printData.itemDesc); |
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","微软雅黑"); |
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","微软雅黑"); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Alignment",3); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Alignment",3); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1); |
|
|
@ -57,89 +57,20 @@ export function printSeqNoLabel(printList) { |
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","微软雅黑"); |
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","微软雅黑"); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Alignment",2); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Alignment",2); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1); |
|
|
LODOP.ADD_PRINT_TEXT(129,1,69,25,"合格数量:"); |
|
|
|
|
|
|
|
|
LODOP.ADD_PRINT_TEXT(4,2,55,25,printData.operatorName); |
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","微软雅黑"); |
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","微软雅黑"); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Alignment",2); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Alignment",2); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1); |
|
|
// LODOP.ADD_PRINT_TEXT(129,62,48,25,"1000");
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontName","微软雅黑");
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"Alignment",2);
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"Bold",1);
|
|
|
|
|
|
LODOP.ADD_PRINT_TEXT(129,111,81,25,"不合格数量:"); |
|
|
|
|
|
|
|
|
LODOP.ADD_PRINT_TEXT(129,0,64,25,"物料名称:"); |
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","微软雅黑"); |
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","微软雅黑"); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Alignment",2); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Alignment",2); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1); |
|
|
// LODOP.ADD_PRINT_TEXT(129,180,50,25,"200");
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontName","微软雅黑");
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"Alignment",2);
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"Bold",1);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LODOP.ADD_PRINT_TEXT(129,62,191,25,printData.partDesc); |
|
|
|
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","微软雅黑"); |
|
|
|
|
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// LODOP.SET_PRINT_MODE("PRINT_NOCOLLATE",1);
|
|
|
|
|
|
// LODOP.ADD_PRINT_BARCODE(0,187,165,71,"QRCode",printData.seqNo);
|
|
|
|
|
|
// LODOP.ADD_PRINT_TEXT(1,1,64,19,"工序:");
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontName","微软雅黑");
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontSize",8);
|
|
|
|
|
|
// LODOP.ADD_PRINT_TEXT(1,62,133,19,printData.itemDesc);
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontName","微软雅黑");
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontSize",8);
|
|
|
|
|
|
// LODOP.ADD_PRINT_TEXT(18,1,64,19,"派工单号:");
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontName","微软雅黑");
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontSize",8);
|
|
|
|
|
|
// LODOP.ADD_PRINT_TEXT(18,62,133,19,printData.seqNo);
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontName","微软雅黑");
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontSize",8);
|
|
|
|
|
|
// LODOP.ADD_PRINT_TEXT(35,1,64,19,"派工数量:");
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontName","微软雅黑");
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontSize",8);
|
|
|
|
|
|
// LODOP.ADD_PRINT_TEXT(35,62,133,19,printData.qtyRequired);
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontName","微软雅黑");
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontSize",8);
|
|
|
|
|
|
// LODOP.ADD_PRINT_TEXT(52,1,64,19,"物料编码:");
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontName","微软雅黑");
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontSize",8);
|
|
|
|
|
|
// LODOP.ADD_PRINT_TEXT(52,62,133,19,printData.partNo);
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontName","微软雅黑");
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontSize",8);
|
|
|
|
|
|
// LODOP.ADD_PRINT_RECT(0,0,254,150,0,1);
|
|
|
|
|
|
// LODOP.ADD_PRINT_LINE(16,1,16,186,0,1);
|
|
|
|
|
|
// LODOP.ADD_PRINT_LINE(32,1,32,186,0,1);
|
|
|
|
|
|
// LODOP.ADD_PRINT_LINE(48,0,48,185,0,1);
|
|
|
|
|
|
// LODOP.ADD_PRINT_LINE(65,0,65,254,0,1);
|
|
|
|
|
|
// LODOP.ADD_PRINT_LINE(83,0,83,254,0,1);
|
|
|
|
|
|
// LODOP.ADD_PRINT_LINE(99,0,99,254,0,1);
|
|
|
|
|
|
// LODOP.ADD_PRINT_LINE(116,0,116,254,0,1);
|
|
|
|
|
|
// LODOP.ADD_PRINT_LINE(133,0,133,254,0,1);
|
|
|
|
|
|
// LODOP.ADD_PRINT_LINE(149,60,1,61,0,1);
|
|
|
|
|
|
// LODOP.ADD_PRINT_TEXT(86,1,64,19,"客户编码:");
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontName","微软雅黑");
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontSize",8);
|
|
|
|
|
|
// LODOP.ADD_PRINT_TEXT(86,62,133,19,printData.customerId);
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontName","微软雅黑");
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontSize",8);
|
|
|
|
|
|
// LODOP.ADD_PRINT_TEXT(103,1,64,19,"工单编码:");
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontName","微软雅黑");
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontSize",8);
|
|
|
|
|
|
// LODOP.ADD_PRINT_TEXT(103,62,133,19,printData.orderNo);
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontName","微软雅黑");
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontSize",8);
|
|
|
|
|
|
// LODOP.ADD_PRINT_TEXT(120,1,64,19,"工单数量:");
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontName","微软雅黑");
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontSize",8);
|
|
|
|
|
|
// LODOP.ADD_PRINT_TEXT(120,62,133,19,printData.lotSize);
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontName","微软雅黑");
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontSize",8);
|
|
|
|
|
|
// LODOP.ADD_PRINT_TEXT(137,1,64,19,"派工日期:");
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontName","微软雅黑");
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontSize",8);
|
|
|
|
|
|
// LODOP.ADD_PRINT_TEXT(137,62,133,19,printData.sScheduledDate);
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontName","微软雅黑");
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontSize",8);
|
|
|
|
|
|
// LODOP.ADD_PRINT_LINE(64,186,1,187,0,1);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|