<apex:page standardController="Opportunity" extensions="OpportunityAAdvancedController" showHeader="false" sidebar="false" id="allPage" action="{!init}" title="高端产品">
|
<apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
|
<script>
|
// 保存
|
function saveJs() {
|
blockme();
|
saveLine();
|
}
|
//刷新询价页面
|
function refreshPage(){
|
var baseUrl = j$(escapeVfId("baseUrl")).value();
|
window.parent.location.href = baseUrl + '/{!URLENCODE(opp.id)}';
|
}
|
|
function systemChange(){
|
/*var OppSystemId = 'allPage:allForm:allBlock:j_id9:OppSystem:OppSystem:OppSystem';
|
var oldSystem = j$(escapeVfId("oldSystem")).value();
|
|
var newSystem = document.getElementById(OppSystemId).value;
|
|
if (newSystem != oldSystem) {
|
alert('此处不可修改System的值');
|
document.getElementById(OppSystemId).value = oldSystem;
|
}*/
|
blockme();
|
updat();
|
}
|
</script>
|
<apex:form id="allForm">
|
|
<apex:actionFunction name="saveLine" action="{!saveLine}" rerender="allBlock,message" onComplete="unblockUI();refreshPage();">
|
</apex:actionFunction>
|
<apex:actionFunction name="updat" action="{!init}" rerender="allPanel" oncomplete="unblockUI()"></apex:actionFunction>
|
|
<input type="hidden" id="baseUrl" value="{!baseUrl}"/>
|
|
<apex:outputPanel id="allPanel">
|
<apex:pageBlock id="allBlock">
|
<apex:pageBlockButtons location="top">
|
<apex:commandButton onclick="saveJs();" value="保存高端产品" rerender="dummy" disabled=""/>
|
<apex:outputPanel id="message">
|
<apex:messages />
|
</apex:outputPanel>
|
</apex:pageBlockButtons>
|
|
<apex:outputPanel layout="none" id="OppSystem">
|
<!-- <apex:pageBlockSection title="System" columns="2" rendered="true" >
|
|
<apex:pageBlockSectionItem id="OppSystem" >
|
<apex:outputLabel value="System" for="OppSystem"/>
|
<apex:variable var="v" value="" id="OppSystem">
|
<apex:inputField onchange="systemChange()" value="{!opp.OppSystem__c}" id="OppSystem" style="width: 300px" />
|
</apex:variable>
|
</apex:pageBlockSectionItem>
|
</apex:pageBlockSection> -->
|
|
<apex:pageBlockSection title="FV3000" columns="2" rendered="{!FV3000Flag}">
|
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="Scanner" for="la_Type" />
|
<apex:inputField value="{!opp.Scanner_FV3000__c}" id="FV3000_Scanner" style="width: 300px"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="Detector" for="la_Type"/>
|
<apex:inputField value="{!opp.Detector_FV3000__c}" id="FV3000_Detector" style="width: 300px"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="Laser" for="la_Type"/>
|
<apex:inputField value="{!opp.Laser_FV3000__c}" id="FV3000_Laser" style="width: 300px" />
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="Frame" for="la_Type"/>
|
<apex:inputField value="{!opp.Frame_FV3000__c}" id="FV3000_Frame" style="width: 300px"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="Software" for="la_Type"/>
|
<apex:inputField value="{!opp.Software_FV3000__c}" id="FV3000_Software" style="width: 300px"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="Customization" for="la_Type"/>
|
<apex:inputField value="{!opp.Customization_FV3000__c}" id="FV3000_Customization" style="width: 300px"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="Remark" for="FV3000_Remark"/>
|
|
<apex:inputField value="{!opp.Remark_FV3000__c}" id="FV3000_Remark" style="width: 294px"/>
|
|
</apex:pageBlockSectionItem>
|
|
</apex:pageBlockSection>
|
</apex:outputPanel>
|
|
<apex:outputPanel layout="none" >
|
<apex:pageBlockSection title="FVMPE-RS" columns="2" rendered="{!FVMPERSFlag}">
|
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="IR laser" for="Loaner_Ser__c"/>
|
<apex:inputField value="{!opp.IR_laser_FVMPE_RS__c}" id="FVMPERS_OppIRlaser" style="width: 300px"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="Detector" for="Loaner_Ser__c"/>
|
<apex:inputField value="{!opp.detector_FVMPE_RS__c}" id="FVMPERS_Detector" style="width: 300px"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="SIM" for="Loaner_Ser__c"/>
|
<apex:inputField value="{!opp.SIM_FVMPE_RS__c}" id="FVMPERS_SIM" style="width: 300px"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="Frame" for="Loaner_Ser__c"/>
|
<apex:inputField value="{!opp.Frame_FVMPE_RS__c}" id="FVMPERS_Frame" style="width: 300px"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="Software" for="Loaner_Ser__c"/>
|
<apex:inputField value="{!opp.Software_FVMPE_RS__c}" id="FVMPERS_Software" style="width: 300px"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="AC objective" for="Loaner_Ser__c"/>
|
<apex:inputField value="{!opp.AC_objective_FVMPE_RS__c}" id="FVMPERS_ACobjective" style="width: 300px"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="Customization" for="Loaner_Ser__c"/>
|
<apex:inputField value="{!opp.Customization_FVMPE_RS__c}" id="FVMPERS_Customization" style="width: 300px"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="Remark" for="Loaner_Ser__c"/>
|
<apex:inputField value="{!opp.Remark_FVMPE_RS__c}" id="FVMPERS_Remark" style="width: 294px"/>
|
</apex:pageBlockSectionItem>
|
|
</apex:pageBlockSection>
|
</apex:outputPanel>
|
|
<apex:outputPanel layout="none" >
|
<apex:pageBlockSection title="SPIN" columns="2" rendered="{!SPINFlag}">
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="Scanner" for="la_Type"/>
|
<apex:inputField value="{!opp.Scanner_SPIN__c}" id="SPIN_Scanner" style="width: 300px"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="Laser" for="Loaner_Ser__c"/>
|
<apex:inputField value="{!opp.Laser_SPIN__c}" id="SPIN_Laser" style="width: 300px"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="Camera" for="Loaner_Ser__c"/>
|
<apex:inputField value="{!opp.Camera_SPIN__c}" id="SPIN_Camera" style="width: 300px"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="Software" for="Loaner_Ser__c"/>
|
<apex:inputField value="{!opp.Software_SPIN__c}" id="SPIN_Software" style="width: 300px"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="Upgrade" for="Loaner_Ser__c"/>
|
<apex:inputField value="{!opp.Upgrade_SPIN__c}" id="SPIN_Upgrade" style="width: 300px"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="Remark" for="Loaner_Ser__c"/>
|
<apex:inputField value="{!opp.Remark_SPIN__c}" id="SPIN_Remark" style="width: 294px" />
|
</apex:pageBlockSectionItem>
|
|
</apex:pageBlockSection>
|
</apex:outputPanel>
|
|
<apex:outputPanel layout="none" >
|
<apex:pageBlockSection title="VS200" columns="2" rendered="{!VS200Flag}">
|
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="Observation Set" for="la_Name"/>
|
<apex:inputField value="{!opp.Observation_Set_VS200__c}" id="VS200_ObservationSet" style="width: 300px"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="Loader" for="la_Type"/>
|
<apex:inputField value="{!opp.Loader_VS200__c}" id="VS200_Loader" style="width: 300px"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="FL Camera" for="la_Type"/>
|
<apex:inputField value="{!opp.FL_Camera_VS200__c}" id="VS200_FLCamera" style="width: 300px"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="Software" for="la_Type"/>
|
<apex:inputField value="{!opp.Software_VS200__c}" id="VS200_Software" style="width: 300px"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="Upgrade" for="la_Type"/>
|
<apex:inputField value="{!opp.Upgrade_VS200__c}" id="VS200_Upgrade" style="width: 300px"/>
|
</apex:pageBlockSectionItem>
|
|
|
</apex:pageBlockSection>
|
</apex:outputPanel>
|
|
<apex:outputPanel layout="none" >
|
<apex:pageBlockSection title="Phaseview" columns="2" rendered="{!PhaseviewFlag}">
|
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="Light sheet illuminator" for="la_Name"/>
|
<apex:inputField value="{!opp.Light_sheet_illuminator_Phaseview__c}" id="Light_sheet_illuminator_Phaseview" style="width: 300px"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="Laser" for="la_Type"/>
|
<apex:inputField value="{!opp.Laser_Phaseview__c}" id="Laser_Phaseview" style="width: 300px"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="Camera" for="la_Type"/>
|
<apex:inputField value="{!opp.Camera_Phaseview__c}" id="Camera_Phaseview" style="width: 300px"/>
|
</apex:pageBlockSectionItem>
|
|
|
</apex:pageBlockSection>
|
</apex:outputPanel>
|
|
<apex:pageBlockSection title="其他" columns="2" rendered="true" >
|
|
<apex:pageBlockSectionItem id="Party" >
|
<apex:outputLabel value="3rd party Product" for="Party"/>
|
<apex:variable var="v" value="" id="Party">
|
<apex:inputField value="{!opp.OppPartyProduct__c}" id="Party" style="width: 300px"/>
|
</apex:variable>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem id="Description" >
|
<apex:outputLabel value="其他说明 Ohters" for="Description"/>
|
<apex:variable var="v" value="" id="Description">
|
<apex:inputField value="{!opp.OppOtherDescription__c}" id="Description" style="width: 300px"/>
|
</apex:variable>
|
</apex:pageBlockSectionItem>
|
</apex:pageBlockSection>
|
</apex:pageBlock>
|
</apex:outputPanel>
|
|
</apex:form>
|
</apex:page>
|