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.
42 lines
1.2 KiB
42 lines
1.2 KiB
<#import "base.ftl" as printbase>
|
|
<@printbase.layout>
|
|
|
|
<#if error?? >
|
|
<script>alert("${error}");</script>
|
|
<#else >
|
|
<script>
|
|
function lodopReady(){
|
|
LODOP.PRINT_INIT("FINAL_ROLL");
|
|
LODOP.SET_PRINT_PAGESIZE(0,762,1012,"");
|
|
LODOP.ADD_PRINT_BARCODE(10,23,75,75,"QRCode","${qrtext}");
|
|
LODOP.SET_PRINT_STYLE("FontSize",18);
|
|
<#if partType?? >
|
|
LODOP.ADD_PRINT_TEXT(45,150,75,75,"${partType}");
|
|
</#if>
|
|
LODOP.SET_PRINT_STYLE("FontSize",14);
|
|
LODOP.ADD_PRINT_TEXT(80,26,300,20,"${qrtext} ${count}");
|
|
LODOP.ADD_PRINT_TEXT(110,26,300,20,"Part No:${order.partNo}");
|
|
LODOP.ADD_PRINT_TEXT(140,26,300,20,"APN:${order.apn}");
|
|
LODOP.ADD_PRINT_BARCODE(280,175,75,75,"QRCode","${serialNo}");
|
|
<#if serialDate?? >
|
|
LODOP.ADD_PRINT_TEXT(170,26,300,20,"生产日期: ${today}");
|
|
</#if>
|
|
<#if finalRoll.cqcBy?? >
|
|
LODOP.ADD_PRINT_TEXT(200,26,300,20,"${finalRoll.status}");
|
|
</#if>
|
|
/* <#if type??>
|
|
LODOP.ADD_PRINT_TEXT(200,26,300,20,"${type}");
|
|
</#if>
|
|
<#if finalRoll.cqcBy?? >
|
|
LODOP.ADD_PRINT_TEXT(200,26,300,20,"${finalRoll.status}");
|
|
</#if>
|
|
<#if qcCreator?? >
|
|
LODOP.ADD_PRINT_TEXT(230,26,300,20,"${qcCreator}");
|
|
</#if> */
|
|
}
|
|
</script>
|
|
|
|
</#if>
|
|
|
|
|
|
</@printbase.layout>
|