From 928399eceec50e3d37ea08669a12789a9410a9d2 Mon Sep 17 00:00:00 2001
From: 沙世明 <shashiming@prec-tech.com>
Date: 星期二, 22 十一月 2022 16:51:16 +0800
Subject: [PATCH] 111

---
 force-app/main/default/pages/PCLLostReportPage.page |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/force-app/main/default/pages/PCLLostReportPage.page b/force-app/main/default/pages/PCLLostReportPage.page
index ca99f26..bc89ad4 100644
--- a/force-app/main/default/pages/PCLLostReportPage.page
+++ b/force-app/main/default/pages/PCLLostReportPage.page
@@ -78,9 +78,9 @@
             // 澶卞崟鍝佺墝涓嶇瓑浜庡叾浠栨椂,澶卞崟鍝佺墝锛堟墜鍔級娓呯┖骞朵笖涓嶅厑璁稿~鍐�,澶卞崟鍝佺墝绛変簬鍏朵粬鏃�,澶卞崟瀵规墜鍨嬪彿涓嶅彲鐢�  thh 2022-01-13 start
             function clearBrandMannualName(){
                 if(document.getElementById('allPage:allForm:allBlock:EditPage:LostBrands:0:LostBrand:BrandContent:Lost_By_CompanyOut:Lost_By_Company').value == '鍏朵粬'){
-                    document.getElementById('allPage:allForm:allBlock:EditPage:LostBrands:0:LostBrand:BrandContent:Lost_By_Company_MannualOut:Lost_By_Company_Mannual').value = '';
                     j$(escapeVfId('allPage:allForm:allBlock:EditPage:LostBrands:0:LostBrand:productTable:0:LostProduct')).attr("disabled", true);
                 } else{
+                    document.getElementById('allPage:allForm:allBlock:EditPage:LostBrands:0:LostBrand:BrandContent:Lost_By_Company_MannualOut:Lost_By_Company_Mannual').value = '';
                     j$(escapeVfId('allPage:allForm:allBlock:EditPage:LostBrands:0:LostBrand:BrandContent:Lost_By_Company_MannualOut:Lost_By_Company_Mannual')).attr("disabled", true);
                 }
             }
@@ -173,7 +173,13 @@
                                 </apex:pageBlockSectionItem>
                                 <apex:pageBlockSectionItem id="Lost_By_Company_MannualOut" dataStyle="width:10%;border-top:2px solid;border-left:2px solid;border-bottom:2px solid;border-right:2px solid;"
                                     labelStyle="width:23%;text-align:left;border-top:2px solid ;border-left:2px solid;border-bottom:2px solid;">
-                                    <apex:outputLabel value="澶卞崟鍝佺墝锛堟墜鍔級:"> </apex:outputLabel>
+                                    <apex:outputLabel value="澶卞崟鍝佺墝锛堟墜鍔級:"> 
+                                        <!-- fy SWAG-CCC6F6 start-->
+                                        <apex:variable value="identif" var="identif" rendered="{!IF(brand.lostBrand.Lost_By_Company__c == '鍏朵粬', true, false)}" id="identifier2">
+                                        <span style="color:red;font-size: 18px;">* </span>
+                                        </apex:variable>
+                                        <!-- fy SWAG-CCC6F6 end-->
+                                    </apex:outputLabel>
                                     <apex:inputField id="Lost_By_Company_Mannual" value="{!brand.lostBrand.Lost_By_Company_Mannual__c}" onchange="setBrandMannualName({!brand.lineNo});"/>
                                 </apex:pageBlockSectionItem>
 

--
Gitblit v1.9.1