<apex:page Controller="InventoryListController" showHeader="true" tabStyle="InventoryView__tab" sidebar="true" id="allPage" action="{!init}" title="盘点信息一览">
|
<apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
|
<script>
|
|
function calonLoad() {
|
}
|
window.sfdcPage.appendToOnloadQueue(function() { calonLoad() });
|
</script>
|
<style>
|
.dateFormat {
|
display: none;
|
}
|
</style>
|
<apex:form id="allForm">
|
<!-- <apex:actionFunction name="SortLimited" action="{!SortLimited}" rerender="ConsumableorderdetailsSection, message" onComplete="unblockUI();">
|
<apex:param name="firstParam" assignTo="{!sortKey}" value="" />
|
</apex:actionFunction> -->
|
<apex:outputPanel id="allPanel">
|
<apex:pageBlock id="allBlock" >
|
<apex:outputPanel id="message">
|
<apex:pageMessages />
|
</apex:outputPanel>
|
<apex:pageBlock title="盘点情况一览" id="Editable">
|
<table>
|
<colgroup>
|
<col width="100px"/>
|
<col width="180px"/>
|
<col width="100px"/>
|
<col width="100px"/>
|
<col width="100px"/>
|
<col width="100px"/>
|
<col width="150px"/>
|
<col width="150px"/>
|
<col width="150px"/>
|
<col width="150px"/>
|
<col width="150px"/>
|
<col width="150px"/>
|
<col width="150px"/>
|
<col width="150px"/>
|
</colgroup>
|
<tr>
|
<td align="right">盘点单号:</td>
|
<td align="left"><apex:outputField id="OrderExpectDate" value="{!coc.Name}" style="width:180px" /></td>
|
<td align="right" >盘点时间:</td>
|
<td align="left"><apex:outputField value="{!coc.Inventory_date__c}" id="Checkbox"/></td>
|
</tr>
|
<tr>
|
</tr>
|
</table>
|
</apex:pageBlock>
|
<apex:pageblocksection columns="1" title="盘点明细" id="ConsumableorderdetailsSectionPandian">
|
<apex:pageblocktable value="{!ConsumableorderdetailsRecords}" var="records" id="ConsumableorderdetailsTable0">
|
<apex:column width="180" style="text-align: center">
|
<apex:facet name="header"><div style="text-align:center">消耗品名称</div></apex:facet>
|
<apex:outputField style="text-align: center;" value="{!records.Prod.Name__c}"/>
|
</apex:column>
|
<apex:column width="180" style="text-align: center">
|
<apex:facet name="header"><div style="text-align:center">库存</div></apex:facet>
|
<apex:outputField id="consumablesCount" value="{!records.orderdetails1.Count_Sum__c}" />
|
</apex:column>
|
<apex:column width="180" style="text-align: center">
|
<apex:facet name="header"><div style="text-align:center">盘点</div></apex:facet>
|
<apex:outputField id="consumablesCount1"
|
value="{!records.orderdetails1.inventory_sum__c}" />
|
</apex:column>
|
<apex:column width="180" style="text-align: center">
|
<apex:facet name="header"><div style="text-align:center">丢失</div></apex:facet>
|
<apex:outputField id="consumablesCount2" value="{!records.orderdetails1.Diff__c}" />
|
</apex:column>
|
<apex:column width="180" style="text-align: center">
|
<apex:facet name="header"><div style="text-align:center">寻回</div></apex:facet>
|
<apex:outputField id="consumablesCount3" value="{!records.orderdetails1.Product_Refind__c}" />
|
</apex:column>
|
<apex:column width="180" style="text-align: center">
|
<apex:facet name="header"><div style="text-align:center">差异原因</div></apex:facet>
|
<apex:outputField value="{!records.orderdetails1.Lose_reason__c}" />
|
</apex:column>
|
</apex:pageblocktable>
|
<script>
|
setDisabled();
|
</script>
|
</apex:pageblocksection>
|
<apex:pageblocksection columns="1" title="在库调整明细" id="ConsumableorderdetailsSection">
|
<apex:pageblocktable value="{!ConsumableorderdetailsRecordsError}" var="records" id="ConsumableorderdetailsTable">
|
<apex:column width="180" style="text-align: center">
|
<apex:facet name="header"><div style="text-align:center">消耗品名称</div></apex:facet>
|
<apex:outputField value="{!records.Prod.Name__c}"/>
|
</apex:column>
|
<apex:column width="120" style="text-align: center">
|
<apex:facet name="header"><div style="text-align:center">产品型号</div></apex:facet>
|
<apex:outputField value="{!records.Prod.Asset_Model_No__c}"/>
|
</apex:column>
|
<apex:column width="80" style="text-align: center">
|
<apex:facet name="header"><div style="text-align:center">差异原因</div></apex:facet>
|
<apex:outputField value="{!records.orderdetails2.Lose_reason__c}"/>
|
</apex:column>
|
<apex:column width="80" style="text-align: center">
|
<apex:facet name="header"><div style="text-align:center">是否丢失</div></apex:facet>
|
<apex:outputField value="{!records.orderdetails2.Lose_Flag__c}"/>
|
</apex:column>
|
</apex:pageblocktable>
|
<script>
|
setDisabled();
|
</script>
|
</apex:pageblocksection>
|
|
</apex:pageBlock>
|
</apex:outputPanel>
|
</apex:form>
|
<script>
|
|
</script>
|
</apex:page>
|