| | |
| | | <apex:page standardController="Opportunity" extensions="AdvanceOpportunityController" showChat="false" showHeader="false" sidebar="false" action="{!init}" id="Page"> |
| | | <apex:page standardController="Opportunity" extensions="AdvanceOpportunityController" showChat="false" showHeader="false" sidebar="false" action="{!init}" id="allPage" lightningStylesheets="true"> |
| | | <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/> |
| | |
| | | <title>询价推进</title> |
| | | |
| | | <script type="text/javascript"> |
| | | function save(){ |
| | | blockme(); |
| | | alert("保存成功"); |
| | | allSave(); |
| | | // save(); |
| | | } |
| | | 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> |
| | | |
| | | <apex:inputField value="{!AdOpportunity.MarketAdvance__c}">市场共同推进</apex:inputField> |
| | | <br /> |
| | | <apex:inputField value="{!AdOpportunity.AddOpportunity__c}">新增询价</apex:inputField> |
| | | <br /> |
| | | <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.AddPrice__c}">增加金额</apex:inputField> |
| | | <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> |