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 | 40 ++++++++++++++++++++-------------------- 1 files changed, 20 insertions(+), 20 deletions(-) diff --git a/force-app/main/default/pages/OrderPDF.page b/force-app/main/default/pages/OrderPDF.page index 2b19872..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;">鑱旂郴浜�: </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: </td> @@ -280,15 +280,15 @@ </tr> --> <tr> <td style="font-size: 8pt;">鏀惰揣浜�: </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: </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;">鍦板潃: </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: </td> @@ -296,7 +296,7 @@ </tr> <tr> <td style="font-size: 8pt;">鐢佃瘽锛圱el锛�: </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锛�: </td> @@ -304,7 +304,7 @@ </tr> <tr> <td style="font-size: 8pt;">鑱旂郴浜�: </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: </td> @@ -722,13 +722,13 @@ </td> </tr> <tr> - <td colspan="4"> + <td colspan="2"> 6.浜よ揣鏈�: <apex:outputField value="{!contra.order.DeliveryTimeText__c}" /> <br/> 6.THE DELIVERY TIME: <apex:outputField value="{!contra.order.DeliveryTimeTextEn__c}" /> - <br/> by - the Buyer. + <!-- <br/> by + the Buyer. --> <br/> </td> </tr> @@ -769,13 +769,11 @@ </tr> <tr> - <td colspan="3"> - 11. 浠樻鏂瑰紡: {!contra.order.PDF_PaymentTerms__c}锛� - <br/> 鎵�鏈夊洜浠樻鑰屽湪姹囨鏂归摱琛屽彂鐢熺殑鎵嬬画璐瑰強鍏跺畠璐圭敤锛屽潎鐢变拱鏂规壙鎷呫�� - <br/> 11. TERMS OF PAYMENT: {!contra.order.PDF_PaymentTerms_E__c}锛� - <br/> All the bank charges and other expenses arising from the payment at the remitting bank shall be borne - by the Buyer. - <br/> + <td colspan = "4"> + 11. 浠樻鏂瑰紡: {!contra.order.PDF_PaymentTerms__c}锛�<br/> + 鎵�鏈夐摱琛屾墜缁垂锛屽寘鎷鏂归摱琛屽拰涓浆琛屾墜缁垂鍙婂叾瀹冭垂鐢紝鍧囩敱涔版柟鎵挎媴銆�<br/> + 11. TERMS OF PAYMENT: {!contra.order.PDF_PaymentTerms_E__c}锛�<br/> + All the bank charges and other expenses, including beneficiary bank and intermediary bank, arising from the payment shall be borne by the Buyer.<br/> </td> </tr> </table> @@ -1239,11 +1237,12 @@ </apex:outputPanel> <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'NDT' || Opp.ProductSegment__c = 'ANI' ), 'true', 'true')}" layout="none"> --> <td> - Name: Wei Liu + Name: YING HOU </td> <!-- </apex:outputPanel> --> <td> - Name: {!contra.order.PDF_Sign_Name__c} + Name: + <span id="PDF_Sign_Name__c">{!contra.order.PDF_Sign_Name__c}</span> </td> </tr> <tr> @@ -1408,7 +1407,7 @@ form.submit(); // jQuery("body > *").each(function(){ - // jQuery(this).css('display','none'); + // jQuery(this).css('display','none'); // }) // jQuery("body").append('<embed style="position:absolute; left: 0; top: 0;" width="100%" height="100%" src="'+pdf.output('datauristring')+'" type="application/pdf"/>') @@ -1548,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