You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
785 B
26 lines
785 B
<#import "base.ftl" as printbase>
|
|
<@printbase.layout>
|
|
|
|
<#if error?? >
|
|
<script>alert("${error}");</script>
|
|
<#else >
|
|
<script>
|
|
function lodopReady(){
|
|
LODOP.PRINT_INIT("task_no");
|
|
LODOP.SET_PRINT_PAGESIZE(0,800,450,"");
|
|
LODOP.ADD_PRINT_BARCODE(10,165,100,100,"QRCode","${printData.taskNo}");
|
|
LODOP.SET_PRINT_STYLE("FontSize",12);
|
|
LODOP.ADD_PRINT_TEXT(10,20,150,20,"镭射机:${printData.machineName}");
|
|
LODOP.ADD_PRINT_TEXT(35,20,150,20,"操作人:${printData.operatorId}");
|
|
LODOP.ADD_PRINT_TEXT(60,20,150,20,"数量:${printData.processQty}");
|
|
LODOP.ADD_PRINT_TEXT(85,20,150,20,"是否完工:${printData.status}");
|
|
LODOP.ADD_PRINT_TEXT(110,20,200,20,"生产任务单:${printData.taskNo}");
|
|
|
|
|
|
}
|
|
</script>
|
|
|
|
</#if>
|
|
|
|
|
|
</@printbase.layout>
|