| | |
| | | sidebar="false"> --> |
| | | |
| | | <!-- SWAG-BBG8AK 添加批准列表 start--> |
| | | <apex:page standardcontroller="Campaign" extensions="CampaignMeetingcostController" id="CampaignMeetingcostPage" action="{!init}" title="会议费用情况" showHeader="false" sidebar="false"> |
| | | <apex:page standardcontroller="Campaign" extensions="CampaignMeetingcostController" id="CampaignMeetingcostPage" action="{!init}" title="会议费用情况" showHeader="false" sidebar="false" lightningStylesheets="true" > |
| | | <!-- SWAG-BBG8AK 添加批准列表 end--> |
| | | <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}" /> |
| | | <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}" /> |
| | | <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}" /> |
| | | <apex:includeScript value="{!URLFOR($Resource.CommonUtilJs)}" /> |
| | | <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}" /> |
| | | <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}" /> |
| | | <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}" /> |
| | | <apex:includeScript value="{!URLFOR($Resource.CommonUtilJs)}" /> |
| | | |
| | | <apex:outputPanel id="checkboxInit"> |
| | | <apex:outputPanel id="checkboxInit"> |
| | | <script> |
| | | function init() { |
| | | checkboxInit(); |
| | |
| | | |
| | | // |
| | | } |
| | | </script> |
| | | </script> |
| | | </apex:outputPanel> |
| | | <style> |
| | | .pbSubheader { |
| | | background-color: #44A3BB!important; |
| | | } |
| | | </style> |
| | | <style> |
| | | .pbSubheader { |
| | | background-color: #44A3BB!important; |
| | | } |
| | | </style> |
| | | <body onload="init()" class="campaignTab"> |
| | | <apex:form id="allForm"> |
| | | <apex:form id="allForm"> |
| | | |
| | | <apex:outputPanel id="attribute" > |
| | | <apex:inputHidden value="{!CampaignCostMain.isStand__c}" id="isStand__c"/> |
| | |
| | | <apex:actionFunction name="refreshPage" action="{!dummy}" |
| | | reRender="considerationLineItem,hostCampaign,attribute" /> |
| | | </apex:outputPanel> |
| | | <apex:outputPanel rendered="{!errorflg}"> |
| | | <table width="100%"> |
| | | <tr> |
| | | <td align="left"> |
| | | <div style="font-size:22px" class="errorMsg">{!errorMessage}</div> |
| | | </td> |
| | | </tr> |
| | | </table> |
| | | </apex:outputPanel> |
| | | <apex:pageBlock id="allBlock" rendered="{!canseePage}"> |
| | | <!-- 显示用 --> |
| | | <apex:outputPanel id="message"> |
| | | <apex:pageMessages /> |
| | | </apex:outputPanel> |
| | | <apex:outputPanel rendered="{!errorflg}"> |
| | | <table width="100%"> |
| | | <tr> |
| | | <td align="left"> |
| | | <div style="font-size:22px" class="errorMsg">{!errorMessage}</div> |
| | | </td> |
| | | </tr> |
| | | </table> |
| | | </apex:outputPanel> |
| | | <apex:pageBlock id="allBlock" rendered="{!canseePage}"> |
| | | <!-- 显示用 --> |
| | | <apex:outputPanel id="message"> |
| | | <apex:pageMessages /> |
| | | </apex:outputPanel> |
| | | |
| | | <apex:pageBlock title="会议费用情况(大会所有费用,不分成本中心)" id="unEditable" rendered="{!!(status)}"> |
| | | <apex:pageBlock title="会议费用情况(大会所有费用,不分成本中心)" id="unEditable" rendered="{!!(status)}"> |
| | | <apex:pageblocksection id="totalAmount_out" columns="1" title="会议费用总计"> |
| | | <apex:pageBlockSectionItem id="totalAmount"> |
| | | <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.totalMeetingCost__c.label}" for="totalMeetingCostlabel" /> |
| | |
| | | </apex:pageBlockSectionItem> |
| | | </apex:pageblocksection> |
| | | </apex:outputPanel> |
| | | </apex:pageBlock> |
| | | </apex:pageBlock> |
| | | |
| | | <!-- 编辑用 --> |
| | | <apex:pageBlock title="会议费用情况(大会所有费用,不分成本中心)" id="Editable" rendered="{!status}"> |
| | | <apex:pageBlockButtons location="top"> |
| | | <apex:commandButton value="保 存" action="{!save}" onclick="blockme();" rerender="Editable,message,checkboxInit" oncomplete="unblockUI(); checkboxInit();" |
| | | style="width: 50px;" /> |
| | | <!-- 编辑用 --> |
| | | <apex:pageBlock title="会议费用情况(大会所有费用,不分成本中心)" id="Editable" rendered="{!status}"> |
| | | <apex:pageBlockButtons location="top"> |
| | | <apex:commandButton value="保 存" action="{!save}" onclick="blockme();" rerender="Editable,message,checkboxInit" oncomplete="unblockUI(); checkboxInit();" |
| | | style="width: 50px;" /> |
| | | <apex:commandButton value="提交审批" action="{!submit}" onclick="blockme();" rerender="allBlock,unEditable,message,checkboxInit,ApprovalHistory" oncomplete="unblockUI(); checkboxInit();" |
| | | /> |
| | | <apex:commandButton value="取 消" onclick="window.close();" style="width: 50px;" /> |
| | | </apex:pageBlockButtons> |
| | | <apex:pageblocksection id="totalAmount" columns="1" title="会议费用总计"> |
| | | <apex:pageBlockSectionItem id="totalAmount"> |
| | | <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.totalMeetingCost__c.label}" for="totalMeetingCostlabel" /> |
| | | <apex:variable var="v" value="" id="totalMeetingCost"> |
| | | <apex:outputtext id="totalMeetingCost" value="{!CampaignCostMain.totalMeetingCost__c}" />元/RMB</apex:variable> |
| | | </apex:pageBlockSectionItem> |
| | | </apex:pageblocksection> |
| | | <apex:pageblocksection id="sponsoritems" columns="2" title="赞助会费用明细" rendered="{!showSponsor}" > |
| | | <apex:commandButton value="取 消" onclick="window.close();" style="width: 50px;" /> |
| | | </apex:pageBlockButtons> |
| | | <apex:pageblocksection id="totalAmount" columns="1" title="会议费用总计"> |
| | | <apex:pageBlockSectionItem id="totalAmount"> |
| | | <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.totalMeetingCost__c.label}" for="totalMeetingCostlabel" /> |
| | | <apex:variable var="v" value="" id="totalMeetingCost"> |
| | | <apex:outputtext id="totalMeetingCost" value="{!CampaignCostMain.totalMeetingCost__c}" />元/RMB</apex:variable> |
| | | </apex:pageBlockSectionItem> |
| | | </apex:pageblocksection> |
| | | <apex:pageblocksection id="sponsoritems" columns="2" title="赞助会费用明细" rendered="{!showSponsor}" > |
| | | |
| | | <apex:inputField id="medicalInsititute" value="{!CampaignCostMain.medicalInsititute__c}" /> |
| | | <apex:pageBlockSectionItem id="medicalInsitituteCost"> |
| | | <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.medicalInsitituteCost__c.label}" for="medicalInsitituteCost" /> |
| | | <apex:variable var="v" value="" id="medicalInsitituteCost"> |
| | | <apex:inputField onchange="totalPriceSum();" id="medicalInsitituteCost" value="{!CampaignCostMain.medicalInsitituteCost__c}" />元/RMB</apex:variable> |
| | | </apex:pageBlockSectionItem> |
| | | <apex:inputField id="medicalInsititute" value="{!CampaignCostMain.medicalInsititute__c}" /> |
| | | <apex:pageBlockSectionItem id="medicalInsitituteCost"> |
| | | <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.medicalInsitituteCost__c.label}" for="medicalInsitituteCost" /> |
| | | <apex:variable var="v" value="" id="medicalInsitituteCost"> |
| | | <apex:inputField onchange="totalPriceSum();" id="medicalInsitituteCost" value="{!CampaignCostMain.medicalInsitituteCost__c}" />元/RMB</apex:variable> |
| | | </apex:pageBlockSectionItem> |
| | | |
| | | <apex:inputField id="nonMedicalInstitute" value="{!CampaignCostMain.nonMedicalInstitute__c}" /> |
| | | <apex:pageBlockSectionItem id="nonMedicalInstituteCost"> |
| | | <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.nonMedicalInstituteCost__c.label}" for="medicalInsitituteCost" /> |
| | | <apex:variable var="v" value="" id="nonMedicalInstituteCost"> |
| | | <apex:inputField onchange="totalPriceSum()" id="nonMedicalInstituteCost" value="{!CampaignCostMain.nonMedicalInstituteCost__c}" />元/RMB</apex:variable> |
| | | </apex:pageBlockSectionItem> |
| | | <apex:inputField id="nonMedicalInstitute" value="{!CampaignCostMain.nonMedicalInstitute__c}" /> |
| | | <apex:pageBlockSectionItem id="nonMedicalInstituteCost"> |
| | | <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.nonMedicalInstituteCost__c.label}" for="medicalInsitituteCost" /> |
| | | <apex:variable var="v" value="" id="nonMedicalInstituteCost"> |
| | | <apex:inputField onchange="totalPriceSum()" id="nonMedicalInstituteCost" value="{!CampaignCostMain.nonMedicalInstituteCost__c}" />元/RMB</apex:variable> |
| | | </apex:pageBlockSectionItem> |
| | | |
| | | <apex:inputField id="standFittingCompany__c" value="{!CampaignCostMain.standFittingCompany__c}" /> |
| | | <apex:pageBlockSectionItem id="StandFittingComCost" > |
| | | <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.StandFittingComCost__c.label}" for="StandFittingComCost" /> |
| | | <apex:variable var="v" value="" id="StandFittingComCost"> |
| | | <apex:inputField onchange="totalPriceSum()" id="StandFittingComCost" value="{!CampaignCostMain.StandFittingComCost__c}" />元/RMB</apex:variable> |
| | | </apex:pageBlockSectionItem> |
| | | <apex:inputField id="standFittingCompany__c" value="{!CampaignCostMain.standFittingCompany__c}" /> |
| | | <apex:pageBlockSectionItem id="StandFittingComCost" > |
| | | <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.StandFittingComCost__c.label}" for="StandFittingComCost" /> |
| | | <apex:variable var="v" value="" id="StandFittingComCost"> |
| | | <apex:inputField onchange="totalPriceSum()" id="StandFittingComCost" value="{!CampaignCostMain.StandFittingComCost__c}" />元/RMB</apex:variable> |
| | | </apex:pageBlockSectionItem> |
| | | |
| | | <apex:inputField id="broadcastingCompany" value="{!CampaignCostMain.broadcastingCompany__c}" /> |
| | | <apex:pageBlockSectionItem id="broadcastingCompanyCost" > |
| | | <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.broadcastingCompanyCost__c.label}" for="broadcastingCompanyCost" /> |
| | | <apex:variable var="v" value="" id="broadcastingCompanyCost"> |
| | | <apex:inputField onchange="totalPriceSum()" id="broadcastingCompanyCost" value="{!CampaignCostMain.broadcastingCompanyCost__c}" />元/RMB</apex:variable> |
| | | </apex:pageBlockSectionItem> |
| | | <apex:inputField id="broadcastingCompany" value="{!CampaignCostMain.broadcastingCompany__c}" /> |
| | | <apex:pageBlockSectionItem id="broadcastingCompanyCost" > |
| | | <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.broadcastingCompanyCost__c.label}" for="broadcastingCompanyCost" /> |
| | | <apex:variable var="v" value="" id="broadcastingCompanyCost"> |
| | | <apex:inputField onchange="totalPriceSum()" id="broadcastingCompanyCost" value="{!CampaignCostMain.broadcastingCompanyCost__c}" />元/RMB</apex:variable> |
| | | </apex:pageBlockSectionItem> |
| | | |
| | | |
| | | |
| | | |
| | | <apex:pageBlockSectionItem id="animalExperienceCost"> |
| | | <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.animalExperienceCost__c.label}" for="animalExperienceCost" /> |
| | | <apex:variable var="v" value="" id="animalExperienceCost"> |
| | | <apex:inputField onchange="totalPriceSum()" id="animalExperienceCost" value="{!CampaignCostMain.animalExperienceCost__c}" />元/RMB</apex:variable> |
| | | </apex:pageBlockSectionItem> |
| | | <apex:pageBlockSectionItem id="OtherSponsorCost"> |
| | | <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.OtherSponsorCost__c.label}" for="OtherSponsorCost" /> |
| | | <apex:variable var="v" value="" id="OtherSponsorCost"> |
| | | <apex:inputField onchange="totalPriceSum()" id="OtherSponsorCost" value="{!CampaignCostMain.OtherSponsorCost__c}" />元/RMB</apex:variable> |
| | | </apex:pageBlockSectionItem> |
| | | </apex:pageblocksection> |
| | | <apex:pageBlockSectionItem id="animalExperienceCost"> |
| | | <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.animalExperienceCost__c.label}" for="animalExperienceCost" /> |
| | | <apex:variable var="v" value="" id="animalExperienceCost"> |
| | | <apex:inputField onchange="totalPriceSum()" id="animalExperienceCost" value="{!CampaignCostMain.animalExperienceCost__c}" />元/RMB</apex:variable> |
| | | </apex:pageBlockSectionItem> |
| | | <apex:pageBlockSectionItem id="OtherSponsorCost"> |
| | | <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.OtherSponsorCost__c.label}" for="OtherSponsorCost" /> |
| | | <apex:variable var="v" value="" id="OtherSponsorCost"> |
| | | <apex:inputField onchange="totalPriceSum()" id="OtherSponsorCost" value="{!CampaignCostMain.OtherSponsorCost__c}" />元/RMB</apex:variable> |
| | | </apex:pageBlockSectionItem> |
| | | </apex:pageblocksection> |
| | | |
| | | <apex:pageblocksection columns="1" id="consideration" title="对价内容:(勾选)" rendered="{!showSponsor}"> |
| | | <apex:pageBlockSectionItem > |
| | | <input type="checkbox" name="chk_group1" id = "isStand" |
| | | <apex:pageblocksection columns="1" id="consideration" title="对价内容:(勾选)" rendered="{!showSponsor}"> |
| | | <apex:pageBlockSectionItem > |
| | | <input type="checkbox" name="chk_group1" id = "isStand" |
| | | onchange="document.getElementById('{!$Component.isStand__c}').value |
| | | = this.checked;refreshPage();"/> |
| | | {!$ObjectType.Campaign_Cost__c.fields.isStand__c.label} |
| | | <input type="checkbox" name="chk_group2" id = "IsSatelliteMeeting" |
| | | <input type="checkbox" name="chk_group2" id = "IsSatelliteMeeting" |
| | | onchange="document.getElementById('{!$Component.IsSatelliteMeeting__c}').value |
| | | = this.checked;refreshPage();"/> |
| | | {!$ObjectType.Campaign_Cost__c.fields.IsSatelliteMeeting__c.label} |
| | | <input type="checkbox" name="chk_group3" id = "isTitle" |
| | | <input type="checkbox" name="chk_group3" id = "isTitle" |
| | | onchange="document.getElementById('{!$Component.isTitle__c}').value |
| | | = this.checked;refreshPage();"/> |
| | | {!$ObjectType.Campaign_Cost__c.fields.isTitle__c.label} |
| | |
| | | = this.checked;refreshPage();" /> |
| | | {!$ObjectType.Campaign_Cost__c.fields.isOther__c.label} |
| | | <br /> |
| | | </apex:pageBlockSectionItem> |
| | | </apex:pageblocksection> |
| | | <apex:pageblocksection columns="2" id="considerationLineItem" title="对价明细:" rendered="{!showSponsor}"> |
| | | </apex:pageBlockSectionItem> |
| | | </apex:pageblocksection> |
| | | <apex:pageblocksection columns="2" id="considerationLineItem" title="对价明细:" rendered="{!showSponsor}"> |
| | | <apex:pageBlockSectionItem rendered="{!CampaignCostMain.isStand__c}"> |
| | | <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.standArea__c.label}" for="OtherSponsorCost" /> |
| | | <apex:variable var="v" value="" id="standArea"> |
| | |
| | | <apex:pageBlockSectionItem rendered="{!CampaignCostMain.IsDocLOGO__c}"> |
| | | </apex:pageBlockSectionItem> |
| | | <apex:outputtext value="填写具体项目:本/笔/证件卡带logo" style=" color: blue; font-weight: bold; text-align: center; margin-left:20%" rendered="{!CampaignCostMain.IsDocLOGO__c}"/> |
| | | </apex:pageblocksection> |
| | | </apex:pageblocksection> |
| | | <apex:outputPanel id="hostCampaign"> |
| | | <apex:pageblocksection id="hostCampaignLineItems" columns="2" title="自办/共办会费用明细" rendered="{!showHost}"> |
| | | <apex:pageBlockSectionItem id="paymentFromCompany"> |
| | | <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.paymentFromCompany__c.label}" for="paymentFromCompany" /> |
| | | <apex:variable var="v" value="" id="paymentFromCompany"> |
| | | <apex:inputField onchange="totalPriceSum()" id="paymentFromCompany" value="{!CampaignCostMain.paymentFromCompany__c}" />元/RMB</apex:variable> |
| | | </apex:pageBlockSectionItem> |
| | | <apex:pageBlockSectionItem id="paymentFromCooperator"> |
| | | <apex:pageblocksection id="hostCampaignLineItems" columns="2" title="自办/共办会费用明细" rendered="{!showHost}"> |
| | | <apex:pageBlockSectionItem id="paymentFromCompany"> |
| | | <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.paymentFromCompany__c.label}" for="paymentFromCompany" /> |
| | | <apex:variable var="v" value="" id="paymentFromCompany"> |
| | | <apex:inputField onchange="totalPriceSum()" id="paymentFromCompany" value="{!CampaignCostMain.paymentFromCompany__c}" />元/RMB</apex:variable> |
| | | </apex:pageBlockSectionItem> |
| | | <apex:pageBlockSectionItem id="paymentFromCooperator"> |
| | | <apex:outputLabel value="{!$ObjectType.Campaign_Cost__c.fields.paymentFromCooperator__c.label}" for="paymentFromCooperator" /> |
| | | <apex:variable var="v" value="" id="paymentFromCooperator"> |
| | | <apex:inputField onchange="totalPriceSum()" id="paymentFromCooperator" value="{!CampaignCostMain.paymentFromCooperator__c}" />元/RMB</apex:variable> |
| | |
| | | <apex:variable var="v" value="" id="hostCompanyCostAndTax"> |
| | | <apex:inputField onchange="totalPriceSum()" id="hostCompanyCostAndTax" value="{!CampaignCostMain.hostCompanyCostAndTax__c}" />元/RMB</apex:variable> |
| | | </apex:pageBlockSectionItem> |
| | | </apex:pageblocksection> |
| | | </apex:pageblocksection> |
| | | </apex:outputPanel> |
| | | </apex:pageBlock> |
| | | </apex:pageBlock> |
| | | </apex:pageBlock> |
| | | |
| | | </apex:form> |
| | | </apex:form> |
| | | <!-- SWAG-BBG8AK 添加批准列表 start--> |
| | | <apex:outputPanel id="ApprovalHistory" rendered="{!canseePage}"> |
| | | <apex:relatedList list="ProcessSteps"/> |