From ead4df22dca33a867279471821ca675f91dec760 Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期六, 14 五月 2022 18:44:54 +0800
Subject: [PATCH] FixIssue0514

---
 force-app/main/default/pages/QuotesPDF.page |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/force-app/main/default/pages/QuotesPDF.page b/force-app/main/default/pages/QuotesPDF.page
index 8e6ec01..b9f4a31 100644
--- a/force-app/main/default/pages/QuotesPDF.page
+++ b/force-app/main/default/pages/QuotesPDF.page
@@ -141,7 +141,7 @@
                         </apex:outputPanel>
 
                         <apex:outputPanel layout="none" rendered="{!IF(quo.CONTACT_EMAIL__c != null, true, false)}">
-                              <td colspan="2" style="border-right-width: 0px;">{!quo.CONTACT_EMAIL__c}&nbsp;</td>
+                              <td colspan="2" style="border-right-width: 0px;"  id="conEmail">{!quo.CONTACT_EMAIL__c}&nbsp;</td>
                         </apex:outputPanel>
                         <apex:outputPanel layout="none" rendered="{!IF(quo.CONTACT_EMAIL__c != null, false, true)}">
                               <td colspan="2" style="border-right-width: 0px;">&nbsp;</td>
@@ -432,6 +432,8 @@
         if('{!quo.CONTACT_NAME__r.AWS_Data_Id__c}'){
             AWSService.query(contactStaticResource.queryUrl, '{!quo.CONTACT_NAME__r.AWS_Data_Id__c}', function(data){
                   let e = document.getElementById("conName");if(e)e.innerHTML = data.object.lastName;
+                  debugger;
+                  let emailNode = document.getElementById("conEmail");if(emailNode) emailNode.innerHTML = data.object.emailD;
                   i++;
                   Foo();
             }, staticResources.token);

--
Gitblit v1.9.1