<apex:page id="Page" Controller="TradeCustomerManagerSearchOppController" sidebar="false" showHeader="false" action="{!init}">
|
<apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.connection20)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.apex20)}"/>
|
|
<style type="text/css">
|
|
</style>
|
<script>
|
function returnTradeCustomerManager(code,oppId){
|
|
window.opener.refreshPage(code,oppId);
|
window.close();
|
}
|
function doSearchJS(){
|
var byName = j$(escapeVfId("byName")).value();
|
var byCode = j$(escapeVfId("byCode")).value();
|
doSearchA(byName,byCode);
|
}
|
</script>
|
<apex:form id="data">
|
<apex:actionFunction action="{!doSearch}" name="doSearchA">
|
<apex:param assignTo="{!byName}" name="byName" value=""></apex:param>
|
<apex:param assignTo="{!byCode}" name="byCode" value=""></apex:param>
|
</apex:actionFunction>
|
<!-- <apex:actionFunction></apex:actionFunction> -->
|
<div style="width: 100%;height: 500px;">
|
<!-- 询价名称:<input id="byName" value="{!byName}"></input>
|
询价编号:<input id="byCode" value="{!byCode}"></input>
|
<apex:commandButton value="查询" onclick="doSearchJS()"></apex:commandButton> -->
|
<table width="100%">
|
<colgroup>
|
<col width="20%"/>
|
<col width="20%"/>
|
<col width="20%"/>
|
<col width="20%"/>
|
<col width="20%"/>
|
</colgroup>
|
<tr>
|
<td colspan="2">询价名称:<apex:inputText id="byName" value="{!byName}"></apex:inputText></td>
|
<td colspan="2">询价编号:<apex:inputText id="byCode" value="{!byCode}"></apex:inputText></td>
|
<td><apex:commandButton onclick="blockme();" value="查询" action="{!doSearch}" reRender="data" oncomplete="unblockUI();"></apex:commandButton>
|
<apex:commandButton onclick="returnTradeCustomerManager('','')" value="删除已选询价" reRender="data" oncomplete="unblockUI();"></apex:commandButton></td>
|
</tr>
|
<tr>
|
<th colspan="2">询价名</th>
|
<th>询价编号</th>
|
<th>客户</th>
|
<th>贸易管理客户分类</th>
|
</tr>
|
</table>
|
<div style="width: 100%;height: 100%;overflow:auto;">
|
<table width="100%">
|
<colgroup>
|
<col width="20%"/>
|
<col width="20%"/>
|
<col width="20%"/>
|
<col width="20%"/>
|
<col width="20%"/>
|
</colgroup>
|
<apex:repeat value="{!oppList}" var="line" id="oppData">
|
<tr>
|
<td colspan="2"><apex:outputLink value="javascript:void(0)" onclick="returnTradeCustomerManager('{!line.InquiryNumber__c}','{!line.Id}')">{!line.Name}</apex:outputLink></td>
|
<td><apex:outputLink value="javascript:void(0)" onclick="returnTradeCustomerManager('{!line.InquiryNumber__c}','{!line.Id}')">{!line.InquiryNumber__c}</apex:outputLink></td>
|
<td>{!line.Account.Name}</td>
|
<td>{!line.customerType__c}</td>
|
</tr>
|
</apex:repeat>
|
</table>
|
</div>
|
</div>
|
</apex:form>
|
</apex:page>
|