KKbes
2023-06-06 0cbd72193c521f080b66626def4df620fdb66086
会议费用情况  、  医院-保佑设备检索   页面
3个文件已修改
209 ■■■■ 已修改文件
force-app/main/default/pages/CampaignMeetingcost.page 196 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/pages/CampaignMeetingcost.page-meta.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/pages/ListAssetForHospital.page 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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();"  />
                    </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"/>
force-app/main/default/pages/CampaignMeetingcost.page-meta.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<ApexPage xmlns="http://soap.sforce.com/2006/04/metadata">
    <apiVersion>34.0</apiVersion>
    <availableInTouch>false</availableInTouch>
    <availableInTouch>true</availableInTouch>
    <confirmationTokenRequired>false</confirmationTokenRequired>
    <label>CampaignMeetingcost</label>
</ApexPage>
force-app/main/default/pages/ListAssetForHospital.page
@@ -1,4 +1,4 @@
<apex:page standardController="Account" extensions="ListAssetForHospitalController" showHeader="false" sidebar="false" action="{!init}" id="Page">
<apex:page standardController="Account" extensions="ListAssetForHospitalController" showHeader="false" sidebar="false" action="{!init}" id="Page" lightningStylesheets="true">
<apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
<apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
<apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
@@ -27,6 +27,9 @@
.dateFormat  {
    display: none;
}
#fun{
    background: #cbddf312
}
</style>
    <apex:pageBlock id="searchAsset">
        <apex:form id="Form" onkeyup="submitListener(event)">
@@ -34,7 +37,7 @@
            <apex:pageMessages />
            <table style="border: 0; border-collapse: collapse;" id="searchTbl1">
                <tr>
                    <th style="text-align:right; width:35px;">条件:</th>
                    <th style="text-align:right; width:50px;">条件:</th>
                    <th style="text-align:right; width:50px;">{!$ObjectType.Product2.fields.Category2__c.Label}</th>
                    <td style="text-align:left; width:70px;"><apex:selectList value="{!category2}" size="1" style="width:95%"><apex:selectOptions value="{!category2Opts}"/></apex:selectList></td>
                    <th style="text-align:right; width:60px;">{!$ObjectType.Product2.fields.Category3__c.Label}</th>
@@ -53,7 +56,7 @@
            </table>
            <table style="width:100%; border: 0; border-collapse: collapse;" id="searchTbl2">
                <tr>
                    <th style="width:80px;padding-left:10px;"><apex:inputCheckbox id="isImportantProduct" value="{!isImportantProduct}"/><apex:outputLabel value="重点产品" for="isImportantProduct"/></th>
                    <th style="width:100px;padding-left:10px;"><apex:inputCheckbox id="isImportantProduct" value="{!isImportantProduct}"/><apex:outputLabel value="重点产品" for="isImportantProduct"/></th>
                    <th style="text-align:right; width:90px;">{!$ObjectType.Asset.fields.IsCompetitorProduct.Label}</th>
                    <td style="text-align:left; width:60px;"><apex:selectList value="{!isCompetitorProduct}" size="1" style="width:60px;"><apex:selectOptions value="{!isCompetitorProductOpts}"/></apex:selectList></td>
                    <th style="text-align:right; width:140px;">{!$ObjectType.Asset.fields.This_year__c.Label}</th>
@@ -68,7 +71,7 @@
            </table>
            <table style="border: 0; border-collapse: collapse;" id="groupbyTbl">
                <tr>
                    <th style="text-align:right; width:50px;">行项目:</th>
                    <th style="text-align:right; width:60px;">行项目:</th>
                    <td style="text-align:left;"><apex:inputCheckbox id="isCategory2" value="{!isCategory2}"/><apex:outputLabel value="{!$ObjectType.Product2.fields.Category2__c.Label}" for="isCategory2"/></td>
                    <td style="text-align:left;"><apex:inputCheckbox id="isCategory3" value="{!isCategory3}"/><apex:outputLabel value="{!$ObjectType.Product2.fields.Category3__c.Label}" for="isCategory3"/></td>
                    <td style="text-align:left;"><apex:inputCheckbox id="isCategory4" value="{!isCategory4}"/><apex:outputLabel value="{!$ObjectType.Product2.fields.Category4__c.Label}" for="isCategory4"/></td>