<apex:page standardController="Consum_Inventory_Detail__c" extensions="InventoryReportDetailController" showHeader="true" sidebar="false" id="allPage" action="{!init}">
|
<apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
|
<style>
|
table {
|
/*width: 100%;
|
margin: 10px;*/
|
table-layout: fixed;
|
border-collapse: collapse;
|
}
|
.labelStyle {
|
padding: 5px;
|
border: 1px solid black;
|
}
|
table.list .col_Inventory_Remarks__c { width: 400px; }
|
/*.myTable {
|
width: 100%;
|
}*/
|
</style>
|
<apex:form id="allForm">
|
<apex:actionFunction name="searchOpp" action="{!searchOpp}" rerender="allForm" oncomplete="unblockUI();" />
|
<apex:actionFunction name="saveAndSearch" action="{!save}" rerender="allPanel" oncomplete="unblockUI();">
|
<apex:param name="firstParam" assignTo="{!saveType}" value="" />
|
</apex:actionFunction>
|
<apex:outputPanel id="pageallPanel">
|
<apex:pageBlock id="searchBlock" tabStyle="Report">
|
<apex:pageBlockSection title="耗材盘点表明细画面">
|
<apex:outputField value="{!parentObj.Name}"/>
|
<apex:outputField value="{!parentObj.Internal_asset_location__c}"/>
|
<apex:outputField value="{!parentObj.Inventory_Start_Date__c}"/>
|
<apex:outputField value="{!parentObj.Inventory_Status__c}"/>
|
<apex:outputField value="{!parentObj.InventoryPIC__c}"/>
|
</apex:pageBlockSection>
|
</apex:pageBlock>
|
<table>
|
<tr>
|
<td width="4%" style="text-align: right;">关键字</td>
|
<td width="8%">
|
<apex:inputText value="{!keyword}" />
|
</td>
|
<td width="3%" style="text-align: right;">
|
<apex:commandButton value="检索" onclick=" searchOppJs(); return false;"/>
|
</td>
|
<td width="3%">
|
<apex:commandButton action="{!save}" value="保存" onclick="blockme();" rerender="allForm" oncomplete="unblockUI();" />
|
</td>
|
<td width="10%" style="text-align: right;">
|
<apex:outputLabel for="modelNo" value="{!$ObjectType.Inventory_Detail__c.fields.Fixture_Model_No__c.label}"/>
|
</td>
|
<td width="10%">
|
<apex:inputText id="modelNo" value="{!modelNo}" />
|
</td>
|
<td width="10%" style="text-align: right;">
|
<apex:outputLabel for="serialNo" value="{!$ObjectType.Inventory_Detail__c.fields.SerialNumber__c.label}" />
|
</td>
|
<td width="10%">
|
<apex:inputText id="serialNo" value="{!serialNo}" />
|
</td>
|
<td width="10%" style="text-align: right;">
|
<apex:outputLabel for="whLocation" value="{!$ObjectType.Inventory_Detail__c.fields.WH_Location__c.label}" />
|
</td>
|
<td width="10%">
|
<apex:inputText id="whLocation" value="{!whLocation}" />
|
</td>
|
</tr>
|
</table>
|
<table class="myTable" style="margin: 10px auto;">
|
<tr>
|
<td style="width:8%; text-align: right;">
|
<apex:outputLabel for="bpPankuiYing" value="盘亏/盘盈"/>
|
</td>
|
<td style="width:8%;">
|
<apex:selectList value="{!bpPankuiYing}" size="1" id="bpPankuiYingOps">
|
<apex:selectOptions value="{!bpPankuiYingOps}"/>
|
</apex:selectList>
|
</td>
|
<td style="width:8%; text-align: right;">
|
<apex:outputLabel for="bieBeiPinFenLei" value="{!$ObjectType.Inventory_Detail__c.fields.Equipment_Type__c.label}" />
|
</td>
|
<td style="width:8%;">
|
<apex:selectList value="{!bieBeiPinFenLei}" size="1" id="bieBeiPinFenLei">
|
<apex:selectOptions value="{!bieBeiPinFenLeiOps}"/>
|
</apex:selectList>
|
</td>
|
<td style="width:8%; text-align: right;">盘点状态</td>
|
<td style="width:8%;">
|
<apex:selectList value="{!assetStatus}" id="assetStatusId" size="1">
|
<apex:selectOptions value="{!assetStatusOptionList}"/>
|
</apex:selectList>
|
</td>
|
<td style="width:10%;text-align: right">消耗品有效期至</td>
|
<td style="width:1%;">
|
<apex:selectList value="{!compareOperator}" id="compareOperatorOps" size="1">
|
<apex:selectOptions value="{!CompareOperatorOps}"/>
|
</apex:selectList>
|
</td>
|
<td style="width:5%;">
|
<apex:inputField id="consumGuaranteenDate" value="{!sampleCiDetail.Consumable_Guaranteen_end__c}"/>
|
</td>
|
</tr>
|
</table>
|
</apex:outputPanel>
|
<apex:outputPanel id="message">
|
<apex:pageMessages />
|
</apex:outputPanel>
|
<apex:outputText style="margin: 10px;" value="{!invDetailResultRemark}" />
|
<c:RelationListPagingCmp id="cmpid" pgController="{!this}" hasCheckbox="false" isRadio="false" noSort="false"/>
|
</apex:form>
|
</apex:page>
|