<apex:page standardController="Opportunity" extensions="AdvanceOpportunityController" showChat="false" showHeader="false" sidebar="false" action="{!init}" id="allPage">
|
<apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
|
<apex:includeScript value="/soap/ajax/29.0/connection.js"/>
|
<apex:includeScript value="/soap/ajax/29.0/apex.js"/>
|
<head>
|
<title>询价推进</title>
|
|
<script type="text/javascript">
|
function save(){
|
blockme();
|
savebtn();
|
}
|
function refreshparent() {
|
var hasError = j$(escapeVfId('allPage:allForm:hasError')).text();
|
if (hasError == 'false') {
|
alert('保存成功');
|
//top.window.opener.reloadjs();
|
window.opener.top.location.reload();
|
window.open("/{!aoId}");
|
top.window.close();
|
}
|
}
|
</script>
|
</head>
|
<apex:form id="allForm">
|
<apex:actionFunction name="savebtn" action="{!save}" rerender="message" onComplete="unblockUI();refreshparent();"></apex:actionFunction>
|
<apex:outputPanel id="message">
|
<apex:pageMessages />
|
<apex:outputText id="hasError" value="{!hasError}" style="display:none"/>
|
</apex:outputPanel>
|
<apex:inputField value="{!AdOpportunity.BigContract__c}">大合同</apex:inputField>
|
<br />
|
<apex:inputField value="{!AdOpportunity.AddPrice__c}">增加金额</apex:inputField>
|
<br />
|
|
<apex:inputField value="{!AdOpportunity.GradePro__c}">等级提升</apex:inputField>
|
<br />
|
<apex:inputField value="{!AdOpportunity.KeepPushing__c}">保持推进</apex:inputField>
|
<br />
|
<apex:inputField value="{!AdOpportunity.MarketAdvance__c}">市场共同推进</apex:inputField>
|
<br />
|
<apex:commandButton action="{!save}" onclick="save();return false;" value="保存"></apex:commandButton>
|
</apex:form>
|
</apex:page>
|