如何将页面转为PDF后实现打印功能
<#include "/common/commoncss.ftl">
${xCustomerOrderList1.billType}
<td class="css"style="width:30px;">
<td class="css"style="width:30px;">
<td class="css"style="width:30px;">
<td class="css"style="width:30px;">
<td class="css"style="width:30px;">
<td class="wi"style="width:100px;">
<#if xCustomerOrderList1.billType=='出库单'>
</#if>
<td class="wi"style="width:100px;">
${xCustomerOrderList1.billType} |
|||||||||||||
| 11 | |||||||||||||
${xCustomerOrderList1.orderCode} |
${(xCustomerOrderList1.recorder)!''} |
||||||||||||
${xCustomerOrderList1.customerList.customerListName} |
${xCustomerOrderList1.customerList.customerListAdress} |
${xCustomerOrderList1.customerList.customerListTelephone} |
|||||||||||
${(xSaleCommodity.productName)!''} |
${(xSaleCommodity.sysGoodsUnit.goodsUnitName)!''} |
${(xSaleCommodity.goodsType.goodsTypeName)!''} |
|||||||||||
${(xSaleCommodity.specificationModel)!""} |
${(xSaleCommodity.pickNum)!''} |
${(xSaleCommodity.goodsDiscountPrice)!''}元 |
|||||||||||
${((xSaleCommodity.pickNum)*(xSaleCommodity.goodsDiscountPrice))!''}元 |
${(xSaleCommodity.warehouseKeeper)!''} |
||||||||||||
${(xCustomerOrderList1.orderDate)!''} |
${(xCustomerOrderList1.sendDate)!''} |
||||||||||||
转换前结果如下:
转换后结果如下:

浙公网安备 33010602011771号