<apex:page Controller="searchContractController" sidebar="false" showHeader="false" action="{!init}" >
|
<apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
|
<script>
|
function setProductOne(name) {
|
window.opener.j$(escapeVfId("allPage:allForm:allBlock:searchBlock:OEC")).val(name);
|
//top.window.opener.calPriceAll(window.opener.document);
|
top.window.close();
|
}
|
</script>
|
<apex:outputPanel id="all">
|
<apex:outputPanel id="message1">
|
<apex:messages styleClass="editListError"/>
|
</apex:outputPanel>
|
<apex:form id="mainForm">
|
<apex:pageBlock id="idSearchSetProduct" title="合同检索">
|
<table width="850" border="0" style="background-color:#DCDCDC">
|
<colgroup>
|
<col width="12" />
|
<col width="20" />
|
<col width="20" />
|
<col width="200" />
|
<col width="20" />
|
<col width="428" />
|
</colgroup>
|
<tr>
|
<td> </td>
|
<th>{!$Label.Search_Condition}</th>
|
<td> </td>
|
<th>合同号码</th>
|
<td> </td>
|
<td> </td>
|
</tr>
|
<tr>
|
<td> </td>
|
<td> </td>
|
<td> </td>
|
<td><apex:inputText id="searchName" value="{!SearchName}" style="width:200px" required="false"/></td>
|
<td><apex:commandButton value="{!$Label.Search}" action="{!serContact}" style="width:100px" /></td>
|
<td></td>
|
</tr>
|
<tr>
|
<td style="border-bottom: 1px solid #888;" colspan="15"> </td>
|
</tr>
|
</table>
|
<table width="850" border="0" style="background-color:#DCDCDC">
|
<tr>
|
<td width="12"> </td>
|
<th valign="top">{!$Label.Search_Result}</th>
|
<td width="20"> </td>
|
<td>
|
<table border="0">
|
<tr>
|
<td>
|
<div id="iframelike" style="width:700px">
|
<apex:pageBlockTable id="idRezultVisitor" value="{!at}" var="c" border="1" columns="5" columnsWidth="200px,150px,150px,100px,100px">
|
<apex:column >
|
<apex:facet name="header">合同号码</apex:facet>
|
<apex:outputLink id="contactName" value="{!c.Name}" onclick="setProductOne('{!c.Name}');return false;">{!c.Name}</apex:outputLink>
|
</apex:column>
|
<apex:column >
|
<apex:facet name="header">省份</apex:facet>
|
<apex:outputField id="State_Master" value="{!c.State_Master__r.Name}" />
|
</apex:column>
|
<apex:column >
|
<apex:facet name="header">{!$ObjectType.Account.fields.Sales_Section__c.Label}</apex:facet>
|
<apex:outputField id="Alternative" value="{!c.Sales_Section__c}" />
|
</apex:column>
|
<apex:column >
|
<apex:facet name="header">{!$ObjectType.Account.fields.Contract_Decide_Start_Date__c.Label}</apex:facet>
|
<apex:outputField id="Contract_Decide_Start_Date__c" value="{!c.Contract_Decide_Start_Date__c}" />
|
</apex:column>
|
<apex:column >
|
<apex:facet name="header">{!$ObjectType.Account.fields.Contract_Decide_End_Date__c.Label}</apex:facet>
|
<apex:outputField id="Contract_Decide_End_Date__c" value="{!c.Contract_Decide_End_Date__c}" />
|
</apex:column>
|
<!--<apex:column style="text-align:right;">
|
<apex:facet name="header">{!$Label.ListPrice_Out}</apex:facet>
|
<apex:outputField id="Foreign_Trade_List_US__c" value="{!c.pbe.Product2.Foreign_Trade_List_US__c}" />
|
</apex:column>
|
<apex:column style="text-align:right;">
|
<apex:facet name="header">{!$Label.Specifications}</apex:facet>
|
<apex:outputField id="Specifications" value="{!c.pbe.Product2.Packing_list_manual__c}" />
|
</apex:column>-->
|
</apex:pageBlockTable>
|
</div>
|
</td>
|
</tr>
|
</table>
|
</td>
|
</tr>
|
</table>
|
</apex:pageBlock>
|
</apex:form>
|
</apex:outputPanel>
|
</apex:page>
|