Commit 023ce088 authored by 1650842865's avatar 1650842865

外发单打印格式调整

parent d4659581
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>外发加工单</title>
<#include "/print/commonStyleTemplate.ftl" />
<style type="text/css">
td {
font-size: 12px;
}
</style>
</head>
<body>
<!-- 页眉部分 -->
<div style="font-size: 20px;text-align: center; margin-top: 0px">广州市宝绅科技应用有限公司</div>
<table cellspacing="0px" cellpadding="0px" class="tablePrint">
<colgroup>
<col width="40%"/>
<col width="10%"/>
<col width="40%"/>
</colgroup>
<tr>
<td class="right">电 话:020-36201957/020-36343128</td>
<td> </td>
<td class="left">地 址:广州市白云区江高小塘南路68号</td>
</tr>
</table>
<table cellspacing="0px" cellpadding="0px" class="tablePrint">
<colgroup>
<col width='100%'/>
<#-- <col width="40%"/>-->
</colgroup>
<tr>
<td style="font-size: 20px;text-align: center;margin-top: 0.5cm">外发单</td>
<#-- <td class="right">-->
<#-- <img class="barcode" src="${barCode}" style="right: auto"></img>-->
<#-- </td>-->
</tr>
</table>
<table cellspacing="0px" cellpadding="0px" class="tableBorder">
<colgroup>
<col width='8%'/>
<col width='42%'/>
<col width="9%"/>
<col width="41%"/>
</colgroup>
<tr>
<td class="left">加工商</td>
<td class="left">${namel?default("")?html}</td>
<td class="left">加工商<br/>地址</td>
<td class="left">${address?default("")?html}</td>
</tr>
</table>
<table cellspacing="0px" cellpadding="0px" class="tableBorder">
<colgroup>
<col width='8%'/>
<col width='34%'/>
<col width="8%"/>
<col width="9%"/>
<col width="8%"/>
<col width="9%"/>
<col width="9%"/>
<col width="15%"/>
</colgroup>
<tr>
<td class="left">外发单号</td>
<td class="left">${ebeln?default("")?html}</td>
<td class="left">外发日期</td>
<td class="left"><@formatDate date=fillinDate/></td>
<td class="left">交货日期</td>
<td class="left"><@formatDate date=eindt/></td>
<td class="left">联系人电话</td>
<td class="left">${telf1?default("")?html}</td>
</tr>
</table>
<table cellspacing="0px" cellpadding="0px" class="tableBorder">
<colgroup>
<col width='8%'/>
<col width='68%'/>
<col width="9%"/>
<col width="15%"/>
</colgroup>
<tr>
<td class="left">交货地点</td>
<td class="left">${strSuppl?default("")?html}</td>
<td class="left">仓库</td>
<td class="left">${lgobe?default("")?html}</td>
</tr>
</table>
<table cellspacing="0px" cellpadding="0px" class="tableBorder">
<colgroup>
<col width='8%'/>
<col width="92%"/>
</colgroup>
<tr>
<td class="center">备注1</td>
<td class="left" style="height: 80px">${headText1?default("")?html}</td>
</tr>
</table>
<#if materialList?? && materialList?size gt 0>
<table cellspacing="0px" cellpadding="0px" class="tableBorder">
<colgroup>
<col width='5%' />
<col width='10%' />
<col width='25%' />
<col width='5%' />
<col width='7%' />
<col width='7%' />
<col width='7%' />
<col width='5%' />
<col width='5%' />
<col width='9%' />
<col width='5%' />
<col width='10%' />
</colgroup>
<tr>
<td class="center" >项次</td>
<td class="center" >产品编码</td>
<td class="center" >产品名称</td>
<td class="center" >单位</td>
<td class="center" >数量</td>
<td class="center" >LOSS数</td>
<td class="center" >单价</td>
<td class="center" >运输费用</td>
<td class="center" >包装费用</td>
<td class="center" >总金额</td>
<td class="center" >外发工序</td>
<td class="center" >备注</td>
</tr>
<#list materialList as detail>
<tr>
<td class="center">${detail.no?default("")?html}</td>
<td class="center">${detail.matnr2?default("")?html}</td>
<td class="center">${detail.maktx?default("")?html}</td>
<td class="center">${detail.msehl?default("")?html}</td>
<td class="center">${detail.number?default("")?html}</td>
<td class="center">${detail.loss?default("")?html}</td>
<td class="center">${detail.netpr?default("")?html}</td>
<td class="center">${detail.kbetr2?default("")?html}</td>
<td class="center">${detail.kbetr3?default("")?html}</td>
<td class="center">${detail.amount?default("")?html}</td>
<td class="center">${detail.outProcess01?default("")?html}</td>
<td class="center">${detail.remark?default("")?html}</td>
</tr>
</#list>
</table>
<#else >
</#if>
<table cellspacing="0px" cellpadding="0px" class="tableBorder">
<colgroup>
<col width='8%'/>
<col width='92%'/>
</colgroup>
<tr>
<td class="center">生产制程</td>
<td class="left">${productionProcess?default("")?html}</td>
</tr>
</table>
<table cellspacing="0px" cellpadding="0px" class="tableBorder">
<colgroup>
<col width='8%'/>
<col width="92%"/>
</colgroup>
<tr>
<td class="center">备注2</td>
<td class="left" style="height: 80px">${headText?default("")?html}</td>
</tr>
</table>
<#if productInfoVoList?? && productInfoVoList?size gt 0>
<table cellspacing="0px" cellpadding="0px" class="tableBorder">
<colgroup>
<col width='50%' />
<col width='50%' />
</colgroup>
<tr>
<td class="left">产品正面图片:</td>
<td class="left">产品背面图片:</td>
</tr>
<#list productInfoVoList as detail>
<tr>
<td class="center">
<img src='${detail.frontImg?default("")?html}' width="230px"/>
</td>
<td class="center">
<img src='${detail.backImg?default("")?html}' width="230px"/>
</td>
</tr>
</#list>
</table>
<#else >
</#if>
<#--<table cellspacing="0px" cellpadding="0px" class="tableBorder">-->
<#-- <colgroup>-->
<#-- <col width='50%'/>-->
<#-- <col width="50%"/>-->
<#-- </colgroup>-->
<#-- <tr>-->
<#-- <td class="left">产品正面图片:-->
<#-- <br/>-->
<#-- <img src='${frontImg?default("")?html}' width="230px"/>-->
<#-- </td>-->
<#-- <td class="left">产品背面图片:-->
<#-- <br/>-->
<#-- <img src='${backImg?default("")?html}' width="230px"/>-->
<#-- </td>-->
<#-- </tr>-->
<#--</table>-->
<table cellspacing="0px" cellpadding="0px" class="tableBorder">
<colgroup>
<col width='100%' />
</colgroup>
<tr>
<td class="left">付款方式:${zwels?default("")?html}
<br/>
月结方式:${zterm?default("")?html}
<br/>
注意事项:整张订单结束后方可请款,送货和付款时请附上此单。收到订单请2小时内签回。周六,日不收货。周一至周五17:00下班。
</td>
</tr>
</table>
<table cellspacing="0px" cellpadding="0px" class="tablePrint">
<colgroup>
<col width='33%'/>
<col width="33%"/>
<col width="33%"/>
</colgroup>
<tr>
<td class="left">加工商回签:</td>
<td class="left">核准:</td>
<td class="left">采购员:${personMemberName?default("")?html}</td>
</tr>
</table>
</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment