<apex:page controller="InventoryController" cache="true" contentType="application/vnd.ms-excel#{!fileName}.xls">
|
<apex:pageblock title="导出结果">
|
<table class="list" border="0" cellpadding="0" cellspacing="0" >
|
<apex:repeat value="{!pandiandetailsListShow}" var="records" id="csvOuter" >
|
<apex:repeat value="{!records}" var="m" id="csv">
|
<tr class="dataRow">
|
<td Class="dataCell">{!m.Consumable_Product__r.Name__c}</td>
|
<td class="dataCell">{!m.Box_Piece__c}</td>
|
<td class="dataCell">{!m.Bar_Code__c}</td>
|
<td class="dataCell">{!m.Lose_reason__c}</td>
|
</tr>
|
</apex:repeat>
|
</apex:repeat>
|
</table>
|
<!-- <apex:pageblocktable value="{!consumableorderdetailsRecordserrordummy}" var="records">
|
<apex:column value="{!records.Prod.Name__c}"/>
|
<apex:column value="{!records.orderdetails2.Box_Piece__c}"/>
|
<apex:column value="{!records.orderdetails2.Bar_Code__c}"/>
|
<apex:column value="{!records.orderdetails2.Lose_reason__c}"/>
|
</apex:pageblocktable> -->
|
</apex:pageblock>
|
</apex:page>
|