<apex:page controller="ConsumptionPDFController" 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); */
|
/* } */
|
}
|
.bottomTable{
|
width:200px;
|
height:50px;
|
position:relative;
|
margin-top:400px;
|
margin-left:550px;
|
}
|
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%">
|
<table width="100%" border="1" cellspacing="0" style="border-color: red;">
|
<tr><td colspan="2" style="font-size: 6px; font-weight: bold; color: red; text-align: center; padding: 0px 0px 0px 0px;">OLYMPUS</td></tr>
|
<tr>
|
<td style="font-size: 7px; color: red; text-align: center; padding: 0px 0px 0px 0px; border-color: red;" width="80%" >CONFIDENTIAL</td>
|
<td style="font-size: 7px; color: red; text-align: center; padding: 0px 0px 0px 0px; border-color: red;">㊙</td>
|
</tr>
|
</table>
|
</td>
|
<td style="text-align: center;"><span style="font-size: 20pt;">纳品书</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 value="{!coc.Consumable_pdf_insert_day__c}" id="Checkbox"/></td>
|
</tr>
|
<tr>
|
<td class="label" height="23px">客户名</td>
|
<td class="middle">{!coc.ShipmentAccount__c}</td>
|
<td class="label" height="23px">经销商(录入)</td>
|
<td class="middle">{!coc.Order_ForDealerText__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="20%">产品型号</td>
|
<td class="title" width="10%">BarCode</td>
|
<td class="title" width="10%">有効期限</td>
|
<td class="title" width="10%">订货数量</td>
|
<td class="title" width="10%">单位</td>
|
<td class="title" width="10%">单价(元)</td>
|
<td class="title" width="10%">piece</td>
|
</tr>
|
<apex:outputPanel id="allPanel_test" >
|
<apex:pageBlock id="Editable_test">
|
<apex:pageblocksection columns="1" id="ConsumableorderdetailsSection_test">
|
<tr ><apex:pageblocktable value="{!ConsumableorderdetailsRecords}" var="records" id="ConsumableorderdetailsTable_test">
|
|
<td height="60px"><apex:column width="14%" style="font-size:14px;text-indent: 10%;border-style:ridge;height:40px;">
|
<apex:outputField value="{!records.Prod.Name__c}"/>
|
</apex:column></td>
|
<td height="60px"><apex:column width="10%" style="font-size:14px;text-indent: 10%; height:40px;border-style: ridge;">
|
<apex:outputField value="{!records.esd.Asset_Model_No__c}"/>
|
</apex:column></td>
|
<td height="60px">
|
<apex:column width="5%" style="font-size:14px;text-indent: 10%;height:40px;border-style: ridge;" >
|
<apex:outputField value="{!records.esd.Bar_Code__c}"/>
|
</apex:column>
|
</td>
|
<td height="60px">
|
<apex:column width="5%" style="font-size:14px;text-indent: 10%;height:40px;border-style: ridge;" >
|
<apex:outputField value="{!records.esd.Guarantee_period_for_products__c}"/>
|
</apex:column>
|
</td>
|
<td height="60px">
|
<apex:column width="5%" style="font-size:14px;text-indent: 10%;height:40px;border-style: ridge;text-align: right;" >
|
<apex:outputField value="{!records.esd.Consumable_count__c}"/>
|
</apex:column>
|
</td>
|
<td height="60px">
|
<apex:column width="5%" style="font-size:14px;text-indent: 10%;height:40px;border-style: ridge;" >
|
<apex:outputField value="{!records.esd.Box_Piece__c}"/>
|
</apex:column>
|
</td>
|
<td height="60px">
|
<apex:column width="5%" style="font-size:14px;text-indent: 10%;height:40px;border-style: ridge;" >
|
<apex:outputField id="consumablesCount" value="{!records.esd.Intra_Trade_List_RMB__c}"/>
|
</apex:column>
|
</td>
|
<td height="60px">
|
<apex:column width="5%" style="font-size:14px;text-indent: 10%;height:40px;border-style: ridge;text-align: right;" >
|
<apex:outputField id="detailsPiece" value="{!records.esd.Order_details_Piece__c}"/>
|
</apex:column>
|
</td>
|
|
</apex:pageblocktable>
|
</tr>
|
</apex:pageblocksection>
|
</apex:pageBlock>
|
</apex:outputPanel>
|
</table>
|
</td>
|
</tr>
|
</table>
|
|
|
<br/>
|
<table class="bottomTable">
|
<tr>
|
<td>
|
(盖章)
|
</td>
|
</tr>
|
<tr height="60px">
|
<td height="60px">
|
|
</td>
|
</tr>
|
<tr>
|
<td>
|
年 月 日
|
</td>
|
</tr>
|
</table>
|
|
</body>-->
|
</html>
|
|
</apex:page>
|