From 7597e22d6dc731bc56ee0f411a50343ddebfc8bd Mon Sep 17 00:00:00 2001
From: GWY <guweiyi@prec-tech.com>
Date: 星期三, 18 五月 2022 10:12:55 +0800
Subject: [PATCH] 外贸pdf签名修改,无影响。

---
 force-app/main/default/pages/OrderPDF.page |   20 +++++++++++---------
 1 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/force-app/main/default/pages/OrderPDF.page b/force-app/main/default/pages/OrderPDF.page
index 53596ac..2d5db3f 100644
--- a/force-app/main/default/pages/OrderPDF.page
+++ b/force-app/main/default/pages/OrderPDF.page
@@ -141,7 +141,7 @@
                     </apex:outputPanel>
                     <tr>
                         <td style="font-size: 8pt;">鑱旂郴浜�:&nbsp;</td>
-                        <td colspan="3" style="font-size: 8pt;">{!specialDeliveryContact.Name}</td>
+                        <td colspan="3" style="font-size: 8pt;" id="LastName">{!specialDeliveryContact.Name}</td>
                     </tr>
                     <tr>
                         <td style="font-size: 8pt;">CONTACT PERSON:&nbsp;</td>
@@ -280,15 +280,15 @@
                     </tr> -->
                         <tr>
                             <td style="font-size: 8pt;">鏀惰揣浜�:&nbsp;</td>
-                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_C_Consignee__c}</td>
+                            <td colspan="3" style="font-size: 8pt;" id="PDF_C_Consignee__c">{!contra.order.PDF_C_Consignee__c}</td>
                         </tr>
                         <tr>
                             <td style="font-size: 8pt;">THE CONSIGNEE:&nbsp;</td>
-                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_C_THECONSIGNE__c}</td>
+                            <td colspan="3" style="font-size: 8pt;" id="PDF_C_THECONSIGNE__c">{!contra.order.PDF_C_THECONSIGNE__c}</td>
                         </tr>
                         <tr>
                             <td style="font-size: 8pt;">鍦板潃:&nbsp;</td>
-                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_C_Address__c}</td>
+                            <td colspan="3" style="font-size: 8pt;" id="PDF_C_Address__c">{!contra.order.PDF_C_Address__c}</td>
                         </tr>
                         <tr>
                             <td style="font-size: 8pt;">ADD:&nbsp;</td>
@@ -296,7 +296,7 @@
                         </tr>
                         <tr>
                             <td style="font-size: 8pt;">鐢佃瘽锛圱el锛�:&nbsp;</td>
-                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_C_TEL__c}</td>
+                            <td colspan="3" style="font-size: 8pt;" id="PDF_C_TEL__c">{!contra.order.PDF_C_TEL__c}</td>
                         </tr>
                         <tr>
                             <td style="font-size: 8pt;">浼犵湡锛團ax锛�:&nbsp;</td>
@@ -304,7 +304,7 @@
                         </tr>
                         <tr>
                             <td style="font-size: 8pt;">鑱旂郴浜�:&nbsp;</td>
-                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_C_CONTACT__c}</td>
+                            <td colspan="3" style="font-size: 8pt;" id="PDF_C_CONTACT__c">{!contra.order.PDF_C_CONTACT__c}</td>
                         </tr>
                         <tr>
                             <td style="font-size: 8pt;">CONTACT PERSON:&nbsp;</td>
@@ -1237,11 +1237,12 @@
                             </apex:outputPanel>
                             <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'NDT' || Opp.ProductSegment__c = 'ANI' ), 'true', 'true')}" layout="none"> -->
                         <td>
-                            Name: &nbsp;&nbsp;Yoshito Sato
+                            Name: &nbsp;&nbsp;YING HOU
                         </td>
                         <!-- </apex:outputPanel> -->
                         <td>
-                            Name: &nbsp;&nbsp;{!contra.order.PDF_Sign_Name__c}
+                            Name: &nbsp;&nbsp;
+                            <span id="PDF_Sign_Name__c">{!contra.order.PDF_Sign_Name__c}</span>
                         </td>
                     </tr>
                     <tr>
@@ -1546,7 +1547,8 @@
                     let pi = staticResource.PIDetails[index];
                     let e = document.getElementById(pi.SF_Field_API_Name__c);
                     if (e && data && data.object && data.object[pi.AWS_Field_API__c]) {
-                        e.innerHTML = data[pi.AWS_Field_API__c]
+                        console.log(pi.SF_Field_API_Name__c)
+                        e.innerHTML = data.object[pi.AWS_Field_API__c]
                     }
                 }
             }

--
Gitblit v1.9.1