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.

20 lines
451 B

3 days ago
  1. <#import "base.ftl" as printbase>
  2. <@printbase.layout>
  3. <#if error?? >
  4. <script>alert("${error}");</script>
  5. <#else >
  6. <script>
  7. function lodopReady(){
  8. LODOP.PRINT_INIT("sf_order");
  9. LODOP.SET_PRINT_PAGESIZE(0,770,770,"");
  10. LODOP.ADD_PRINT_BARCODE(10,23,75,75,"QRCode","${sfOrder}");
  11. LODOP.ADD_PRINT_TEXT(80,20,145,15,"半成品工单: ${orderNo}");
  12. LODOP.SET_PRINT_STYLE("FontSize",9);
  13. }
  14. </script>
  15. </#if>
  16. </@printbase.layout>