<apex:page controller="summonsPDFController" showHeader="false" sidebar="false" renderAs="pdf" action="{!init}" applyHtmlTag="false">
|
<html>
|
<head>
|
<style>
|
@page {
|
size: A4 portrait;
|
margin: 5mm 12mm 5mm 12mm;
|
/* @bottom-center { */
|
/* content: counter(page) " / " counter(pages); */
|
/* } */
|
}
|
table {border-collapse: collapse;}
|
/* td {padding: 0px 0px 0px 0px;} */
|
td.title {text-align: center; font-weight: bold; background-color: #BDBDBD;}
|
td.middle {text-align: center; font-size:120%; font-weight: bold;}
|
td.label {padding-left: 10px;}
|
</style>
|
</head>
|
<body style="font-family: Arial Unicode MS;">
|
<table width="100%" border="0">
|
<tr>
|
<td width="12%">
|
</td>
|
<td style="text-align: center;"><span style="font-size: 12pt;">出货指示单</span></td>
|
<td width="12%" style="text-align: right; vertical-align: bottom; font-size: 10pt;">
|
<span style="position:absolute;margin-left:550px;">打印日期:</span>
|
<apex:outputText value="{0, date, yyyyMMdd}">
|
<apex:param value="{!TODAY()}" />
|
</apex:outputText>
|
</td>
|
</tr>
|
</table>
|
<div style="height:3px;"></div>
|
<table width="100%" border="1" cellspacing="2" style="font-size: 8pt;">
|
<tr>
|
<td>
|
<table width="100%" border="1" cellspacing="0">
|
<tr>
|
<td width="20%" class="label" height="23px">指示单编码</td>
|
<td width="30%" class="middle">{!coc.Name}</td>
|
<td width="20%" class="label" style="vertical-align: middle;">出库指示日</td>
|
<td width="30%" class="middle" style="vertical-align: middle;"><apex:outputField id="OutDate" value="{!coc.Order_date__c}"/></td>
|
</tr>
|
<tr>
|
<td class="label" height="23px">出货元</td>
|
<td class="middle">{!coc.Dealer_Info__r.Name}</td>
|
<td class="label" height="23px">医院</td>
|
<td class="middle">{!coc.Order_ForHospital__r.Name}</td>
|
</tr>
|
<tr >
|
<td class="label" colspan="1" height="23px">经销商</td>
|
<td class="middle">{!coc.Order_Dealer_Info__c}</td>
|
<td class="label" colspan="1" height="23px">科室</td>
|
<td class="middle">{!coc.Order_ForCustomerText__c}</td>
|
</tr>
|
</table>
|
</td>
|
</tr>
|
<tr>
|
<td style="border-top-color: white;">
|
<table width="100%" cellspacing="0">
|
<tr>
|
<td class="title" width="30%">消耗品名称</td>
|
<td class="title" width="25%">产品型号</td>
|
<td class="title" width="15%">消費期限</td>
|
<td class="title" width="15%">出货数量</td>
|
<td class="title" width="15%">单位</td>
|
</tr>
|
<apex:repeat value="{!ConsumableorderdetailsRecords}" var="records">
|
<tr >
|
<td style="font-size: 10pt;text-align: center;"><c:PDFWbr targetStr="{!records.Prod.Name__c}"/></td>
|
<td style="font-size: 10pt;text-align: center;"><c:PDFWbr targetStr="{!records.Prod.Asset_Model_No__c}"/></td>
|
<td style="text-align: center; font-size: 10pt;">
|
<apex:outputText value="{0, date, yyyy/MM/dd}">
|
<apex:param value="{!records.guaranteeperiod}" />
|
</apex:outputText>
|
</td>
|
<td style="text-align:right; font-size: 10pt;">
|
<apex:outputField id="consumablesCount" value="{!records.esd.Shipment_Count__c}"/>
|
</td>
|
<td style="text-align:right; font-size: 10pt;">
|
<apex:outputField id="consumablesBox_Piece" value="{!records.esd.Box_Piece__c}"/>
|
</td>
|
</tr>
|
</apex:repeat>
|
</table>
|
</td>
|
</tr>
|
</table>
|
<br/>
|
</body>
|
</html>
|
</apex:page>
|