From 07390e2fcb4adf27c928335bf27ae7939c5a80ad Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期二, 23 五月 2023 11:28:12 +0800
Subject: [PATCH] bakcup20230523
---
force-app/main/default/pages/CampaignMeetingcost.page | 196 ++++++++++++++++++++++++------------------------
1 files changed, 98 insertions(+), 98 deletions(-)
diff --git a/force-app/main/default/pages/CampaignMeetingcost.page b/force-app/main/default/pages/CampaignMeetingcost.page
index 796d2c7..b185284 100644
--- a/force-app/main/default/pages/CampaignMeetingcost.page
+++ b/force-app/main/default/pages/CampaignMeetingcost.page
@@ -2,14 +2,14 @@
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();
@@ -137,15 +137,15 @@
//
}
- </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"/>
@@ -161,22 +161,22 @@
<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" />
@@ -366,80 +366,80 @@
</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}
@@ -461,9 +461,9 @@
= 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">
@@ -502,15 +502,15 @@
<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>
@@ -575,12 +575,12 @@
<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"/>
--
Gitblit v1.9.1