From fb1b1ef5df5ca3fb29113a0677ea5c57094c2789 Mon Sep 17 00:00:00 2001
From: GWY <guweiyi@prec-tech.com>
Date: 星期三, 18 五月 2022 10:20:34 +0800
Subject: [PATCH] 合同外贸pdf打印,无影响。

---
 ssbg/src/pages/OrderPDF.page | 2672 ++++++++++++++++++++++++++++++++++------------------------
 1 files changed, 1,561 insertions(+), 1,111 deletions(-)

diff --git a/ssbg/src/pages/OrderPDF.page b/ssbg/src/pages/OrderPDF.page
index bff6e35..2d5db3f 100644
--- a/ssbg/src/pages/OrderPDF.page
+++ b/ssbg/src/pages/OrderPDF.page
@@ -1,4 +1,5 @@
-<apex:page Controller="OrderPdfController" showHeader="false" sidebar="false" id="allPage" action="{!init2}" renderAs="pdf">
+<apex:page Controller="OrderPdfController" showHeader="false" sidebar="false" id="allPage" action="{!init2}" >
+    <!-- <apex:page Controller="OrderPdfController" showHeader="false" sidebar="false" id="allPage" action="{!init2}" renderAs="pdf"> -->
 <html>
     <head>
         <style>
@@ -20,1131 +21,1580 @@
         </style>
     </head>
     <body style="font-family: Arial Unicode MS; page-break-inside: auto">
-        <table style="border-style:none;">
-            <tr style="font-size: 8pt;">
-                <td>
-                    <div>鍚堝悓鍙�</div>
-                    <div>Contract No</div>
-                    <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS'  && Opp.TradeType__c = 'Taxation', 'true', 'false')}" layout="none">
-                    <div>鎶ュ鍗曞彿</div>
-                    <div>浠g悊鍟嗗叏绉�</div>
-                    </apex:outputPanel>
-                </td>
-                <td>
-                    <div>:&nbsp;</div>
-                    <div>:&nbsp;</div>
-                    <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS' && Opp.TradeType__c = 'Taxation', 'true', 'false')}" layout="none">
-                    <div>:&nbsp;</div>
-                    <div>:&nbsp;</div>
-                    </apex:outputPanel>
-                </td>
-                <td>
-                    <div>&nbsp;{!contra.order.PDF_Order_No__c}</div>
-                    <div>&nbsp;{!contra.order.PDF_Order_No__c}</div>
-                    <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS' && Opp.TradeType__c = 'Taxation', 'true', 'false')}" layout="none">
-                    <div>&nbsp;{!contra.order.PDF_I_Report__c}</div>
-                    <div>&nbsp;{!contra.order.Dealer__c}</div>
-                    </apex:outputPanel>
-                </td>
-            </tr>
-        </table>
-        <table style="border-style:none; top:0px; right:0px; position:absolute;">
-            <tr style="font-size: 8pt;">
-                <td>
-                    <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS'|| Opp.ProductSegment__c = 'NDT'|| Opp.ProductSegment__c = 'ANI' ) && Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}" layout="none">
-                    <div>绛捐鏃ユ湡</div>
-                    <div>Signature Date</div>
-                    </apex:outputPanel>
-                    <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'BS' || Opp.ProductSegment__c = 'NDT' ||Opp.ProductSegment__c = 'ANI' && Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}" layout="none">
-                    <div>绛捐鍦扮偣</div>
-                    <div>Signature Place</div>
-                    </apex:outputPanel>
-                </td>
-                <td>
-                    <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS'|| Opp.ProductSegment__c = 'NDT'|| Opp.ProductSegment__c = 'ANI' ) && Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}" layout="none">
-                    <div>:&nbsp;</div>
-                    <div>:&nbsp;</div>
-                    </apex:outputPanel>
-                    <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'BS'|| Opp.ProductSegment__c = 'NDT' ||Opp.ProductSegment__c = 'ANI' && Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}" layout="none">
-                    <div>:&nbsp;</div>
-                    <div>:&nbsp;</div>
-                    </apex:outputPanel>
-                </td>
-                <td>
-                    <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS'|| Opp.ProductSegment__c = 'NDT'|| Opp.ProductSegment__c = 'ANI' ) && Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}" layout="none">
-                    <div>&nbsp;{!contra.SignatureDate}</div>
-                    <div>&nbsp;{!contra.SignatureDates}</div>
-                    </apex:outputPanel>
-                    <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'BS' || Opp.ProductSegment__c = 'NDT' ||Opp.ProductSegment__c = 'ANI'&& Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}" layout="none">
-                    <div>&nbsp;{!contra.order.PDF_SignaturePlace__c}</div>
-                    <div>&nbsp;{!contra.order.PDF_SignaturePlaces__c}</div>
-                    </apex:outputPanel>
-                </td>
-            </tr>
-        </table>
-        <table width="100%" cellspacing="0" cellpadding="0">
-            <colgroup>
-                <col width="25%"/>
-                <col width="25%"/>
-                <col width="25%"/>
-                <col width="25%"/>
-            </colgroup>
-            <tr><td colspan = "4" height="5px"></td></tr>
-            <tr>
-                <td colspan = "4" style="text-align: center;font-size: 14pt;">鍚堝悓</td>
-            </tr>
-            <tr>
-                <td colspan = "4" style="text-align: center;font-size: 12pt;">CONTRACT</td>
-            </tr>
-
-            <tr>
-                <td style="font-size: 8pt;">涔版柟:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!specialDeliveryAddress.Name}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">THE BUYER:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!specialDeliveryAddress.EnglishName__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">鍦板潃:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!specialDeliveryAddress.Address1__c}</td>
-            </tr>
-            <apex:outputPanel rendered="{!IF(Opp.TradeType__c != 'Taxation', 'true', 'false')}" layout="none">
-            <tr>
-                <td style="font-size: 8pt;">ADD:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_B_Add__c}</td>
-            </tr>
-            </apex:outputPanel>
-            <tr>
-                <td style="font-size: 8pt;">鐢佃瘽锛圱el锛�:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!specialDeliveryAddress.Phone}</td>
-            </tr>
-            <apex:outputPanel rendered="{!IF(Opp.TradeType__c != 'Taxation', 'true', 'false')}" layout="none">
-            <tr>
-                <td style="font-size: 8pt;">浼犵湡锛團ax锛�:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!specialDeliveryAddress.Fax}</td>
-            </tr>
-            </apex:outputPanel>
-            <tr>
-                <td style="font-size: 8pt;">鑱旂郴浜�:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!specialDeliveryContact.Name}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">CONTACT PERSON:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_B_contactperson__c}</td>
-            </tr>
-
-            <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI'|| Opp.ProductSegment__c = 'NDT'|| Opp.ProductSegment__c = 'ANI' ) && Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}" layout="none" >
-            <tr>
-                <td style="font-size: 8pt;">E-Mail:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!specialDeliveryContact.Email}</td>
-            </tr>
-            </apex:outputPanel>
-
-            <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'IE', 'true', 'false')}" layout="none">
-            <tr>
-                <td style="font-size: 8pt;">鐢ㄦ埛灞炴��:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_B_Attri__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">鐢ㄦ埛浜у搧:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.account.Sub_Use__c}</td>
-            </tr>
-            </apex:outputPanel>
-
-            <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'RVI', 'true', 'false')}" layout="none">
-            <tr>
-                <td style="font-size: 8pt;">甯傚満:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.account.Sub_Use__c}</td>
-            </tr>
-            </apex:outputPanel>
-
-            <tr><td height="1px">&nbsp;</td></tr>
-
-            <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'BC' ) && Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}" layout="none">
-            <tr>
-                <td style="font-size: 8pt;">鍗栨柟:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_SELLER__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">THE SELLER:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_THE_SELLER__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">鍦板潃:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_S_Adds__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">ADD:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_S_Address__c}</td>
-            </tr>
-
-            </apex:outputPanel>
-            <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS'|| Opp.ProductSegment__c = 'NDT'|| Opp.ProductSegment__c = 'ANI' ) &&Opp.TradeType__c = 'Taxation', 'true', 'false')}" layout="none">
-            <tr>
-                <td style="font-size: 8pt;">鍗栨柟:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_SELLER__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">鍦板潃:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_S_Adds__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">鐢佃瘽 (TEL):&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_S_TEL__c}</td>
-            </tr>
-            </apex:outputPanel>
-            <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS' || Opp.ProductSegment__c = 'NDT'|| Opp.ProductSegment__c = 'ANI')&& Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}" layout="none">
-            <tr>
-                <td style="font-size: 8pt;">鍗栨柟:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_SELLER__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">THE SELLER:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_THE_SELLER__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">鍦板潃:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_S_Adds__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">ADD:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_S_Address__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">鐢佃瘽(Tel):&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_S_TEL__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">浼犵湡(FAX):&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_S_FAX__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">Bank Name:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_S_Bank_Name__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">Branch:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_S_Branch__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">Address:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_S_Bank_Address__c}</td>
-            </tr>
-            <!-- <tr>
-                <td style="font-size: 8pt;">Address:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_S_Address__c}</td>
-            </tr> -->
-            <tr>
-                <td style="font-size: 8pt;">Account no:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_S_Account_No__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">Swift code:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_S_Swift_Code__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">Account name:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_S_Account_Name__c}</td>
-            </tr>
-            </apex:outputPanel>
-
-            <tr style="line-height: 4px"><td height="1px">&nbsp;</td></tr>
-
-            <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS'|| Opp.ProductSegment__c = 'NDT'|| Opp.ProductSegment__c = 'ANI' ) && Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}" layout="none">
-            <!-- <tr>
-                <td style="font-size: 8pt;">&nbsp;</td>
-            </tr> -->
-            <tr>
-                <td style="font-size: 8pt;">鏀惰揣浜�:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!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>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">鍦板潃:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_C_Address__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">ADD:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_C_Add__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">鐢佃瘽锛圱el锛�:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_C_TEL__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">浼犵湡锛團ax锛�:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_C_FAX__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">鑱旂郴浜�:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_C_CONTACT__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">CONTACT PERSON:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_C_contactperson__c}</td>
-            </tr>
-            </apex:outputPanel>
-<!--             <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI') && Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}" layout="none">
-            <tr>
-                <td style="font-size: 8pt;">THE CONSIGNEE:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_C_THECONSIGNE__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">ADD:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_C_Add__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">鐢佃瘽锛圱el锛�:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.pdf_c_tel}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">浼犵湡锛團ax锛�:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.pdf_c_fax}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">CONTACT PERSON:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_C_contactperson__c}</td>
-            </tr>
-            </apex:outputPanel> -->
-            <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS'|| Opp.ProductSegment__c = 'NDT'|| Opp.ProductSegment__c = 'ANI' ) && Opp.TradeType__c = 'Taxation', 'true', 'false')}" layout="none">
-            <tr>
-                <td style="font-size: 8pt;">鏀惰揣浜�:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.pdf_c_consignee}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">鍦板潃:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.pdf_c_address}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">鐢佃瘽锛圱el锛�:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.pdf_c_tel}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">鑱旂郴浜�:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.pdf_c_contact}</td>
-            </tr>
-            </apex:outputPanel>
-
-            <tr height="1px"><td height="1px">&nbsp;</td></tr>
-
-            <apex:outputPanel rendered="{!IF(Opp.TradeType__c = 'Tax Exemption' && (Opp.ProductSegment__c = 'BS'||Opp.ProductSegment__c = 'NDT'||Opp.ProductSegment__c = 'ANI'||Opp.ProductSegment__c = 'IE'||Opp.ProductSegment__c = 'RVI'), 'true', 'false')}" layout="none">
-            <tr>
-                <td style="font-size: 8pt;">閫氱煡浜�:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_N_NotifyParty__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">THE NOTIFY PARTY:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_NOTIFY_PARTY__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">鍦板潃:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_N_Address__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">ADD:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_N_Add__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">鐢佃瘽锛圱el锛�:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_N_TEL__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">浼犵湡锛團ax锛�:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_N_FAX__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">鑱旂郴浜�:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_N_CONTACT__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">CONTACT PERSON:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_N_CONTACTPERSON__c}</td>
-            </tr>
-            </apex:outputPanel>
-            <apex:outputPanel rendered="{!IF(Opp.TradeType__c = 'Tax Exemption' && (Opp.ProductSegment__c = 'ABC'), 'true', 'false')}" layout="none">
-            <tr>
-                <td style="font-size: 8pt;">THE NOTIFY PARTY:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_NOTIFY_PARTY__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">ADD:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_N_Add__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">鐢佃瘽锛圱el锛�:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_N_TEL__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">浼犵湡锛團ax锛�:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_N_FAX__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">CONTACT PERSON:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_N_CONTACTPERSON__c}</td>
-            </tr>
-            </apex:outputPanel>
-
-            <tr><td height="1px">&nbsp;</td></tr>
-            
-            <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' ) && Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}" layout="none">
-            <tr>
-                <td style="font-size: 8pt;">杞繍鍟� (鑻辨枃):&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_Forwarder__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">ADD:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_F_Add__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">鐢佃瘽锛圱el锛�:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_F_TEL__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">浼犵湡锛團ax锛�:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_F_FAX__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">鑱旂郴浜� (涓枃):&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_F_ContactPerson__c}</td>
-            </tr>
-            </apex:outputPanel>
-            <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS'|| Opp.ProductSegment__c = 'NDT'|| Opp.ProductSegment__c = 'ANI' ) && Opp.TradeType__c = 'Taxation', 'true', 'false')}" layout="none">
-            <tr>
-                <td style="font-size: 8pt;">涓棿鍟嗗叕鍙�:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!Opp.SubDealer__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">鍏徃鍚嶇О:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_F_Add__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">鍦板潃:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_F_TEL__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">鐢佃瘽:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_F_FAX__c}</td>
-            </tr>
-            <tr>
-                <td style="font-size: 8pt;">绯荤粺缂栧彿:&nbsp;</td>
-                <td colspan = "3" style="font-size: 8pt;">{!contra.order.Id}</td>
-            </tr>
-            </apex:outputPanel>
-        </table>
-
-        <apex:outputPanel layout="none">
-            <div style="page-break-after: always;"/>
-        </apex:outputPanel>
-
-        <table style="font-size: 9pt;">
-            <tr>
-                <td style="text-align:left">
-                1. 鍏圭粡涔板崠鍙屾柟鍚屾剰, 缂旂粨鏈悎鍚屽苟鎸夋湰鍚堝悓涓嬭堪鏉℃,涔版柟鍚屾剰璐叆鍙婂崠鏂瑰悓鎰忓嚭鍞互涓嬭揣鐗�:<br/>
-                1. This Contract is made by and between the Buyer and the Seller锛寃hereby the Buyer agrees to buy and the Seller<br/>
-                agrees to sell the under-mentioned goods subject to the terms and conditions stipulated below:</td>
-            </tr>
-            <tr><td style="text-align: right;">(USD)</td></tr>
-        </table>
-        <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS' , 'true', 'false')}" layout="none" >
-            <table width="100%" border="1" cellspacing="0" cellpadding="0" style="table-layout:auto;font-size: 9pt;">
-                <tr>
-                    <td width="5%" style="text-align: center;">搴忓彿</td>
-                    <td style="text-align: center;">璐х墿鍚嶇О鍙婅鏍�</td>
-                    <td width="10%" style="text-align: center;">鍗� 浣�</td>
-                    <td width="10%" style="text-align: center;">鏁�  閲�</td>
-                    <td width="15%" style="text-align: center;">鍗�  浠�</td>
-                    <td width="15%" style="text-align: center;">鎬�    浠�</td>
-                </tr>
-                <tr>
-                    <td width="5%" style="text-align: center;">Item</td>
-                    <td style="text-align: center;">Goods &amp; Specification</td>
-                    <td width="10%" style="text-align: center;">Unit</td>
-                    <td width="10%" style="text-align: center;">Qty</td>
-                    <td width="15%" style="text-align: center;">Unit Price</td>
-                    <td width="15%" style="text-align: center;">Total Amount</td>
-                </tr>
-
-                <apex:repeat value="{!printSetInfo}" var="set">
-                    <tr>
-                        <td style="text-align: center;"><apex:outputText value="{!set.No__c}" /></td>
-                        <td style="text-align: center;"><apex:outputText value="{!set.Goods__c}" /></td>
-                        <td style="text-align: center;"><apex:outputText value="{!set.Unit__c}" /></td>
-                        <td style="text-align: center;"><apex:outputText value="{!set.Qty__c}" /></td>
-                        <td style="text-align: center;"><apex:outputText value="{!set.UnitPrice__c}" /></td>
-                        <td style="text-align: center;"><apex:outputText value="{!set.Total_Amount__c}" /></td>
-                    </tr>
-                </apex:repeat>
-            </table>
-        </apex:outputPanel>
-
-        <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS' , 'false', 'true')}" layout="none" >
-            
-             <table width="100%" border="1" cellspacing="0" cellpadding="0" style="table-layout:auto;font-size: 9pt;">
-                <colgroup>
-                    <col width="5%"/>
-                    <col width="10%"/>
-                    <col width="23%"/>
-                    <col width="5%"/>
-                    <col width="8%"/>
-                    <col width="10%"/>
-                    <col width="8%"/>
-                    <col width="11%"/>
-                    <col width="10%"/>
-                    <col width="10%"/>
-                </colgroup>
-                 <tr>
-                    <td style="text-align: center;">搴忓彿</td>
-                    <td style="text-align: center;">U8鍙风爜</td>
-                    <td style="text-align: center;">浜у搧鍨嬪彿</td>
-                    <td style="text-align: center;">鍗曚綅</td>
-                    <td style="text-align: center;">鏁伴噺</td>
-                    <td style="text-align: center;">鍗曚环</td>
-                    <td style="text-align: center;">鎶樻墸</td>
-                    <td style="text-align: center;">鎶樺悗鍗曚环</td>
-                    <td style="text-align: center;">鎬讳环</td>
-                    <td style="text-align: center;">澶囨敞</td>
-                </tr>
-                <tr>
-                    <td style="text-align: center;">Item</td>
-                    <td style="text-align: center;">U8</td>
-                    <td style="text-align: center;">Part Number</td>
-                    <td style="text-align: center;">Unit</td>
-                    <td style="text-align: center;">Quantity</td>
-                    <td style="text-align: center;">Unit Price</td>
-                    <td style="text-align: center;">Discount </td>
-                    <td style="text-align: center;">Discounted Price/Unit</td>
-                    <td style="text-align: center;">Total Amount</td>
-                    <td style="text-align: center;">Remark</td>
-                </tr>
-
-                 <apex:repeat value="{!printSetInfo}" var="set">
-                    <tr>
-                        <td style="text-align: center;"><apex:outputText value="{!set.No__c}" style="width: 95%"/></td>
-                        <td style="text-align: center;"><apex:outputText value="{!set.U8__c}" style="width: 95%"/></td>
-                        <td style="text-align: center;"><!-- <apex:outputText value="{!set.Goods__c}" style="width: 95%"/> --><c:PDFWbr targetStr="{!set.Goods__c}"/></td>
-                        <td style="text-align: center;"><apex:outputText value="{!set.Unit__c}" style="width: 95%; text-align: right;"/></td>
-                        <td style="text-align: center;"><apex:outputText value="{!set.Qty__c}" style="width: 95%; text-align: right;"/></td>
-                        <td style="text-align: center;"><apex:outputText value="{!set.UnitPrice__c}" style="width: 95%"/></td>
-                        <td style="text-align: center;"><apex:outputText value="{!set.discount__c}" style="width: 95%"/></td>
-                        <td style="text-align: center;"><apex:outputText value="{!set.discountprice__c}" style="width: 95%; text-align: right;"/></td>
-                        <td style="text-align: center;"><apex:outputText value="{!set.Total_AmountNDT__c}" style="width: 95%; text-align: right;"/></td>
-                        <td style="text-align: center;"><!-- <apex:outputText value="{!set.Remark__c}" style="width: 95%"/> --><c:PDFWbr targetStr="{!set.Remark__c}"/></td>
-                    </tr>
-                </apex:repeat>
-            </table>
-        </apex:outputPanel>
-
-        <table style="font-size: 9pt;" width="100%">
-            <colgroup>
-                <col width="30%" />
-                <col width="60%" />
-                <col width="10%" />
-            </colgroup>
-            <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS' , 'true', 'false')}" layout="none" >
-                <tr>
-                    <td>鎬婚噾棰濓細&nbsp;</td>
-                    <!-- <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'BS' && Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}" layout="none"> -->
-                    <td>US$&nbsp;
-                        <apex:outputText value="{0, number, ##0.00}">
-                            <apex:param value="{!TotalMoney}" />
-                        </apex:outputText>
-                    </td>
-                    <!-- </apex:outputPanel> -->
-                    <!-- <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS') &&Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}" layout="none">
-                    <td>{!contra.order.CustomerContractPrice__c}</td>
-                    </apex:outputPanel> -->
-                </tr> 
-                <tr>
-                    <td>Total Value:&nbsp;</td>
-                    <td>{!contra.order.Shipment_Term_D__c} <u>&nbsp;&nbsp;&nbsp;&nbsp;{!contra.order.PDF_Shipment_Term2_Text__c}&nbsp;&nbsp;&nbsp;&nbsp;</u> </td>
-                </tr>
-            </apex:outputPanel>
-            <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS' , 'false', 'true')}" layout="none" >
-                <tr>
-                    <td>杩愪繚璐�/Shipping Charge锛�&nbsp;</td>
-                    <td style="text-indent: 45px">US$&nbsp;
-                        <apex:outputText value="{0,number,##0.00}">
-                            <apex:param value="{!TrAndPre}"/>
-                        </apex:outputText>
-                    </td>   
-                </tr>
-                <tr>
-                    <td>鎬婚噾棰濓細&nbsp;</td>
-                    <!-- <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'BS' && Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}" layout="none"> -->
-                    <td style="text-indent: 45px;">US$&nbsp;
-                        <apex:outputText value="{0, number, ##0.00}">
-                            <apex:param value="{!TotalMoney}" />
-                        </apex:outputText>
-                    </td>
-                    <!-- </apex:outputPanel> -->
-                    <!-- <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS') &&Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}" layout="none">
-                    <td>{!contra.order.CustomerContractPrice__c}</td>
-                    </apex:outputPanel> -->
-                </tr> 
-                <tr>
-                    <td>Total Value:&nbsp;</td>
-                    <td>{!contra.order.Shipment_Term_D__c} <u>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</u>{!contra.order.PDF_Shipment_Term2_Text__c}&nbsp;&nbsp;&nbsp;&nbsp; </td>
-                </tr>
-            </apex:outputPanel>
-            <tr>
-                <td>Say: U.S. DOLLARS:&nbsp;</td>
-                <!-- <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'BS' && Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}" layout="none"> -->
-                <td>{!contra.order.Total_price_E__c}</td>
-                <!-- </apex:outputPanel> -->
-                <!-- <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS') &&Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}" layout="none">
-                <td>{!contra.order.CustomerContractPrice__c}</td>
-                </apex:outputPanel> -->
-            </tr>
-            <tr>
-                <td colspan = "3">
-                    2. 鐢熶骇鍥藉埆鍙婂埗閫犲巶鍟�:&nbsp;{!contra.order.PDF_Bi_manufacturers__c}<br/>
-                    2. COUNTRY OF ORIGIN OF GOODS AND MANUFACTURERS:&nbsp;{!contra.order.PDF_Bi_manufacturersEn__c}<br/>
-                </td>
-            </tr>
-            <tr>
-                <td colspan = "3">
-                    3. 鍖呰: <br/>
-                    鍟嗗搧鎳変互鍧氬浐鐨勫嚭鍙g焊鐨鎴栨湪绠卞寘瑁咃紝閫備簬闀块�旂┖杩愩�佸ぉ姘旀垨姘斿�欏彉鍖栥�侀槻娼�佹姉闇囥�侀槻閿堝強澶氭鎼繍銆傜敱浜庡寘瑁呬笉鑹�屼骇鐢熺殑<br/>
-                    鐩存帴鎹熷け, 鐢卞崠鏂硅礋璐c��<br/>
-                    3. PACKING: <br/>
-                    The goods should be packed in strong export carton box or wooden box, which is suitable for long haul air transportation and <br/>
-                    change of weather or climate, well protected against moisture, shocks, rust and withstand numerous transits. All direct losses <br/>
-                    incurred on account of improper packing shall be borne by the Seller.<br/>
-                </td>
-            </tr>
-            <tr>
-                <td colspan = "3">
-                    4.杩愯緭鏍囪瘑锛� <br/>
-                    鍗栨柟椤诲湪姣忎欢璐х墿鐨勫寘瑁呭琛ㄤ笂浠ヤ笉瑜壊鐨勯鏂欐爣鏄庝欢鍙枫�佹瘺閲嶃�佸昂鐮佸強涓嬪垪瀛楀彞: <br/>
-                    鈥濆嬁浣垮彈娼�� 銆佲�滃皬蹇冭交鏀锯�濄�� 鈥滄闈㈠悜涓娾�濈瓑瀛楁牱鍙婁笅鍒楀敍澶达細<br/>
-                    4. SHIPPING MARK:  <br/>
-                    The Seller shall mark on the surface of each package with fadeless paint, the package number锛実ross weight锛宮easurement<br/>
-                     and the following wordings锛�<br/>
-                    鈥淜EEP AWAY FROM MOISTURE鈥濓紝鈥淗ANDLE WITH CARE鈥� 锛屸�淭HIS SIDE UP鈥� etc. And the below shipping mark: <br/>
-                    <div><apex:outputField value="{!contra.order.PDF_Sp_SHIPPINGMARK__c}" /></div>
-                </td>
-            </tr>
-            <tr>
-                <td colspan = "3">
-                    5.瑁呰繍鏉℃: {!contra.order.PDF_Sp_ShippingTerms__c}<br/>
-                    5.TERMS OF SHIPMENT: {!contra.ShippingTerms}<br/>
-                </td>
-            </tr>
-            <tr>
-                <td colspan = "4">
-                    6.浜よ揣鏈�:  <apex:outputField value="{!contra.order.DeliveryTimeText__c}" /><br/>
-                    6.THE DELIVERY TIME: <apex:outputField value="{!contra.order.DeliveryTimeTextEn__c}" /><br/>
-                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;by the Buyer.<br/>
-                </td>
-            </tr>
-            <tr>
-                <td colspan = "3">
-                    7.鍗栨柟搴斾繚鐣欒揣鐗╁拰闆堕儴浠剁殑浜ф潈鍜屾墍鏈夋潈锛岃绛夋潈鍒╁彧鏈夊湪鍏ㄩ鏀跺埌璐ф鏃舵柟鑷姩杞Щ鍒颁拱鏂广��<br/>
-                    7.The Seller shall maintain title and ownership of the goods and spare parts thereof which shall automatically pass to the Buyer<br/>
-                      only on receipt of the full payment.<br/>
-                </td>
-            </tr>
-
-            <tr>
-                <td colspan = "3">
-                    8. 瑁呰繍鍙e哺锛�&nbsp;{!contra.order.PDF_Sp_LOADING__c}<br/>
-                    8.  PORT OF LOADING:&nbsp;{!contra.order.PDF_Sp_LOADING_E__c}<br/>
-                </td>
-            </tr>
-            <tr>
-                <td colspan = "3">
-                    9. 鐩殑鍙e哺锛�&nbsp;{!contra.order.PDF_Sp_DestinationPort__c}<br/>
-                    9.  PORT OF DESTINATION:&nbsp;{!contra.order.PDF_Sp_DestinationPort_E__c}<br/>
-                </td>
-            </tr>
-
-            <tr>
-                <td colspan = "3">
-                    10. 淇濋櫓锛�<br/>
-                    鐢卞崠鏂规寜鍙戠エ閲戦鐨�110%鎶曚繚鍏ㄩ櫓鍙婃垬浜夐櫓锛屽苟璇存槑鍙互鍦ㄤ腑鍥藉鍐呯储璧旓紝绌虹櫧鑳屼功銆�<br/>
-                    10.  INSURANCE: <br/>
-                    To be covered by the Seller for 110% of the invoice value covering all risks and war risk, indicating claims payable in China, <br/>
-                    in currency of the draft, blank endorsed. 
-                </td>
-            </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>
-            </tr>
-            </table>
-            <!--<apex:outputPanel layout="none">
-                <div style="page-break-after: always;"/>
-            </apex:outputPanel>-->
-            <table style="font-size: 9pt;">
-            <tr>
-                <td>
-                    12. 鎵�闇�鐨勬枃浠�: <br/>
-                    <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS'|| Opp.ProductSegment__c = 'NDT' || Opp.ProductSegment__c = 'ANI') && Opp.TradeType__c = 'Taxation', 'true', 'false')}" layout="none">
-                    1)聽{!contra.order.PDF_Bi_Quality__c}浠界敱鍗栨柟鍑哄叿鐨勮川閲忓拰鏁伴噺璇佹槑;<br/>
-                    2) {!contra.order.PDF_Bi_Origin__c}浠藉崠鏂瑰嚭鍏风殑鍘熶骇鍦拌瘉鏄�;鍙�<br/>
-                    3) {!contra.order.PDF_Bi_Non_Wooden__c}浠介潪鏈ㄨ川鍖呰璇佹槑銆�<br/>
-                    </apex:outputPanel>
-                    <apex:outputPanel rendered="{!IF(Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}" layout="none">
-                    璇峰湪鍙戣揣鍚巤!contra.order.PDF_Bi_q1__c}涓伐浣滄棩鍐呭皢浠ヤ笅鎵�闇�鐨勬枃浠朵紶鐪�/鐢甸偖缁欎拱鏂�;<br/>
-                    1) 绌鸿繍鎻愬崟姝f湰{!contra.order.PDF_Bi_airway__c}浠斤紝鍓湰{!contra.order.PDF_Bi_copyairway__c}浠姐�傚苟娉ㄦ槑鈥滆繍璐瑰凡浠樷��;<br/>
-                    2) 鍙戠エ{!contra.order.PDF_Bi_invoice__c}浠�, 娉ㄦ槑鍚堝悓鍙峰拰杩愯緭鏍囪瘑(濡傛湁涓�涓互涓婅繍杈撴爣璇�, 搴斿垎鍒嚭鍏峰彂绁�)鍙婂悎鍚屼腑鍏跺畠缁嗚妭;<br/>
-                    3) 濡備繚闄╃敱鍗栨柟璐熻矗鐨勬儏鍐典笅锛屽崠鏂归渶鎻愪緵淇濋櫓鍗晎!contra.order.PDF_Bi_Insurance__c}濂楋紝鎶曚竴鍒囬櫓锛� 鎸夊彂绁ㄩ噾棰�110锛呮姇淇濅竴鍒囬櫓;<br/>
-                    4) {!contra.order.PDF_Bi_Packing__c}浠界敱鍗栨柟鍑哄叿鐨勮绠卞崟;<br/>
-                    5)聽{!contra.order.PDF_Bi_Quality__c}浠界敱鍗栨柟鍑哄叿鐨勮川閲忓拰鏁伴噺璇佹槑;<br/>
-                    6) {!contra.order.PDF_Bi_Origin__c}浠藉崠鏂瑰嚭鍏风殑鍘熶骇鍦拌瘉鏄�;鍙�<br/>
-                    7) {!contra.order.PDF_Bi_Non_Wooden__c}浠介潪鏈ㄨ川鍖呰璇佹槑銆�<br/>
-                    <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'BS' || Opp.ProductSegment__c = 'ANI' ||Opp.ProductSegment__c = 'NDT', 'true', 'false')}" layout="none">
-                    8) 鎵�鏈夊崟鎹� {!contra.order.PDF_Bi_AllBill__c}<br/>
-                    </apex:outputPanel>
-                    12. DOCUMENTS REQUIRED (please don鈥檛 attach any documents of contract value with the shipment):<br/>
-                    Please fax/e-mail the below required documents to the Buyer within {!contra.order.PDF_Bi_q1__c} working days after shipment;<br/>
-                    1) {!contra.order.PDF_Bi_airway__c} original and {!contra.order.PDF_Bi_copyairway__c} copy of clean air waybills marked 鈥渇reight prepaid鈥�;<br/>
-                    2) Invoice in {!contra.order.PDF_Bi_invoice__c} copies indicating contract number and shipping mark (in case of more than one shipping mark,the invoice shall be<br/>
-                     issued separately), made out in details as per relative contract;<br/>
-                    3) Insurance Policy/Certificate in one original and {!contra.order.PDF_Bi_Insurance__c} copies for 110% of the invoice value if the insurance is bought by the Seller;<br/>
-                    4) Packing list in {!contra.order.PDF_Bi_Packing__c} copies issued by the Seller;<br/>
-                    5)聽Certificate of Quality and Quantity in {!contra.order.PDF_Bi_Quality__c} copies issued by the Seller; <br/>
-                    6) Certificate of Origin in {!contra.order.PDF_Bi_Origin__c} copies issued by the Seller; and<br/>
-                    7) {!contra.order.PDF_Bi_Non_Wooden__c} Certificate of Non-wood material packing.<br/>
-                    <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'BS', 'true', 'false')}" layout="none">
-                    8) All the documents  {!contra.AllBills}    cargo<br/>
-                    </apex:outputPanel>
-                    <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'NDT' || Opp.ProductSegment__c = 'ANI', 'true', 'false')}" layout="none">
-                    8) All the documents not with cargo
-                    </apex:outputPanel>
-                    </apex:outputPanel>
-                </td>
-            </tr>
-
-            <tr>
-                <td>
-                    13. 瑁呰繍閫氱煡锛�<br/>
-                    鍗栨柟搴斾簬鍙戣揣鍥涘崄鍏紙48锛夊皬鏃跺唴浠ヤ紶鐪熸垨鐢甸偖褰㈠紡鎻愪緵鍙戣揣閫氱煡鍛婄煡涔版柟鍚堝悓鍙枫�佽揣鐗╁悕绉般�佸疄瑁呮暟閲忋�侀噸閲忋�佷欢鏁般�佸彂绁ㄤ环<br/>
-                    鍊笺�佽埅鐝彿鍙婃棩鏈熴�佺┖杩愬崟鍙风瓑<br/>
-                    13. SHIPPING ADVICE: <br/>
-                    The Seller, within forty eight (48) hours after shipment is made, shall notify the Buyer of the contract no., name ofgoods, <br/>
-                    quantity,  weight loaded, number of packages, invoice value, flight number and date, air waybill number etc. by fax or email.<br/>
-                </td>
-            </tr>
-            <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'BS' || Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI', 'true', 'false')}" layout="none">
-            <tr>
-                <td>
-                    14. 璐ㄩ噺淇濊瘉锛�<br/>
-                    A. 鍗栨柟淇濊瘉鏈悎鍚屼箣璐х墿鏄敤鏈�濂界殑鏉愭枡浠ヤ笂绛夌殑宸ヨ壓鍒堕�狅紝宕柊鍙婃湭鐢ㄨ繃鐨勶紝鍏惰川閲忎笌瑙勬牸涓�鍒囨柟闈笌鏈悎鍚岀殑瑙勫畾鐩哥銆�<br/>
-                    淇濊瘉鏈熶负鏈�缁堥獙鏀舵姤鍛婄缃蹭箣鏃ヨ捣鐨剓!contra.QAeng}浣嗕笉瓒呰繃鍙戣揣鏃ュ悗鐨剓!contra.QAeng4}銆�<br/>
-                    鍦ㄤ繚璇佹湡鍐咃紝濡備拱鏂规寜鐓ц揣鐗╀娇鐢ㄨ鏄庝功鍦ㄦ甯告潯浠朵笅浣跨敤锛岀敱浜庡崠鏂硅璁℃垨鍒堕�犱笂鐨勭己闄疯�屽彂鐢熺殑鎹熷潖锛岀敱鍗栨柟璐熻矗銆�<br/>
-                    鍦ㄤ繚璇佹湡鍐呭鏋滆揣鐗╃殑閲嶈闆堕儴浠堕渶瑕佹洿鎹紝鍒欒闆堕儴浠剁殑淇濊瘉鏈熶粠鏇存崲涔嬫棩璧烽噸鏂拌绠楋紝澶栬喘浠朵互鍘熶緵搴斿晢鐨勪繚璇佹湡涓哄噯銆�<br/>
-                    B. 濡傛灉鍙屾柟鍏卞悓鍟嗗畾骞剁‘璁ょ殑渚涜揣鑼冨洿涓湁閬楁紡鐨勯儴浠跺拰璁惧骞舵湁鍙兘瀵艰嚧鏁村璐х墿涓嶈兘鎸夋椂楠屾敹鎶曚骇鎴栧奖鍝嶇敓浜э紝鍗栨柟<br/>
-                    鏈変箟鍔″拰璐d换鍦ㄥ埗閫犺繃绋嬩腑涓庝拱鏂瑰晢閲忓仛鍑虹浉搴旂殑璋冩暣鍜岃ˉ鏁戯紝骞朵繚璇佹暣濂椾互涓婅揣鐗╄兘閫氳繃楠屾敹銆�<br/>
-                    C. 鏈悎鍚屼腑鎵�杩扮殑淇濊瘉鏄�傜敤浜庢牴鎹悎鍚岃揣鐗╂彁渚涚殑鐨勫敮涓�淇濊瘉銆傛湰淇濊瘉鏉℃鍙栦唬骞舵帓闄ゆ硶寰嬨�佹儻渚嬨�佹硶浠ゆ垨鍏朵粬瑙勫畾鏂藉姞<br/>
-                    鎴栭粯绀虹殑浠讳綍鍏朵粬鎷呬繚銆佷繚璇佸拰/鎴栨潯浠跺拰/鎴栧洜姝よ�屼骇鐢熺殑璐d换銆傚浜庝换浣曟湁缂洪櫡鐨勬垨涓嶇鍚堟爣鍑嗙殑璐х墿锛屼拱鏂规墍閫傜敤鐨勫彧鏈�<br/>
-                    鏈潯鐗瑰埆瑙勫畾鐨勬晳娴庛��<br/>
-                    14. WARRANTY锛�<br/>
-                    A锛嶵he Seller warrant that the goods hereof is made of the best materials with first class workmanship, brand new and<br/>
-                    unused and complies in all respects with the quality and specification stipulated in this Contract.<br/>
-                    The warranty period shall be {!contra.QAeng3}counting from the date on which the goods have been accepted by the end user<br/>
-                    but limited to a maximum of {!contra.QAeng2} from the date of shipment. <br/>
-                    Within the warranty period, the Seller shall be liable for the damage incurred on account of the defects attributable to the design<br/>
-                     and emerging during the course of manufacturing of the Seller鈥檚 side if the Buyer operate under regular conditions in accordance<br/>
-                     with the instruction to the equipments or the machines. Within the warranty period, if some important units and parts of the goods<br/>
-                     need to change, the warranty period of the new units and parts should be counted from the changing date. If the new units and<br/>
-                      parts are bought from the third party, the warranty period of the new units and parts should be counted according to the original suppliers.<br/>
-                    B锛嶪n case there鈥檚 any missing parts &amp; machines which are out of the agreed scope of supply and most possibly would influence <br/>
-                    the commissioning or production on time, the Seller has the obligation and responsibility to discuss with Buyer to make concerned <br/>
-                    adjustments and amendments to warrant the acceptance of the goods.<br/>
-                    C. The warranty set out in this Contract is the only warranty applicable to the goods supplied pursuant to this Contract. This<br/>
-                    warranty replaces and excludes any other guarantee, warranty and/or condition imposed or implied by law, custom, statute or <br/>
-                    otherwise and/or resulting liabilities. Only those remedies specifically set out in this clause are available to the Buyer<br/>
-                    in respect of any defective or non-conforming goods.<br/>
-                </td>
-            </tr>
-        </apex:outputPanel>
-        <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'NDT' || Opp.ProductSegment__c = 'ANI', 'true', 'false')}" layout="none">
-            <tr>
-                <td>
-                    14. 璐ㄩ噺淇濊瘉锛�<br/>
-                    A. 鍗栨柟淇濊瘉鏈悎鍚屼箣璐х墿鏄敤鏈�濂界殑鏉愭枡浠ヤ笂绛夌殑宸ヨ壓鍒堕�狅紝宕柊鍙婃湭鐢ㄨ繃鐨勶紝鍏惰川閲忎笌瑙勬牸涓�鍒囨柟闈笌鏈悎鍚岀殑瑙勫畾鐩哥銆�<br/>
-                    淇濊瘉鏈熼厤浠朵负3涓湀锛屼富鏈轰负1骞磋嚦3骞达紝鏍规嵁浜у搧鍏蜂綋鍨嬪彿纭畾銆�<br/>
-                    鍦ㄤ繚璇佹湡鍐咃紝濡備拱鏂规寜鐓ц揣鐗╀娇鐢ㄨ鏄庝功鍦ㄦ甯告潯浠朵笅浣跨敤锛岀敱浜庡崠鏂硅璁℃垨鍒堕�犱笂鐨勭己闄疯�屽彂鐢熺殑鎹熷潖锛岀敱鍗栨柟璐熻矗銆�<br/>
-                    鍦ㄤ繚璇佹湡鍐呭鏋滆揣鐗╃殑閲嶈闆堕儴浠堕渶瑕佹洿鎹紝鍒欒闆堕儴浠剁殑淇濊瘉鏈熶粠鏇存崲涔嬫棩璧烽噸鏂拌绠楋紝澶栬喘浠朵互鍘熶緵搴斿晢鐨勪繚璇佹湡涓哄噯銆�<br/>
-                    B. 濡傛灉鍙屾柟鍏卞悓鍟嗗畾骞剁‘璁ょ殑渚涜揣鑼冨洿涓湁閬楁紡鐨勯儴浠跺拰璁惧骞舵湁鍙兘瀵艰嚧鏁村璐х墿涓嶈兘鎸夋椂楠屾敹鎶曚骇鎴栧奖鍝嶇敓浜э紝鍗栨柟<br/>
-                    鏈変箟鍔″拰璐d换鍦ㄥ埗閫犺繃绋嬩腑涓庝拱鏂瑰晢閲忓仛鍑虹浉搴旂殑璋冩暣鍜岃ˉ鏁戯紝骞朵繚璇佹暣濂椾互涓婅揣鐗╄兘閫氳繃楠屾敹銆�<br/>
-                    C. 鏈悎鍚屼腑鎵�杩扮殑淇濊瘉鏄�傜敤浜庢牴鎹悎鍚岃揣鐗╂彁渚涚殑鐨勫敮涓�淇濊瘉銆傛湰淇濊瘉鏉℃鍙栦唬骞舵帓闄ゆ硶寰嬨�佹儻渚嬨�佹硶浠ゆ垨鍏朵粬瑙勫畾鏂藉姞<br/>
-                    鎴栭粯绀虹殑浠讳綍鍏朵粬鎷呬繚銆佷繚璇佸拰/鎴栨潯浠跺拰/鎴栧洜姝よ�屼骇鐢熺殑璐d换銆傚浜庝换浣曟湁缂洪櫡鐨勬垨涓嶇鍚堟爣鍑嗙殑璐х墿锛屼拱鏂规墍閫傜敤鐨勫彧鏈�<br/>
-                    鏈潯鐗瑰埆瑙勫畾鐨勬晳娴庛��<br/>
-                    14. WARRANTY锛�<br/>
-                    A锛嶵he Seller warrant that the goods hereof is made of the best materials with first class workmanship, brand new and unused and<br/>
-                     complies in all respects with the quality and specification stipulated in this Contract. <br/>
-                    The warranty period shall be three months for accessory, 1-3 years for instrument.<br/>
-                    counting from the date on which the goods have been accepted by the end user but limited to a maximum of<br/>
-                      {!contra.QAeng2} from the date of shipment. <br/>
-                    Within the warranty period, the Seller shall be liable for the damage incurred on account of the defects attributable to the design<br/>
-                     and emerging during the course of manufacturing of the Seller鈥檚 side if the Buyer operate under regular conditions in accordance<br/>
-                     with the instruction to the equipments or the machines. Within the warranty period, if some important units and parts of the goods<br/>
-                     need to change, the warranty period of the new units and parts should be counted from the changing date. If the new units and<br/>
-                      parts are bought from the third party, the warranty period of the new units and parts should be counted according to the original suppliers.<br/>
-                    B锛嶪n case there鈥檚 any missing parts &amp; machines which are out of the agreed scope of supply and most possibly would influence <br/>
-                    the commissioning or production on time, the Seller has the obligation and responsibility to discuss with Buyer to make concerned <br/>
-                    adjustments and amendments to warrant the acceptance of the goods.<br/>
-                    C. The warranty set out in this Contract is the only warranty applicable to the goods supplied pursuant to this Contract. This<br/>
-                    warranty replaces and excludes any other guarantee, warranty and/or condition imposed or implied by law, custom, statute or <br/>
-                    otherwise and/or resulting liabilities. Only those remedies specifically set out in this clause are available to the Buyer<br/>
-                    in respect of any defective or non-conforming goods.<br/>
-                </td>
-            </tr>
-        </apex:outputPanel>
-        </table>
-        <!--<apex:outputPanel layout="none">
-            <div style="page-break-after: always;"/>
-        </apex:outputPanel>-->
-        <table style="font-size: 9pt;">
-            <tr>
-                <td>
-                    15. 妫�楠屼笌绱㈣禂锛�<br/>
-                    锛�1锛変氦璐т箣鍓嶏紝鍒堕�犲巶搴斿璐х墿鐨勮川閲忚鏍笺�佹�ц兘鍜屾暟閲忚繘琛岀簿纭拰鍏ㄩ潰鐨勬鏌ュ苟鍑哄叿璇佹槑璐х墿涓庢湰鍚堝悓瑙勫畾鐩哥鐨勮瘉鏄庝功銆�<br/>
-                    锛�2锛夎揣鐗╁埌鐩殑娓垨鐩殑鍦板悗90澶╁唴锛屼互杈冩棭鑰呬负鍑嗭紝涔版柟鎳夊悜涓浗鍑哄叆澧冩楠屾鐤眬鐢宠瀵规湁鍏宠揣鐗╃殑璐ㄩ噺銆佽鏍煎拰鏁伴噺杩�<br/>
-                    琛屽垵姝ユ楠屽苟鐢卞叾鍑哄叿妫�楠屾姤鍛娿�傚涓浗鍑哄叆澧冩楠屾鐤眬鍙戠幇鍒拌揣鐗╃殑瑙勬牸鎴�/鍜屾暟閲忎笌鏈悎鍚岃瀹氫笉绗︼紝闄ゅ簲鐢变繚闄╁叕鍙告垨<br/>
-                    鑸硅繍鍏徃璐熻矗澶栵紝涔版柟鏈夋潈鎷掓敹璐х墿鎴栧悜鍗栨柟鎻愬嚭璧斿伩銆�<br/>
-                    锛�3锛夊璐х墿鐨勮川閲忓拰瑙勬牸涓庢湰鍚堝悓涓嶇锛屾垨鍦ㄦ湰鍚堝悓绗�13鏉¤瀹氱殑淇濊瘉鏈熷唴璇佹槑璐х墿鏈夌己闄凤紝涔版柟搴旂敵璇蜂腑鍥藉嚭鍏ュ妫�楠屾鐤�<br/>
-                    灞�妫�楠岋紝骞舵湁鏉冩牴鎹妫�楠屾姤鍛婂悜鍗栨柟鎻愬嚭绱㈣禂銆�<br/>
-                    锛�4锛夊崠鏂瑰涓庢湰鍚堝悓涓嶇閮ㄥ垎锛屽簲鍦ㄥ悎鐞嗙殑鏈熼檺鍐呮棤鍋挎崲璐ф垨琛ュ彂鐭己鎴栬船浣庤揣浠凤紝骞惰礋鎷呯敱姝や骇鐢熺殑涓�鍒囪垂鐢ㄥ拰鎹熷け锛屽寘鎷細<br/>
-                    鍒╂伅銆侀摱琛岃垂鐢ㄣ�佽繍璐广�佷繚闄╄垂銆佹楠岃垂銆佷粨鍌ㄣ�佺爜澶磋鍗歌垂浠ュ強鍏朵粬涓�鍒囧繀瑕佽垂鐢ㄣ��<br/>
-                    15. INSPECTION AND CLAIMS:<br/>
-                    锛�1锛塗he manufacturer shall锛宐efore making delivery锛宮ake a precise and comprehensive inspection of the goods with regard<br/>
-                     to the quality, specification and quantity and issue certificates certifying that the goods are in conformity with the stipulations of<br/>
-                      the Contract. <br/>
-                    锛�2锛塛ithin ninety (90) days after arrival of the goods at the port of destination or the place of destination, whichever is the earlier,<br/>
-                      the Buyer shall apply to the China Entry &amp; Exit Inspection &amp; Quarantine Bureau (CIQ) for a preliminary inspection in respect of the<br/>
-                      quality, specification and quantity of the goods and a survey report shall be issued thereof. If discrepancies are found by the CIQ<br/>
-                      regarding specifications or the quantity or both, except when the responsibilities lie with Insurance Company or Shipping Company,<br/>
-                      the Buyer has the right to reject the goods or to claim against the Seller.<br/>
-                    锛�3锛塖hould the quality and specification of the goods not in conformity with the Contract or should the goods be proved defective <br/>
-                    during the warranty period stipulated in Clause 13, the Buyer shall arrange for a survey to be carried out by the CIQ and have the<br/>
-                     right to claim against the Seller on the strength of the survey report.<br/>
-                    锛�4锛塅or any goods which are not in conformity with the Contract, the Seller锛寃ithin a reasonable time锛宻hall make replacement <br/>free of charge锛宒eliver the short ones or devalue the goods and bear all the charges and losing incurred thereof. The charges <br/>include interest, banking charges, freight, premium, inspecting charges, storing charges, discharging charges and other charges <br/>incurred since the goods are not in conformity with the contract.  
-                </td>
-            </tr>
-            <!-- </table>
-            <apex:outputPanel layout="none">
-                <div style="page-break-after: always;"/>
-            </apex:outputPanel> 
-            <table style="font-size: 9pt;">-->
-                <tr>
-                    <td>
-                        16. 浜哄姏涓嶅彲鎶楁嫆浜嬫晠锛�<br/>
-                        鐢变簬鍦ㄧ敓浜с�佽杩愯繃绋嬩腑鍙戠敓鐨勪汉鍔涗笉鍙姉鎷掍簨鏁咃紙濡傦細鎴樹簤銆佷弗閲嶇伀鐏俱�佹按鐏俱�佸彴椋庛�佸湴闇囦互鍙婂弻鏂瑰潎璁や负灞炰簬浜轰笉鍙姉鎷掍簨鏁咃級<br/>
-                        鑰屼娇寰楀崠鏂瑰欢鏈熻鑸规垨涓嶈兘浜よ揣锛屽崠鏂瑰彲涓嶈礋鎷呰矗浠汇�備絾鏄崠鏂瑰簲鍦ㄤ笂杩颁簨鏁呭彂鐢熷悗绔嬪嵆浼犵湡閫氱煡涔版柟锛屽苟鍦ㄤ紶鐪熷悗14澶╁唴锛屾彁渚�<br/>
-                        涓嶅彲鎶楁嫆浜嬫晠鍙戠敓鍦板煙鐨勪富绠℃斂搴滃綋灞�鎴栧晢浼氬嚭鍏风殑璇佷欢锛岀┖閭氦涔版柟浠ヨ祫璇佹槑銆傚湪姝ゆ儏鍐典笅锛屽崠鏂逛粛椤婚噰鍙栦竴鍒囧繀瑕佹帾鏂藉姞閫熻揣<br/>
-                        鐗╃殑鍙戣繍銆傚涓嶅彲鎶楁嫆浜嬫晠寤剁画90澶╀互涓婏紝浠讳綍涓�鏂规湁鏉冨悜鍙︿竴鏂瑰彂鍑轰功闈㈤�氱煡涓鏈悎鍚屻��<br/>
-                        16. FORCE MAJEURE:<br/>
-                        The Seller shall not be held responsible for the delay in shipment or non-delivery of the goods due to force majeure, such as war,<br/>
-                         serious fire, flood, typhoon and earthquake occur during the process of manufacturing or in the course of loading or transit. The<br/>
-                         Seller shall immediately advise the Buyer by fax of the occurrence mentioned above and within fourteen (14) days thereafter, the<br/>
-                         Seller shall send by airmail to the Buyer for their acceptance a certificate of the accident issued by the competent government<br/>
-                         authorities or the Chamber of Commerce where the accident occurs as evidence thereof. Under such circumstance the Seller, <br/>
-                         however, are still under the obligation to take all necessary measures to hasten the delivery of the goods. In case the accident lasts <br/>
-                         for more than ninety (90) days, both parties shall have the right to terminate this Contract by written notice to the other party.
-                    </td>
-                </tr>
-                <tr>
-                    <td>
-                        17. 杩熶氦璐х墿鍙婅繚绾﹂噾锛�<br/>
-                        闄ゆ湰鍚堝悓绗�15鏉℃墍瑙勫畾鐨勪笉鍙姉鎷掍簨鏁呭師鍥犲锛屽鍗栨柟涓嶈兘鎸夊悎鍚岃瀹氬噯鏃朵氦璐э紝鍦ㄥ崠鏂瑰悓鎰忔壙鎷�<br/>
-                        杩熶氦杩濈害閲戝苟鐢变粯娆鹃妧琛屽湪鏀粯璐ф鏃舵墸闄ょ殑鏉′欢涓嬶紝涔版柟搴斿悓鎰忓欢鏈熶氦璐с�備絾杩熶氦杩濈害閲戞�婚涓�<br/>
-                        鎳夎秴杩囧悎鍚屾�婚鐨�5%銆傝繜浜よ繚绾﹂噾鐜囦负姣忎竷(7)澶╁崈鍒嗕箣浜旓紝涓嶈冻涓�(7)澶╄�呭簲鎸変竷(7)澶╄绠椼��<br/>濡傚欢鏈熶氦璐ц秴杩囨湰鍚堝悓鎵�瑙勫畾鐨勮杩愭湡鍗�(10)鍛紝涔版柟鏈夋潈鍚戝崠鏂瑰彂鍑轰功闈㈤�氱煡涓鏈悎鍚屻��<br/>
-                        17. LATE DELIVERY AND LIQUIDATED DAMAGES: <br/>
-                        Should the Seller fail to make delivery on time as stipulated in the Contract with the exception of force majeure causes specified in <br/>
-                        Clause 15 of this Contract, the Buyer shall agree to postpone the delivery on the condition that the Seller agree to pay a liquidated <br/>
-                        damages which shall be deducted by the paying bank from the payment under negotiation. The liquidated damages, however, shall<br/>
-                         not exceed five percent (5%) of the total value of the goods involved in the late delivery. The rate of liquidated damages is charge <br/>
-                         at one half percent (0.5%) for every seven (7) days, odd days less than seven (7) days should count as seven (7) days. In case the<br/> 
-                         late delivery exceed ten (10) weeks of the time of shipment stipulated in the Contract, the Buyer shall have the right to terminate<br/> 
-                         this Contract by written notice to the Seller.<br/>
-                    </td>
-                </tr>
-                <tr>
-                    <td>
-                        18. 涓撳埄鏉冿細<br/>
-                        鍗栨柟蹇呴』淇濋殰涔版柟鍦ㄤ腑鍥戒娇鐢ㄥ叾璐х墿鍙婂叾浠讳綍閮ㄥ垎涓嶅彈鍒扮涓夋柟鍏充簬渚电姱涓撳埄鏉冦�佸晢鏍囨潈鎴栧伐涓氳璁℃潈鐨勬寚鎺с�備换浣曠涓夋柟濡傛灉鎻愬嚭渚�<br/>
-                        鏉冩寚鎺э紝鍗栨柟椤讳笌绗笁鏂逛氦娑夊苟鎵挎媴鐢辨寮曡捣鐨勪竴鍒囨硶寰嬭矗浠诲拰璐圭敤銆�<br/>
-                        18. PATENT RIGHTS<br/>
-                        The Seller shall indemnify the Buyer against all third-party claims of infringement of patent, trademark, or industrial design rights <br/>
-                        arising from use of the goods or any part thereof in China. In case any third party brings a charge of infringement, the Seller shall<br/>
-                         negotiate with the third-party and be liable for any legal duty and expenses.<br/>
-                    </td>
-                </tr>
-                <tr>
-                    <td>
-                        19. 鍚堝悓鏂囦欢鍙婅祫鏂欑殑浣跨敤: <br/>
-                        锛�1锛夊湪鏈粡涔版柟涔﹂潰鍚屾剰鐨勬儏鍐典笅锛屽崠鏂逛笉寰楀皢鐢变拱鏂规垨浠h〃涔版柟鎻愪緵鐨勬湁鍏冲悎鍚屾潯鏂囥�佽鏍笺�佽鍒掋�佸浘绾搞�佹ā鍨嬨�佹牱鍝佹垨璧勬枡鎻愪緵<br/>
-                        缁欎笌灞ヨ鏈悎鍚屾棤鍏崇殑浠讳綍浜恒�傚嵆浣垮悜涓庡饱琛屾湰鍚堝悓鏈夊叧鐨勪汉鍛樻彁渚涳紝涔熷簲娉ㄦ剰淇濆瘑骞朵粎闄愪簬灞ヨ鍚堝悓蹇呴』鐨勮寖鍥淬��<br/>
-                        锛�2锛夐櫎闈炴墽琛屽悎鍚岄渶瑕侊紝鍦ㄤ簨鍏堟湭寰楀埌涔版柟涔﹂潰鍚屾剰鐨勬儏鍐典笅锛屽崠鏂逛笉寰椾娇鐢ㄦ潯娆撅紙1锛変腑鎵�鍒椾妇鐨勪换浣曟枃浠跺拰璧勬枡銆�<br/>
-                        锛�3锛夐櫎鍚堝悓鏈韩澶栵紝鏉℃锛�1锛夊垪鏄庣殑鎵�鏈夋枃浠跺缁堜负涔版柟鐨勮储浜э紝鑻ヤ拱鏂硅姹傦紝鍗栨柟搴斾簬鍏跺悎鍚屼箟鍔″饱琛屽畬姣曚互鍚庡皢杩欎簺鏂囦欢鍙婂叏<br/>
-                        閮ㄥ鍒朵欢閫�杩樼粰涔版柟銆�<br/>
-                        19. USE OF CONTRACT鈥橲 DOCUMENTS AND INFORMATION: <br/>
-                        (1) The Seller shall not, without the Buyer鈥檚 prior written consent, disclose this Contract, or any provision hereof, or any<br/>
-                         specification, plan, drawing, pattern, sample, or information furnished by or on behalf of the Buyer in connection therewith, to any <br/>
-                         person other than the person employed by the Seller in the performance of this Contract. Disclosure to any such employed person<br/> 
-                         shall be made in confidence and shall extend only so far as may be necessary for purposes of such performance. <br/>
-                        (2) The Seller shall not, without the Buyer鈥檚 prior written consent, make use of any document or information enumerated in<br/>
-                         Clause (1) except for purposes of performing this Contract.<br/>
-                        (3) Any document, other than this Contract itself, enumerated in Clause (1) shall remain the property of the Buyer and shall be<br/>
-                         returned (including all copies) to the Buyer on completion of the Seller鈥檚 performance under this Contract if so required by the Buyer. <br/>
-                    </td>
-                </tr>
-                <tr>
-                    <td>
-                        20. 浠茶锛�<br/>
-                        涓庢湰鍚堝悓鏈夊叧鐨勬垨鍥犳墽琛屾湰鍚堝悓鎵�鍙戠敓鐨勪竴鍒囦簤鎵э紝鐢辩璁㈠悎鍚岀殑鍙屾柟鍙嬪ソ鍗忓晢瑙e喅銆傝嫢涓嶈兘瑙e喅鏃讹紝妗堜欢鍙彁浜や腑鍥藉浗闄呯粡娴庤锤鏄�<br/>
-                        浠茶濮斿憳浼氫徊瑁併�備徊瑁佹寜鍘熷悎鍚岃繘琛屻�備徊瑁佸鍛樹細鐨勮鍐充负鏈�缁堝喅瀹氾紝绛剧害鍙屾柟閮藉簲鏈嶄粠锛涗换浣曚竴鏂瑰潎涓嶅緱鍚戞硶闄㈡垨鍏朵粬褰撳眬姹傚姪鐢�<br/>
-                        璇蜂慨鏀硅瑁佸喅銆傛垨鑰呭湪鍙屾柟鍚屾剰鐨勭涓夊浗鎴栧湴鍖鸿繘琛屼徊瑁併�備徊瑁佽垂鐢ㄧ敱鍙屾柟鏂硅礋鎷呫�傚湪浠茶鏈熼棿锛岄櫎浜嗗湪浠茶杩囩▼涓繘琛屼徊瑁佺殑閮ㄥ垎<br/>
-                        澶栵紝鏈悎鍚屽簲缁х画鎵ц銆�<br/>
-                        20. ARBITRA<br/>                        
-                        All disputes in connection with this Contract or the execution thereof shall be settled friendly through negotiation by the parties hereof.<br/> 
-                        In case no settlement can be reached, the case may then be submitted for arbitration to the China International Economic and Trade<br/> 
-                        Arbitration Commission, in accordance with the Rulers of Procedures promulgated by they said Arbitration Commission. The <br/>
-                        arbitration shall take place in China and the decision of the Arbitration Commission shall be final and binding upon both parties, <br/>
-                        neither party shall seek recourse to a law court or other authorities to appeal to revision of the decision. Or the  arbitration may be <br/>
-                        taken place in a third country or place mutually agreed by both parties. Arbitration fee shall be borne by continue to execute<br/>
-                         this Contract except those under arbitration. <br/>
-                    </td>
-                </tr>
-            </table>
-            <!-- <apex:outputPanel layout="none">
-                <div style="page-break-after: always;"/>
-            </apex:outputPanel> -->
-            <table style="font-size: 9pt;">
-                <colgroup>
-                    <col width="50%"/>
-                    <col width="50%"/>
-                </colgroup>
-                <tr>
-                    <td colspan = "2">
-                        21. 杩涘嚭鍙h鍙瘉锛�<br/>
-                        杩涘彛鏈悎鍚岄」涓嬭揣鐗╂墍闇�鐨勪腑鍥芥斂搴滃強娴峰叧瑕佹眰鐨勮繘鍙h鍙瘉鍜屽叾浠栬繘鍙f枃浠剁敱涔版柟璐熻矗鍔炵悊銆傚嚭鍙f湰鍚堝悓椤逛笅璐х墿鎵�闇�鐨勫嚭鍙e浗鏀�<br/>
-                        搴滃強娴峰叧瑕佹眰鐨勫嚭鍙h鍙瘉鍜屽叾浠栧嚭鍙f枃浠剁敱鍗栨柟璐熻矗鍔炵悊銆�<br/>
-                        21. IMPORT AND EXPORT LICENCES: <br/>
-                        It is the responsibility of the Buyer to arrange import licenses or other import documents, if required for the goods covered by this <br/>
-                        Contract from the Chinese Government and Custom at the Buyer鈥檚 expense. It is the responsibility of the Seller to arrange export<br/>
-                         licenses or other export documents, if required for the Goods covered by this Contract from its country Government and Custom at<br/>
-                          the Seller鈥檚 expense.<br/>
-                    </td>
-                </tr>
-                <tr>
-                    <td colspan = "2">
-                        22. 绋庤垂锛�<br/>
-                        涓浗鏀垮簻鏍规嵁鐜拌绋庢硶鍚戜拱鏂瑰緛鏀剁殑涓庡饱琛屾湰鍚堝悓鏈夊叧鐨勪竴鍒囩◣璐圭敱涔版柟鏀粯銆�<br/>
-                        涓浗鏀垮簻鏍规嵁鐜拌绋庢硶鍚戝崠鏂瑰緛鏀剁殑涓庡饱琛屾湰鍚堝悓鏈夊叧鐨勪竴鍒囩◣璐圭敱鍗栨柟鏀粯銆�<br/>
-                        鍙戠敓鍦ㄤ腑鍥藉澶栫殑锛屼笌灞ヨ鏈悎鍚屾湁鍏崇殑涓�鍒囩◣璐癸紝搴旂敱鍗栨柟鎵挎媴銆�<br/>
-                        22. TAX AND DUTIES锛�<br/>
-                        All taxes in connection with the execution of this Contract levied by the Chinese Government on the Buyer in accordance with the<br/>
-                         tax laws in effect shall be borne by the Buyer.All taxes in connection with the execution of this Contract levied by the Chinese<br/>
-                         Government on the Seller in accordance with the tax laws in effect shall be borne by the Seller. All taxes arising outside China in<br/>
-                         connection with the execution of this Contract shall be borne by the Seller. <br/>
-                    </td>
-                </tr>
-                <tr>
-                    <td colspan = "2">
-                        23.閫傜敤娉曞緥锛�<br/>
-                        鏈悎鍚屽簲鎸夌収涓崕浜烘皯鍏卞拰鍥界殑娉曞緥绠¤緰鍙婅В閲娿��<br/>
-                        23. APPLICABLE LAW锛�<br/>
-                        This Contract shall be governed and construed in accordance with the laws of People鈥檚 Republic of China.<br/> 
-                    </td>
-                </tr>
-                <tr>
-                    <td colspan = "2">
-                        24.鍏朵粬:<br/>
-                        锛�1锛夋湰鍚堝悓搴斾互涓枃鍜岃嫳鏂囦功鍐欙紝濡備腑鏂囧拰鑻辨枃鐗堟湰涔嬮棿鏈変换浣曚笉涓�鑷达紝鍒欎互鑻辨枃鏈负涓汇�傛妧鏈浘绾革紝涔板崠鍙屾柟鐨勬墍鏈夊嚱鐢典互鍙婁笌鍚�<br/>
-                        鍚屾湁鍏崇殑鏂囦欢鍧囧簲浠ヤ腑鏂囨垨鑻辨枃涔﹀啓銆�<br/>
-                        锛�2锛夐櫎鎶�鏈鏍间腑鍙︽湁瑙勫畾澶栵紝璁¢噺鍗曚綅鍧囦娇鐢ㄥ叕鍒躲��<br/>
-                        锛�3锛夋瀵瑰悎鍚屾潯娆惧仛鍑轰换浣曚慨鏀癸紝鍧囬』鐢变拱鍗栧弻鏂圭缃蹭功闈㈢殑鍚堝悓淇敼涔︺��<br/>
-                        锛�4锛夋湰鍚堝悓鎵�鏈夐檮浠跺皢鏄湰鍚堝悓涓嶅彲鍒嗗壊鐨勭粍鎴愰儴鍒嗗苟鍏锋湁鍚岀瓑鏁堝姏銆�<br/>
-                        锛�5锛夋湭鍦ㄦ湰鍚堝悓涓鏄庣殑鍟嗗姟鎯緥搴旂鍚圛NCOTERMS 2000鏉℃鐨勮瀹氥��<br/>
-                        锛�6锛夋湰鍚堝悓鐢变拱鍗栧弻鏂圭璁㈠悗绔嬪嵆鐢熸晥銆�<br/>
-                        &nbsp;&nbsp;姝ゅ悎鍚岀敱涔板崠鍙屾柟绛剧讲姝f湰 {!contra.order.PDF_Co_Contract__c}浠姐�� 涔版柟鎸佹湁 {!contra.order.PDF_Co_BContra__c}浠姐�� 鍗栨柟鎸佹湁 {!contra.order.PDF_Co_SContra__c}浠姐��<br/>
-                        24. OTHERS:<br/>
-                        锛�1锛塗his Contract shall be written in both Chinese and English, in case there is any inconsistency between the Chinese version <br/>
-                        and the English version, the English version shall prevail. The technical drawings, all correspondence and other documents <br/>pertaining to this Contract exchanged by the parties shall be written in Chinese or English.<br/>
-                        锛�2锛堿ll measurement shall be in SI unit, unless otherwise specified in the Technical Specifications.<br/>
-                        锛�3锛塏o variation in or modification of the terms of this Contract shall be valid except by written amendment signed by the parties.<br/>
-                        锛�4锛堿ll appendixes to this Contract shall be formed as an integral part of this Contract and shall be equally effective.<br/>
-                        锛�5锛� The commercial customs not described in this Contract shall be in accordance with the terms and conditions of INCOTERMS <br/>
-                        2000.<br/>
-                        锛�6锛塗his Contract shall become effective upon execution by the Buyer and the Seller. <br/>
-                        Both parties sign this Contract in {!contra.order.PDF_Co_Contract_E__c} .The buyer holds {!contra.order.PDF_Co_BContra_E__c} .The seller holds {!contra.order.PDF_Co_SContra_E__c} .<br/>
-                    </td>
-                </tr>
-                <tr>
-                    <td style="vertical-align: top;">
-                        鍗栨柟锛�&nbsp;&nbsp;浠櫙閫氬厜瀛︾鎶�锛堜笂娴凤級鏈夐檺鍏徃
-                    </td>
-                    <td style="vertical-align: top;">
-                        涔版柟锛�&nbsp;&nbsp;{!specialDeliveryAddress.Name}
-                    </td>
-                </tr>
-                <tr>
-                    <td style="vertical-align: top;">
-                        THE SELLER:&nbsp;&nbsp;Evident (Shanghai) Co., Ltd
-                    </td>
-                    <td style="vertical-align: top;">
-                        THE BUYER:&nbsp;&nbsp;{!specialDeliveryAddress.EnglishName__c}
-                    </td>
-                </tr>
-                <tr>
-                    <td>
-                        For and on behalf of&nbsp;&nbsp;
-                    </td>
-                    <td>
-                        For and on behalf of&nbsp;&nbsp;
-                    </td>
-                </tr>
-                <tr>
-                    <td>
-                        [*]&nbsp;&nbsp;
-                    </td>
-                    <td>
-                        [*]&nbsp;&nbsp;
-                    </td>
-                </tr>
-                <tr><td colspan = "2" height="100px"></td></tr>
-                <tr>
-                    <td>
-                        绛惧悕锛�&nbsp;&nbsp;
-                    </td>
-                    <td>
-                        绛惧悕锛�&nbsp;&nbsp;
-                    </td>
-                </tr>
-                <tr>
-                    <!-- <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'NDT' || Opp.ProductSegment__c = 'ANI' ), 'false', 'true')}" layout="none">
+        <div id="pdf-wrapper">
+            <div class="pdf-page">
+                <table style="border-style:none;float: left;">
+                    <tr style="font-size: 8pt;">
                         <td>
-                        Name: &nbsp;&nbsp;Mitsuyuki Shirakawa
+                            <div>鍚堝悓鍙�</div>
+                            <div>Contract No</div>
+                            <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS'  && Opp.TradeType__c = 'Taxation', 'true', 'false')}"
+                                layout="none">
+                                <div>鎶ュ鍗曞彿</div>
+                                <div>浠g悊鍟嗗叏绉�</div>
+                            </apex:outputPanel>
                         </td>
+                        <td>
+                            <div>:&nbsp;</div>
+                            <div>:&nbsp;</div>
+                            <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS' && Opp.TradeType__c = 'Taxation', 'true', 'false')}"
+                                layout="none">
+                                <div>:&nbsp;</div>
+                                <div>:&nbsp;</div>
+                            </apex:outputPanel>
+                        </td>
+                        <td>
+                            <div>&nbsp;{!contra.order.PDF_Order_No__c}</div>
+                            <div>&nbsp;{!contra.order.PDF_Order_No__c}</div>
+                            <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS' && Opp.TradeType__c = 'Taxation', 'true', 'false')}"
+                                layout="none">
+                                <div>&nbsp;{!contra.order.PDF_I_Report__c}</div>
+                                <div>&nbsp;{!contra.order.Dealer__c}</div>
+                            </apex:outputPanel>
+                        </td>
+                    </tr>
+                </table>
+                <table style="border-style:none; float:right">
+                    <tr style="font-size: 8pt;">
+                        <td>
+                            <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS'|| Opp.ProductSegment__c = 'NDT'|| Opp.ProductSegment__c = 'ANI' ) && Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}"
+                                layout="none">
+                                <div>绛捐鏃ユ湡</div>
+                                <div>Signature Date</div>
+                            </apex:outputPanel>
+                            <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'BS' || Opp.ProductSegment__c = 'NDT' ||Opp.ProductSegment__c = 'ANI' && Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}"
+                                layout="none">
+                                <div>绛捐鍦扮偣</div>
+                                <div>Signature Place</div>
+                            </apex:outputPanel>
+                        </td>
+                        <td>
+                            <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS'|| Opp.ProductSegment__c = 'NDT'|| Opp.ProductSegment__c = 'ANI' ) && Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}"
+                                layout="none">
+                                <div>:&nbsp;</div>
+                                <div>:&nbsp;</div>
+                            </apex:outputPanel>
+                            <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'BS'|| Opp.ProductSegment__c = 'NDT' ||Opp.ProductSegment__c = 'ANI' && Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}"
+                                layout="none">
+                                <div>:&nbsp;</div>
+                                <div>:&nbsp;</div>
+                            </apex:outputPanel>
+                        </td>
+                        <td>
+                            <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS'|| Opp.ProductSegment__c = 'NDT'|| Opp.ProductSegment__c = 'ANI' ) && Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}"
+                                layout="none">
+                                <div>&nbsp;{!contra.SignatureDate}</div>
+                                <div>&nbsp;{!contra.SignatureDates}</div>
+                            </apex:outputPanel>
+                            <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'BS' || Opp.ProductSegment__c = 'NDT' ||Opp.ProductSegment__c = 'ANI'&& Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}"
+                                layout="none">
+                                <div>&nbsp;{!contra.order.PDF_SignaturePlace__c}</div>
+                                <div>&nbsp;{!contra.order.PDF_SignaturePlaces__c}</div>
+                            </apex:outputPanel>
+                        </td>
+                    </tr>
+                </table>
+                <table width="100%" cellspacing="0" cellpadding="0">
+                    <colgroup>
+                        <col width="25%" />
+                        <col width="25%" />
+                        <col width="25%" />
+                        <col width="25%" />
+                    </colgroup>
+                    <tr>
+                        <td colspan="4" height="5px"></td>
+                    </tr>
+                    <tr>
+                        <td colspan="4" style="text-align: center;font-size: 14pt;">鍚堝悓</td>
+                    </tr>
+                    <tr>
+                        <td colspan="4" style="text-align: center;font-size: 12pt;">CONTRACT</td>
+                    </tr>
+        
+                    <tr>
+                        <td style="font-size: 8pt;">涔版柟:&nbsp;</td>
+                        <td colspan="3" style="font-size: 8pt;">{!specialDeliveryAddress.Name}</td>
+                    </tr>
+                    <tr>
+                        <td style="font-size: 8pt;">THE BUYER:&nbsp;</td>
+                        <td colspan="3" style="font-size: 8pt;">{!specialDeliveryAddress.EnglishName__c}</td>
+                    </tr>
+                    <tr>
+                        <td style="font-size: 8pt;">鍦板潃:&nbsp;</td>
+                        <td colspan="3" style="font-size: 8pt;">{!specialDeliveryAddress.Address1__c}</td>
+                    </tr>
+                    <apex:outputPanel rendered="{!IF(Opp.TradeType__c != 'Taxation', 'true', 'false')}" layout="none">
+                        <tr>
+                            <td style="font-size: 8pt;">ADD:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_B_Add__c}</td>
+                        </tr>
                     </apex:outputPanel>
-                    <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'NDT' || Opp.ProductSegment__c = 'ANI' ), 'true', 'true')}" layout="none"> -->
-                    <td>
-                    Name: &nbsp;&nbsp;Wei Liu
-                    </td>
-                    <!-- </apex:outputPanel> -->
-                    <td>
-                        Name: &nbsp;&nbsp;{!contra.order.PDF_Sign_Name__c}
-                    </td>
-                </tr>
-                <tr>
-                    <td>
-                        Title: &nbsp;&nbsp;Division Manager
-                    </td>
-                    <td>
-                        Title: &nbsp;&nbsp;{!contra.order.PDF_Sign_Title__c}
-                    </td>
-                </tr>
-                <tr>
-                    <td>
-                        鏃ユ湡锛�&nbsp;&nbsp;
-                    </td>
-                    <td>
-                        鏃ユ湡锛�&nbsp;&nbsp;
-                    </td>
-                </tr>
-                <tr>
-                    <td>
-                        Signed on&nbsp;&nbsp;
-                    </td>
-                    <td>
-                        Signed on&nbsp;&nbsp;
-                    </td>
-                </tr>
-            </table>
+                    <tr>
+                        <td style="font-size: 8pt;">鐢佃瘽锛圱el锛�:&nbsp;</td>
+                        <td colspan="3" style="font-size: 8pt;" id="Phone">{!specialDeliveryAddress.Phone}</td>
+                    </tr>
+                    <apex:outputPanel rendered="{!IF(Opp.TradeType__c != 'Taxation', 'true', 'false')}" layout="none">
+                        <tr>
+                            <td style="font-size: 8pt;">浼犵湡锛團ax锛�:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!specialDeliveryAddress.Fax}</td>
+                        </tr>
+                    </apex:outputPanel>
+                    <tr>
+                        <td style="font-size: 8pt;">鑱旂郴浜�:&nbsp;</td>
+                        <td colspan="3" style="font-size: 8pt;" id="LastName">{!specialDeliveryContact.Name}</td>
+                    </tr>
+                    <tr>
+                        <td style="font-size: 8pt;">CONTACT PERSON:&nbsp;</td>
+                        <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_B_contactperson__c}</td>
+                    </tr>
+        
+                    <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI'|| Opp.ProductSegment__c = 'NDT'|| Opp.ProductSegment__c = 'ANI' ) && Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}"
+                        layout="none">
+                        <tr>
+                            <td style="font-size: 8pt;">E-Mail:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!specialDeliveryContact.Email}</td>
+                        </tr>
+                    </apex:outputPanel>
+        
+                    <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'IE', 'true', 'false')}" layout="none">
+                        <tr>
+                            <td style="font-size: 8pt;">鐢ㄦ埛灞炴��:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_B_Attri__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">鐢ㄦ埛浜у搧:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.account.Sub_Use__c}</td>
+                        </tr>
+                    </apex:outputPanel>
+        
+                    <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'RVI', 'true', 'false')}" layout="none">
+                        <tr>
+                            <td style="font-size: 8pt;">甯傚満:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.account.Sub_Use__c}</td>
+                        </tr>
+                    </apex:outputPanel>
+        
+                    <tr>
+                        <td height="1px">&nbsp;</td>
+                    </tr>
+        
+                    <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'BC' ) && Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}"
+                        layout="none">
+                        <tr>
+                            <td style="font-size: 8pt;">鍗栨柟:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_SELLER__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">THE SELLER:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_THE_SELLER__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">鍦板潃:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_S_Adds__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">ADD:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_S_Address__c}</td>
+                        </tr>
+        
+                    </apex:outputPanel>
+                    <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS'|| Opp.ProductSegment__c = 'NDT'|| Opp.ProductSegment__c = 'ANI' ) &&Opp.TradeType__c = 'Taxation', 'true', 'false')}"
+                        layout="none">
+                        <tr>
+                            <td style="font-size: 8pt;">鍗栨柟:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_SELLER__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">鍦板潃:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_S_Adds__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">鐢佃瘽 (TEL):&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_S_TEL__c}</td>
+                        </tr>
+                    </apex:outputPanel>
+                    <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS' || Opp.ProductSegment__c = 'NDT'|| Opp.ProductSegment__c = 'ANI')&& Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}"
+                        layout="none">
+                        <tr>
+                            <td style="font-size: 8pt;">鍗栨柟:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_SELLER__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">THE SELLER:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_THE_SELLER__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">鍦板潃:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_S_Adds__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">ADD:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_S_Address__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">鐢佃瘽(Tel):&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;" id="PDF_S_TEL__c">{!contra.order.PDF_S_TEL__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">浼犵湡(FAX):&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_S_FAX__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">Bank Name:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_S_Bank_Name__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">Branch:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_S_Branch__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">Address:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_S_Bank_Address__c}</td>
+                        </tr>
+                        <!-- <tr>
+                        <td style="font-size: 8pt;">Address:&nbsp;</td>
+                        <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_S_Address__c}</td>
+                    </tr> -->
+                        <tr>
+                            <td style="font-size: 8pt;">Account no:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_S_Account_No__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">Swift code:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_S_Swift_Code__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">Account name:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_S_Account_Name__c}</td>
+                        </tr>
+                    </apex:outputPanel>
+        
+                    <tr style="line-height: 4px">
+                        <td height="1px">&nbsp;</td>
+                    </tr>
+        
+                    <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS'|| Opp.ProductSegment__c = 'NDT'|| Opp.ProductSegment__c = 'ANI' ) && Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}"
+                        layout="none">
+                        <!-- <tr>
+                        <td style="font-size: 8pt;">&nbsp;</td>
+                    </tr> -->
+                        <tr>
+                            <td style="font-size: 8pt;">鏀惰揣浜�:&nbsp;</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;" 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;" id="PDF_C_Address__c">{!contra.order.PDF_C_Address__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">ADD:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_C_Add__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">鐢佃瘽锛圱el锛�:&nbsp;</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>
+                            <td colspan="3" style="font-size: 8pt;" id="PDF_C_FAX__c">{!contra.order.PDF_C_FAX__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">鑱旂郴浜�:&nbsp;</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>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_C_contactperson__c}</td>
+                        </tr>
+                    </apex:outputPanel>
+                    <!--             <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI') && Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}" layout="none">
+                    <tr>
+                        <td style="font-size: 8pt;">THE CONSIGNEE:&nbsp;</td>
+                        <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_C_THECONSIGNE__c}</td>
+                    </tr>
+                    <tr>
+                        <td style="font-size: 8pt;">ADD:&nbsp;</td>
+                        <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_C_Add__c}</td>
+                    </tr>
+                    <tr>
+                        <td style="font-size: 8pt;">鐢佃瘽锛圱el锛�:&nbsp;</td>
+                        <td colspan = "3" style="font-size: 8pt;">{!contra.pdf_c_tel}</td>
+                    </tr>
+                    <tr>
+                        <td style="font-size: 8pt;">浼犵湡锛團ax锛�:&nbsp;</td>
+                        <td colspan = "3" style="font-size: 8pt;">{!contra.pdf_c_fax}</td>
+                    </tr>
+                    <tr>
+                        <td style="font-size: 8pt;">CONTACT PERSON:&nbsp;</td>
+                        <td colspan = "3" style="font-size: 8pt;">{!contra.order.PDF_C_contactperson__c}</td>
+                    </tr>
+                    </apex:outputPanel> -->
+                    <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS'|| Opp.ProductSegment__c = 'NDT'|| Opp.ProductSegment__c = 'ANI' ) && Opp.TradeType__c = 'Taxation', 'true', 'false')}"
+                        layout="none">
+                        <tr>
+                            <td style="font-size: 8pt;">鏀惰揣浜�:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.pdf_c_consignee}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">鍦板潃:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.pdf_c_address}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">鐢佃瘽锛圱el锛�:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.pdf_c_tel}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">鑱旂郴浜�:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.pdf_c_contact}</td>
+                        </tr>
+                    </apex:outputPanel>
+        
+                    <tr height="1px">
+                        <td height="1px">&nbsp;</td>
+                    </tr>
+        
+                    <apex:outputPanel rendered="{!IF(Opp.TradeType__c = 'Tax Exemption' && (Opp.ProductSegment__c = 'BS'||Opp.ProductSegment__c = 'NDT'||Opp.ProductSegment__c = 'ANI'||Opp.ProductSegment__c = 'IE'||Opp.ProductSegment__c = 'RVI'), 'true', 'false')}"
+                        layout="none">
+                        <tr>
+                            <td style="font-size: 8pt;">閫氱煡浜�:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;" id="PDF_N_NotifyParty__c">{!contra.order.PDF_N_NotifyParty__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">THE NOTIFY PARTY:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_NOTIFY_PARTY__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">鍦板潃:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_N_Address__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">ADD:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_N_Add__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">鐢佃瘽锛圱el锛�:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_N_TEL__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">浼犵湡锛團ax锛�:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_N_FAX__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">鑱旂郴浜�:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;" id="PDF_N_CONTACT__c">{!contra.order.PDF_N_CONTACT__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">CONTACT PERSON:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_N_CONTACTPERSON__c}</td>
+                        </tr>
+                    </apex:outputPanel>
+                    <apex:outputPanel rendered="{!IF(Opp.TradeType__c = 'Tax Exemption' && (Opp.ProductSegment__c = 'ABC'), 'true', 'false')}"
+                        layout="none">
+                        <tr>
+                            <td style="font-size: 8pt;">THE NOTIFY PARTY:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_NOTIFY_PARTY__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">ADD:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_N_Add__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">鐢佃瘽锛圱el锛�:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_N_TEL__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">浼犵湡锛團ax锛�:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_N_FAX__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">CONTACT PERSON:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_N_CONTACTPERSON__c}</td>
+                        </tr>
+                    </apex:outputPanel>
+        
+                    <tr>
+                        <td height="1px">&nbsp;</td>
+                    </tr>
+        
+                    <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' ) && Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}"
+                        layout="none">
+                        <tr>
+                            <td style="font-size: 8pt;">杞繍鍟� (鑻辨枃):&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_Forwarder__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">ADD:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_F_Add__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">鐢佃瘽锛圱el锛�:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_F_TEL__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">浼犵湡锛團ax锛�:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_F_FAX__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">鑱旂郴浜� (涓枃):&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;" id="PDF_F_ContactPerson__c">{!contra.order.PDF_F_ContactPerson__c}</td>
+                        </tr>
+                    </apex:outputPanel>
+                    <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS'|| Opp.ProductSegment__c = 'NDT'|| Opp.ProductSegment__c = 'ANI' ) && Opp.TradeType__c = 'Taxation', 'true', 'false')}"
+                        layout="none">
+                        <tr>
+                            <td style="font-size: 8pt;">涓棿鍟嗗叕鍙�:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!Opp.SubDealer__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">鍏徃鍚嶇О:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_F_Add__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">鍦板潃:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_F_TEL__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">鐢佃瘽:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.PDF_F_FAX__c}</td>
+                        </tr>
+                        <tr>
+                            <td style="font-size: 8pt;">绯荤粺缂栧彿:&nbsp;</td>
+                            <td colspan="3" style="font-size: 8pt;">{!contra.order.Id}</td>
+                        </tr>
+                    </apex:outputPanel>
+                </table>
+            </div>
+    
             <apex:outputPanel layout="none">
-                <div style="page-break-after: always;"/>
+                <div style="page-break-after: always;" />
             </apex:outputPanel>
-            <table width="100%">
-                <tr>
-                    <td style="text-align: center;">闄勪欢</td>
-                </tr>
-                <tr>
-                    <td style="text-align: center;">Appendix</td>
-                </tr>
-            </table>
-            <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'NDT' || Opp.ProductSegment__c = 'ANI' ), 'false', 'true')}" layout="none">
-            <apex:variable value="{!1}" var="cnt1" />
-            <apex:repeat value="{!printRecords}" var="set">
-                <apex:repeat value="{!set.setPage}" var="sp">
-
+    
+            <div class="pdf-page">
+                <table style="font-size: 9pt;">
+                    <tr>
+                        <td style="text-align:left">
+                            1. 鍏圭粡涔板崠鍙屾柟鍚屾剰, 缂旂粨鏈悎鍚屽苟鎸夋湰鍚堝悓涓嬭堪鏉℃,涔版柟鍚屾剰璐叆鍙婂崠鏂瑰悓鎰忓嚭鍞互涓嬭揣鐗�:
+                            <br/> 1. This Contract is made by and between the Buyer and the Seller锛寃hereby the Buyer agrees to buy and
+                            the Seller
+                            <br/> agrees to sell the under-mentioned goods subject to the terms and conditions stipulated below:</td>
+                    </tr>
+                    <tr>
+                        <td style="text-align: right;">(USD)</td>
+                    </tr>
+                </table>
+                <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS' , 'true', 'false')}"
+                    layout="none">
                     <table width="100%" border="1" cellspacing="0" cellpadding="0" style="table-layout:auto;font-size: 9pt;">
                         <tr>
-                            <!-- <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'NDT' || Opp.ProductSegment__c = 'ANI' ), 'false', 'true')}" layout="none"> -->
-                                <td width="50%" style="text-align: center;">EC Code</td>
-                                <td style="text-align: center;">Quantity</td>
-                         <!--    </apex:outputPanel> -->
-                          <!--   <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'NDT' || Opp.ProductSegment__c = 'ANI' ), 'true', 'false')}" layout="none">
-                                <td width="25%" style="text-align: center;">U8 Code</td>
-                                <td width="25%" style="text-align: center;">Part Number</td>
-                                <td width="25%" style="text-align: center;">Quantity</td>
-                                <td style="text-align: center;">Name of Goods</td>
-                            </apex:outputPanel> -->
+                            <td width="5%" style="text-align: center;">搴忓彿</td>
+                            <td style="text-align: center;">璐х墿鍚嶇О鍙婅鏍�</td>
+                            <td width="10%" style="text-align: center;">鍗� 浣�</td>
+                            <td width="10%" style="text-align: center;">鏁� 閲�</td>
+                            <td width="15%" style="text-align: center;">鍗� 浠�</td>
+                            <td width="15%" style="text-align: center;">鎬� 浠�</td>
                         </tr>
-                       <!--  <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'NDT' || Opp.ProductSegment__c = 'ANI' ), 'false', 'true')}" layout="none"> -->
-                            <tr>
-                                <td width="50%" style="text-align: center;">EC缂栫爜</td>
-                                <td style="text-align: center;">鏁伴噺</td>
-                            </tr>
-                       <!--  </apex:outputPanel> -->
-                        <apex:repeat value="{!sp}" var="line">
                         <tr>
-                            <!-- <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'NDT' || Opp.ProductSegment__c = 'ANI' ), 'false', 'true')}" layout="none"> -->
-                                <td style="text-align: center;"><apex:outputText value="{!line.productEC}" /></td>
-                                <td style="text-align: center;"><apex:outputText value="{!line.quantity}" /></td>
-                            <!-- </apex:outputPanel> -->
-                           <!--  <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'NDT' || Opp.ProductSegment__c = 'ANI' ), 'true', 'false')}" layout="none">
-                                <td width="25%" style="text-align: center;"><apex:outputText value="{!line.U8Code}" /></td>
-                                <td width="25%" style="text-align: center;"><apex:outputText value="{!line.productEC}" /></td>
-                                <td width="25%" style="text-align: center;"><apex:outputText value="{!line.quantity}" /></td>
-                                <td style="text-align: center;"><apex:outputText value="{!line.productName}" /></td>
-                            </apex:outputPanel> -->
+                            <td width="5%" style="text-align: center;">Item</td>
+                            <td style="text-align: center;">Goods &amp; Specification</td>
+                            <td width="10%" style="text-align: center;">Unit</td>
+                            <td width="10%" style="text-align: center;">Qty</td>
+                            <td width="15%" style="text-align: center;">Unit Price</td>
+                            <td width="15%" style="text-align: center;">Total Amount</td>
                         </tr>
+        
+                        <apex:repeat value="{!printSetInfo}" var="set">
+                            <tr>
+                                <td style="text-align: center;">
+                                    <apex:outputText value="{!set.No__c}" />
+                                </td>
+                                <td style="text-align: center;">
+                                    <apex:outputText value="{!set.Goods__c}" />
+                                </td>
+                                <td style="text-align: center;">
+                                    <apex:outputText value="{!set.Unit__c}" />
+                                </td>
+                                <td style="text-align: center;">
+                                    <apex:outputText value="{!set.Qty__c}" />
+                                </td>
+                                <td style="text-align: center;">
+                                    <apex:outputText value="{!set.UnitPrice__c}" />
+                                </td>
+                                <td style="text-align: center;">
+                                    <apex:outputText value="{!set.Total_Amount__c}" />
+                                </td>
+                            </tr>
                         </apex:repeat>
                     </table>
-
-                <!-- <apex:outputPanel rendered="{!cnt1 < pageCnt - 1}" layout="none">
-                    <div style="page-break-after: always;"/>
-                </apex:outputPanel> -->
-                <apex:variable value="{!cnt1 + 1}" var="cnt1" />
-
-                </apex:repeat>
-            </apex:repeat>
-        </apex:outputPanel>
+                </apex:outputPanel>
         
-         <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS' , 'false', 'true')}" layout="none" >
-            
-             <table width="100%" border="1" cellspacing="0" cellpadding="0" style="table-layout:auto;font-size: 9pt;">
-                <tr>
-                    <td width="25%" style="text-align: center;">U8 Code</td>
-                    <td width="25%" style="text-align: center;">Part Number</td>
-                    <td width="25%" style="text-align: center;">Quantity</td>
-                    <td style="text-align: center;">Name of Goods</td>
-                </tr>
-                <apex:repeat value="{!ndtList}" var="ndt">
+                <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS' , 'false', 'true')}"
+                    layout="none">
+        
+                    <table width="100%" border="1" cellspacing="0" cellpadding="0" style="table-layout:auto;font-size: 9pt;">
+                        <colgroup>
+                            <col width="5%" />
+                            <col width="10%" />
+                            <col width="23%" />
+                            <col width="5%" />
+                            <col width="8%" />
+                            <col width="10%" />
+                            <col width="8%" />
+                            <col width="11%" />
+                            <col width="10%" />
+                            <col width="10%" />
+                        </colgroup>
+                        <tr>
+                            <td style="text-align: center;">搴忓彿</td>
+                            <td style="text-align: center;">U8鍙风爜</td>
+                            <td style="text-align: center;">浜у搧鍨嬪彿</td>
+                            <td style="text-align: center;">鍗曚綅</td>
+                            <td style="text-align: center;">鏁伴噺</td>
+                            <td style="text-align: center;">鍗曚环</td>
+                            <td style="text-align: center;">鎶樻墸</td>
+                            <td style="text-align: center;">鎶樺悗鍗曚环</td>
+                            <td style="text-align: center;">鎬讳环</td>
+                            <td style="text-align: center;">澶囨敞</td>
+                        </tr>
+                        <tr>
+                            <td style="text-align: center;">Item</td>
+                            <td style="text-align: center;">U8</td>
+                            <td style="text-align: center;">Part Number</td>
+                            <td style="text-align: center;">Unit</td>
+                            <td style="text-align: center;">Quantity</td>
+                            <td style="text-align: center;">Unit Price</td>
+                            <td style="text-align: center;">Discount </td>
+                            <td style="text-align: center;">Discounted Price/Unit</td>
+                            <td style="text-align: center;">Total Amount</td>
+                            <td style="text-align: center;">Remark</td>
+                        </tr>
+        
+                        <apex:repeat value="{!printSetInfo}" var="set">
+                            <tr>
+                                <td style="text-align: center;">
+                                    <apex:outputText value="{!set.No__c}" style="width: 95%" />
+                                </td>
+                                <td style="text-align: center;">
+                                    <apex:outputText value="{!set.U8__c}" style="width: 95%" />
+                                </td>
+                                <td style="text-align: center;">
+                                    <!-- <apex:outputText value="{!set.Goods__c}" style="width: 95%"/> -->
+                                    <c:PDFWbr targetStr="{!set.Goods__c}" />
+                                </td>
+                                <td style="text-align: center;">
+                                    <apex:outputText value="{!set.Unit__c}" style="width: 95%; text-align: right;" />
+                                </td>
+                                <td style="text-align: center;">
+                                    <apex:outputText value="{!set.Qty__c}" style="width: 95%; text-align: right;" />
+                                </td>
+                                <td style="text-align: center;">
+                                    <apex:outputText value="{!set.UnitPrice__c}" style="width: 95%" />
+                                </td>
+                                <td style="text-align: center;">
+                                    <apex:outputText value="{!set.discount__c}" style="width: 95%" />
+                                </td>
+                                <td style="text-align: center;">
+                                    <apex:outputText value="{!set.discountprice__c}" style="width: 95%; text-align: right;" />
+                                </td>
+                                <td style="text-align: center;">
+                                    <apex:outputText value="{!set.Total_AmountNDT__c}" style="width: 95%; text-align: right;" />
+                                </td>
+                                <td style="text-align: center;">
+                                    <!-- <apex:outputText value="{!set.Remark__c}" style="width: 95%"/> -->
+                                    <c:PDFWbr targetStr="{!set.Remark__c}" />
+                                </td>
+                            </tr>
+                        </apex:repeat>
+                    </table>
+                </apex:outputPanel>
+        
+                <table style="font-size: 9pt;" width="100%">
+                    <colgroup>
+                        <col width="30%" />
+                        <col width="60%" />
+                        <col width="10%" />
+                    </colgroup>
+                    <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS' , 'true', 'false')}"
+                        layout="none">
+                        <tr>
+                            <td>鎬婚噾棰濓細&nbsp;</td>
+                            <!-- <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'BS' && Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}" layout="none"> -->
+                            <td>US$&nbsp;
+                                <apex:outputText value="{0, number, ##0.00}">
+                                    <apex:param value="{!TotalMoney}" />
+                                </apex:outputText>
+                            </td>
+                            <!-- </apex:outputPanel> -->
+                            <!-- <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS') &&Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}" layout="none">
+                            <td>{!contra.order.CustomerContractPrice__c}</td>
+                            </apex:outputPanel> -->
+                        </tr>
+                        <tr>
+                            <td>Total Value:&nbsp;</td>
+                            <td>{!contra.order.Shipment_Term_D__c}
+                                <u>&nbsp;&nbsp;&nbsp;&nbsp;{!contra.order.PDF_Shipment_Term2_Text__c}&nbsp;&nbsp;&nbsp;&nbsp;</u>
+                            </td>
+                        </tr>
+                    </apex:outputPanel>
+                    <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS' , 'false', 'true')}"
+                        layout="none">
+                        <tr>
+                            <td>杩愪繚璐�/Shipping Charge锛�&nbsp;</td>
+                            <td style="text-indent: 45px">US$&nbsp;
+                                <apex:outputText value="{0,number,##0.00}">
+                                    <apex:param value="{!TrAndPre}" />
+                                </apex:outputText>
+                            </td>
+                        </tr>
+                        <tr>
+                            <td>鎬婚噾棰濓細&nbsp;</td>
+                            <!-- <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'BS' && Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}" layout="none"> -->
+                            <td style="text-indent: 45px;">US$&nbsp;
+                                <apex:outputText value="{0, number, ##0.00}">
+                                    <apex:param value="{!TotalMoney}" />
+                                </apex:outputText>
+                            </td>
+                            <!-- </apex:outputPanel> -->
+                            <!-- <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS') &&Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}" layout="none">
+                            <td>{!contra.order.CustomerContractPrice__c}</td>
+                            </apex:outputPanel> -->
+                        </tr>
+                        <tr>
+                            <td>Total Value:&nbsp;</td>
+                            <td>{!contra.order.Shipment_Term_D__c}
+                                <u>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</u>{!contra.order.PDF_Shipment_Term2_Text__c}&nbsp;&nbsp;&nbsp;&nbsp;
+                                </td>
+                        </tr>
+                    </apex:outputPanel>
                     <tr>
-                        
-                        <td style="text-align: center;"><apex:outputText value="{!ndt.U8_Code__c}" style="width: 95%"/></td>
-                        <td style="text-align: center;"><apex:outputText value="{!ndt.Part_Number__c}" style="width: 95%"/></td>
-                        <td style="text-align: center;"><apex:outputText value="{!ndt.Quantity__c}" style="width: 95%; text-align: center;"/></td>
-                        <td style="text-align: center;"><apex:outputText value="{!ndt.Name_of_Goods__c}" style="width: 95%"/></td>
+                        <td>Say: U.S. DOLLARS:&nbsp;</td>
+                        <!-- <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'BS' && Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}" layout="none"> -->
+                        <td>{!contra.order.Total_price_E__c}</td>
+                        <!-- </apex:outputPanel> -->
+                        <!-- <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS') &&Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}" layout="none">
+                        <td>{!contra.order.CustomerContractPrice__c}</td>
+                        </apex:outputPanel> -->
                     </tr>
-                </apex:repeat>
-            </table>
-        </apex:outputPanel> 
+                    <tr>
+                        <td colspan="3">
+                            2. 鐢熶骇鍥藉埆鍙婂埗閫犲巶鍟�:&nbsp;{!contra.order.PDF_Bi_manufacturers__c}
+                            <br/> 2. COUNTRY OF ORIGIN OF GOODS AND MANUFACTURERS:&nbsp;{!contra.order.PDF_Bi_manufacturersEn__c}
+                            <br/>
+                        </td>
+                    </tr>
+                    <tr>
+                        <td colspan="3">
+                            3. 鍖呰:
+                            <br/> 鍟嗗搧鎳変互鍧氬浐鐨勫嚭鍙g焊鐨鎴栨湪绠卞寘瑁咃紝閫備簬闀块�旂┖杩愩�佸ぉ姘旀垨姘斿�欏彉鍖栥�侀槻娼�佹姉闇囥�侀槻閿堝強澶氭鎼繍銆傜敱浜庡寘瑁呬笉鑹�屼骇鐢熺殑
+                            <br/> 鐩存帴鎹熷け, 鐢卞崠鏂硅礋璐c��
+                            <br/> 3. PACKING:
+                            <br/> The goods should be packed in strong export carton box or wooden box, which is suitable for long haul
+                            air transportation and
+                            <br/> change of weather or climate, well protected against moisture, shocks, rust and withstand numerous transits.
+                            All direct losses
+                            <br/> incurred on account of improper packing shall be borne by the Seller.
+                            <br/>
+                        </td>
+                    </tr>
+                    <tr>
+                        <td colspan="3">
+                            4.杩愯緭鏍囪瘑锛�
+                            <br/> 鍗栨柟椤诲湪姣忎欢璐х墿鐨勫寘瑁呭琛ㄤ笂浠ヤ笉瑜壊鐨勯鏂欐爣鏄庝欢鍙枫�佹瘺閲嶃�佸昂鐮佸強涓嬪垪瀛楀彞:
+                            <br/> 鈥濆嬁浣垮彈娼�� 銆佲�滃皬蹇冭交鏀锯�濄�� 鈥滄闈㈠悜涓娾�濈瓑瀛楁牱鍙婁笅鍒楀敍澶达細
+                            <br/> 4. SHIPPING MARK:
+                            <br/> The Seller shall mark on the surface of each package with fadeless paint, the package number锛実ross weight锛宮easurement
+                            <br/> and the following wordings锛�
+                            <br/> 鈥淜EEP AWAY FROM MOISTURE鈥濓紝鈥淗ANDLE WITH CARE鈥� 锛屸�淭HIS SIDE UP鈥� etc. And the below shipping mark:
+                            <br/>
+                            <div>
+                                <apex:outputField value="{!contra.order.PDF_Sp_SHIPPINGMARK__c}" />
+                            </div>
+                        </td>
+                    </tr>
+                    <tr>
+                        <td colspan="3">
+                            5.瑁呰繍鏉℃: {!contra.order.PDF_Sp_ShippingTerms__c}
+                            <br/> 5.TERMS OF SHIPMENT: {!contra.ShippingTerms}
+                            <br/>
+                        </td>
+                    </tr>
+                    <tr>
+                        <td colspan="2">
+                            6.浜よ揣鏈�:
+                            <apex:outputField value="{!contra.order.DeliveryTimeText__c}" />
+                            <br/> 6.THE DELIVERY TIME:
+                            <apex:outputField value="{!contra.order.DeliveryTimeTextEn__c}" />
+                            <!-- <br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;by
+                            the Buyer. -->
+                            <br/>
+                        </td>
+                    </tr>
+                    <tr>
+                        <td colspan="3">
+                            7.鍗栨柟搴斾繚鐣欒揣鐗╁拰闆堕儴浠剁殑浜ф潈鍜屾墍鏈夋潈锛岃绛夋潈鍒╁彧鏈夊湪鍏ㄩ鏀跺埌璐ф鏃舵柟鑷姩杞Щ鍒颁拱鏂广��
+                            <br/> 7.The Seller shall maintain title and ownership of the goods and spare parts thereof which shall automatically
+                            pass to the Buyer
+                            <br/> only on receipt of the full payment.
+                            <br/>
+                        </td>
+                    </tr>
+        
+                    <tr>
+                        <td colspan="3">
+                            8. 瑁呰繍鍙e哺锛�&nbsp;{!contra.order.PDF_Sp_LOADING__c}
+                            <br/> 8. PORT OF LOADING:&nbsp;{!contra.order.PDF_Sp_LOADING_E__c}
+                            <br/>
+                        </td>
+                    </tr>
+                    <tr>
+                        <td colspan="3">
+                            9. 鐩殑鍙e哺锛�&nbsp;{!contra.order.PDF_Sp_DestinationPort__c}
+                            <br/> 9. PORT OF DESTINATION:&nbsp;{!contra.order.PDF_Sp_DestinationPort_E__c}
+                            <br/>
+                        </td>
+                    </tr>
+        
+                    <tr>
+                        <td colspan="3">
+                            10. 淇濋櫓锛�
+                            <br/> 鐢卞崠鏂规寜鍙戠エ閲戦鐨�110%鎶曚繚鍏ㄩ櫓鍙婃垬浜夐櫓锛屽苟璇存槑鍙互鍦ㄤ腑鍥藉鍐呯储璧旓紝绌虹櫧鑳屼功銆�
+                            <br/> 10. INSURANCE:
+                            <br/> To be covered by the Seller for 110% of the invoice value covering all risks and war risk, indicating
+                            claims payable in China,
+                            <br/> in currency of the draft, blank endorsed.
+                        </td>
+                    </tr>
+        
+                    <tr>
+                        <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>
+                <!--<apex:outputPanel layout="none">
+                        <div style="page-break-after: always;"/>
+                    </apex:outputPanel>-->
+                <table style="font-size: 9pt;">
+                    <tr>
+                        <td>
+                            12. 鎵�闇�鐨勬枃浠�:
+                            <br/>
+                            <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS'|| Opp.ProductSegment__c = 'NDT' || Opp.ProductSegment__c = 'ANI') && Opp.TradeType__c = 'Taxation', 'true', 'false')}"
+                                layout="none">
+                                1)聽{!contra.order.PDF_Bi_Quality__c}浠界敱鍗栨柟鍑哄叿鐨勮川閲忓拰鏁伴噺璇佹槑;
+                                <br/> 2) {!contra.order.PDF_Bi_Origin__c}浠藉崠鏂瑰嚭鍏风殑鍘熶骇鍦拌瘉鏄�;鍙�
+                                <br/> 3) {!contra.order.PDF_Bi_Non_Wooden__c}浠介潪鏈ㄨ川鍖呰璇佹槑銆�
+                                <br/>
+                            </apex:outputPanel>
+                            <apex:outputPanel rendered="{!IF(Opp.TradeType__c = 'Tax Exemption', 'true', 'false')}" layout="none">
+                                璇峰湪鍙戣揣鍚巤!contra.order.PDF_Bi_q1__c}涓伐浣滄棩鍐呭皢浠ヤ笅鎵�闇�鐨勬枃浠朵紶鐪�/鐢甸偖缁欎拱鏂�;
+                                <br/> 1) 绌鸿繍鎻愬崟姝f湰{!contra.order.PDF_Bi_airway__c}浠斤紝鍓湰{!contra.order.PDF_Bi_copyairway__c}浠姐�傚苟娉ㄦ槑鈥滆繍璐瑰凡浠樷��;
+                                <br/> 2) 鍙戠エ{!contra.order.PDF_Bi_invoice__c}浠�, 娉ㄦ槑鍚堝悓鍙峰拰杩愯緭鏍囪瘑(濡傛湁涓�涓互涓婅繍杈撴爣璇�, 搴斿垎鍒嚭鍏峰彂绁�)鍙婂悎鍚屼腑鍏跺畠缁嗚妭;
+                                <br/> 3) 濡備繚闄╃敱鍗栨柟璐熻矗鐨勬儏鍐典笅锛屽崠鏂归渶鎻愪緵淇濋櫓鍗晎!contra.order.PDF_Bi_Insurance__c}濂楋紝鎶曚竴鍒囬櫓锛� 鎸夊彂绁ㄩ噾棰�110锛呮姇淇濅竴鍒囬櫓;
+                                <br/> 4) {!contra.order.PDF_Bi_Packing__c}浠界敱鍗栨柟鍑哄叿鐨勮绠卞崟;
+                                <br/> 5)聽{!contra.order.PDF_Bi_Quality__c}浠界敱鍗栨柟鍑哄叿鐨勮川閲忓拰鏁伴噺璇佹槑;
+                                <br/> 6) {!contra.order.PDF_Bi_Origin__c}浠藉崠鏂瑰嚭鍏风殑鍘熶骇鍦拌瘉鏄�;鍙�
+                                <br/> 7) {!contra.order.PDF_Bi_Non_Wooden__c}浠介潪鏈ㄨ川鍖呰璇佹槑銆�
+                                <br/>
+                                <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'BS' || Opp.ProductSegment__c = 'ANI' ||Opp.ProductSegment__c = 'NDT', 'true', 'false')}"
+                                    layout="none">
+                                    8) 鎵�鏈夊崟鎹� {!contra.order.PDF_Bi_AllBill__c}
+                                    <br/>
+                                </apex:outputPanel>
+                                12. DOCUMENTS REQUIRED (please don鈥檛 attach any documents of contract value with the shipment):
+                                <br/> Please fax/e-mail the below required documents to the Buyer within {!contra.order.PDF_Bi_q1__c}
+                                working days after shipment;
+                                <br/> 1) {!contra.order.PDF_Bi_airway__c} original and {!contra.order.PDF_Bi_copyairway__c} copy of clean
+                                air waybills marked 鈥渇reight prepaid鈥�;
+                                <br/> 2) Invoice in {!contra.order.PDF_Bi_invoice__c} copies indicating contract number and shipping mark
+                                (in case of more than one shipping mark,the invoice shall be
+                                <br/> issued separately), made out in details as per relative contract;
+                                <br/> 3) Insurance Policy/Certificate in one original and {!contra.order.PDF_Bi_Insurance__c} copies for
+                                110% of the invoice value if the insurance is bought by the Seller;
+                                <br/> 4) Packing list in {!contra.order.PDF_Bi_Packing__c} copies issued by the Seller;
+                                <br/> 5)聽Certificate of Quality and Quantity in {!contra.order.PDF_Bi_Quality__c} copies issued by the
+                                Seller;
+                                <br/> 6) Certificate of Origin in {!contra.order.PDF_Bi_Origin__c} copies issued by the Seller; and
+                                <br/> 7) {!contra.order.PDF_Bi_Non_Wooden__c} Certificate of Non-wood material packing.
+                                <br/>
+                                <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'BS', 'true', 'false')}" layout="none">
+                                    8) All the documents {!contra.AllBills} cargo
+                                    <br/>
+                                </apex:outputPanel>
+                                <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'NDT' || Opp.ProductSegment__c = 'ANI', 'true', 'false')}" layout="none">
+                                    8) All the documents not with cargo
+                                </apex:outputPanel>
+                            </apex:outputPanel>
+                        </td>
+                    </tr>
+        
+                    <tr>
+                        <td>
+                            13. 瑁呰繍閫氱煡锛�
+                            <br/> 鍗栨柟搴斾簬鍙戣揣鍥涘崄鍏紙48锛夊皬鏃跺唴浠ヤ紶鐪熸垨鐢甸偖褰㈠紡鎻愪緵鍙戣揣閫氱煡鍛婄煡涔版柟鍚堝悓鍙枫�佽揣鐗╁悕绉般�佸疄瑁呮暟閲忋�侀噸閲忋�佷欢鏁般�佸彂绁ㄤ环
+                            <br/> 鍊笺�佽埅鐝彿鍙婃棩鏈熴�佺┖杩愬崟鍙风瓑
+                            <br/> 13. SHIPPING ADVICE:
+                            <br/> The Seller, within forty eight (48) hours after shipment is made, shall notify the Buyer of the contract
+                            no., name ofgoods,
+                            <br/> quantity, weight loaded, number of packages, invoice value, flight number and date, air waybill number
+                            etc. by fax or email.
+                            <br/>
+                        </td>
+                    </tr>
+                    <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'BS' || Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI', 'true', 'false')}"
+                        layout="none">
+                        <tr>
+                            <td>
+                                14. 璐ㄩ噺淇濊瘉锛�
+                                <br/> A. 鍗栨柟淇濊瘉鏈悎鍚屼箣璐х墿鏄敤鏈�濂界殑鏉愭枡浠ヤ笂绛夌殑宸ヨ壓鍒堕�狅紝宕柊鍙婃湭鐢ㄨ繃鐨勶紝鍏惰川閲忎笌瑙勬牸涓�鍒囨柟闈笌鏈悎鍚岀殑瑙勫畾鐩哥銆�
+                                <br/> 淇濊瘉鏈熶负鏈�缁堥獙鏀舵姤鍛婄缃蹭箣鏃ヨ捣鐨剓!contra.QAeng}浣嗕笉瓒呰繃鍙戣揣鏃ュ悗鐨剓!contra.QAeng4}銆�
+                                <br/> 鍦ㄤ繚璇佹湡鍐咃紝濡備拱鏂规寜鐓ц揣鐗╀娇鐢ㄨ鏄庝功鍦ㄦ甯告潯浠朵笅浣跨敤锛岀敱浜庡崠鏂硅璁℃垨鍒堕�犱笂鐨勭己闄疯�屽彂鐢熺殑鎹熷潖锛岀敱鍗栨柟璐熻矗銆�
+                                <br/> 鍦ㄤ繚璇佹湡鍐呭鏋滆揣鐗╃殑閲嶈闆堕儴浠堕渶瑕佹洿鎹紝鍒欒闆堕儴浠剁殑淇濊瘉鏈熶粠鏇存崲涔嬫棩璧烽噸鏂拌绠楋紝澶栬喘浠朵互鍘熶緵搴斿晢鐨勪繚璇佹湡涓哄噯銆�
+                                <br/> B. 濡傛灉鍙屾柟鍏卞悓鍟嗗畾骞剁‘璁ょ殑渚涜揣鑼冨洿涓湁閬楁紡鐨勯儴浠跺拰璁惧骞舵湁鍙兘瀵艰嚧鏁村璐х墿涓嶈兘鎸夋椂楠屾敹鎶曚骇鎴栧奖鍝嶇敓浜э紝鍗栨柟
+                                <br/> 鏈変箟鍔″拰璐d换鍦ㄥ埗閫犺繃绋嬩腑涓庝拱鏂瑰晢閲忓仛鍑虹浉搴旂殑璋冩暣鍜岃ˉ鏁戯紝骞朵繚璇佹暣濂椾互涓婅揣鐗╄兘閫氳繃楠屾敹銆�
+                                <br/> C. 鏈悎鍚屼腑鎵�杩扮殑淇濊瘉鏄�傜敤浜庢牴鎹悎鍚岃揣鐗╂彁渚涚殑鐨勫敮涓�淇濊瘉銆傛湰淇濊瘉鏉℃鍙栦唬骞舵帓闄ゆ硶寰嬨�佹儻渚嬨�佹硶浠ゆ垨鍏朵粬瑙勫畾鏂藉姞
+                                <br/> 鎴栭粯绀虹殑浠讳綍鍏朵粬鎷呬繚銆佷繚璇佸拰/鎴栨潯浠跺拰/鎴栧洜姝よ�屼骇鐢熺殑璐d换銆傚浜庝换浣曟湁缂洪櫡鐨勬垨涓嶇鍚堟爣鍑嗙殑璐х墿锛屼拱鏂规墍閫傜敤鐨勫彧鏈�
+                                <br/> 鏈潯鐗瑰埆瑙勫畾鐨勬晳娴庛��
+                                <br/> 14. WARRANTY锛�
+                                <br/> A锛嶵he Seller warrant that the goods hereof is made of the best materials with first class workmanship,
+                                brand new and
+                                <br/> unused and complies in all respects with the quality and specification stipulated in this Contract.
+                                <br/> The warranty period shall be {!contra.QAeng3}counting from the date on which the goods have been
+                                accepted by the end user
+                                <br/> but limited to a maximum of {!contra.QAeng2} from the date of shipment.
+                                <br/> Within the warranty period, the Seller shall be liable for the damage incurred on account of the
+                                defects attributable to the design
+                                <br/> and emerging during the course of manufacturing of the Seller鈥檚 side if the Buyer operate under
+                                regular conditions in accordance
+                                <br/> with the instruction to the equipments or the machines. Within the warranty period, if some important
+                                units and parts of the goods
+                                <br/> need to change, the warranty period of the new units and parts should be counted from the changing
+                                date. If the new units and
+                                <br/> parts are bought from the third party, the warranty period of the new units and parts should be
+                                counted according to the original suppliers.
+                                <br/> B锛嶪n case there鈥檚 any missing parts &amp; machines which are out of the agreed scope of supply and
+                                most possibly would influence
+                                <br/> the commissioning or production on time, the Seller has the obligation and responsibility to discuss
+                                with Buyer to make concerned
+                                <br/> adjustments and amendments to warrant the acceptance of the goods.
+                                <br/> C. The warranty set out in this Contract is the only warranty applicable to the goods supplied pursuant
+                                to this Contract. This
+                                <br/> warranty replaces and excludes any other guarantee, warranty and/or condition imposed or implied
+                                by law, custom, statute or
+                                <br/> otherwise and/or resulting liabilities. Only those remedies specifically set out in this clause
+                                are available to the Buyer
+                                <br/> in respect of any defective or non-conforming goods.
+                                <br/>
+                            </td>
+                        </tr>
+                    </apex:outputPanel>
+                    <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'NDT' || Opp.ProductSegment__c = 'ANI', 'true', 'false')}" layout="none">
+                        <tr>
+                            <td>
+                                14. 璐ㄩ噺淇濊瘉锛�
+                                <br/> A. 鍗栨柟淇濊瘉鏈悎鍚屼箣璐х墿鏄敤鏈�濂界殑鏉愭枡浠ヤ笂绛夌殑宸ヨ壓鍒堕�狅紝宕柊鍙婃湭鐢ㄨ繃鐨勶紝鍏惰川閲忎笌瑙勬牸涓�鍒囨柟闈笌鏈悎鍚岀殑瑙勫畾鐩哥銆�
+                                <br/> 淇濊瘉鏈熼厤浠朵负3涓湀锛屼富鏈轰负1骞磋嚦3骞达紝鏍规嵁浜у搧鍏蜂綋鍨嬪彿纭畾銆�
+                                <br/> 鍦ㄤ繚璇佹湡鍐咃紝濡備拱鏂规寜鐓ц揣鐗╀娇鐢ㄨ鏄庝功鍦ㄦ甯告潯浠朵笅浣跨敤锛岀敱浜庡崠鏂硅璁℃垨鍒堕�犱笂鐨勭己闄疯�屽彂鐢熺殑鎹熷潖锛岀敱鍗栨柟璐熻矗銆�
+                                <br/> 鍦ㄤ繚璇佹湡鍐呭鏋滆揣鐗╃殑閲嶈闆堕儴浠堕渶瑕佹洿鎹紝鍒欒闆堕儴浠剁殑淇濊瘉鏈熶粠鏇存崲涔嬫棩璧烽噸鏂拌绠楋紝澶栬喘浠朵互鍘熶緵搴斿晢鐨勪繚璇佹湡涓哄噯銆�
+                                <br/> B. 濡傛灉鍙屾柟鍏卞悓鍟嗗畾骞剁‘璁ょ殑渚涜揣鑼冨洿涓湁閬楁紡鐨勯儴浠跺拰璁惧骞舵湁鍙兘瀵艰嚧鏁村璐х墿涓嶈兘鎸夋椂楠屾敹鎶曚骇鎴栧奖鍝嶇敓浜э紝鍗栨柟
+                                <br/> 鏈変箟鍔″拰璐d换鍦ㄥ埗閫犺繃绋嬩腑涓庝拱鏂瑰晢閲忓仛鍑虹浉搴旂殑璋冩暣鍜岃ˉ鏁戯紝骞朵繚璇佹暣濂椾互涓婅揣鐗╄兘閫氳繃楠屾敹銆�
+                                <br/> C. 鏈悎鍚屼腑鎵�杩扮殑淇濊瘉鏄�傜敤浜庢牴鎹悎鍚岃揣鐗╂彁渚涚殑鐨勫敮涓�淇濊瘉銆傛湰淇濊瘉鏉℃鍙栦唬骞舵帓闄ゆ硶寰嬨�佹儻渚嬨�佹硶浠ゆ垨鍏朵粬瑙勫畾鏂藉姞
+                                <br/> 鎴栭粯绀虹殑浠讳綍鍏朵粬鎷呬繚銆佷繚璇佸拰/鎴栨潯浠跺拰/鎴栧洜姝よ�屼骇鐢熺殑璐d换銆傚浜庝换浣曟湁缂洪櫡鐨勬垨涓嶇鍚堟爣鍑嗙殑璐х墿锛屼拱鏂规墍閫傜敤鐨勫彧鏈�
+                                <br/> 鏈潯鐗瑰埆瑙勫畾鐨勬晳娴庛��
+                                <br/> 14. WARRANTY锛�
+                                <br/> A锛嶵he Seller warrant that the goods hereof is made of the best materials with first class workmanship,
+                                brand new and unused and
+                                <br/> complies in all respects with the quality and specification stipulated in this Contract.
+                                <br/> The warranty period shall be three months for accessory, 1-3 years for instrument.
+                                <br/> counting from the date on which the goods have been accepted by the end user but limited to a maximum
+                                of
+                                <br/> {!contra.QAeng2} from the date of shipment.
+                                <br/> Within the warranty period, the Seller shall be liable for the damage incurred on account of the
+                                defects attributable to the design
+                                <br/> and emerging during the course of manufacturing of the Seller鈥檚 side if the Buyer operate under
+                                regular conditions in accordance
+                                <br/> with the instruction to the equipments or the machines. Within the warranty period, if some important
+                                units and parts of the goods
+                                <br/> need to change, the warranty period of the new units and parts should be counted from the changing
+                                date. If the new units and
+                                <br/> parts are bought from the third party, the warranty period of the new units and parts should be
+                                counted according to the original suppliers.
+                                <br/> B锛嶪n case there鈥檚 any missing parts &amp; machines which are out of the agreed scope of supply and
+                                most possibly would influence
+                                <br/> the commissioning or production on time, the Seller has the obligation and responsibility to discuss
+                                with Buyer to make concerned
+                                <br/> adjustments and amendments to warrant the acceptance of the goods.
+                                <br/> C. The warranty set out in this Contract is the only warranty applicable to the goods supplied pursuant
+                                to this Contract. This
+                                <br/> warranty replaces and excludes any other guarantee, warranty and/or condition imposed or implied
+                                by law, custom, statute or
+                                <br/> otherwise and/or resulting liabilities. Only those remedies specifically set out in this clause
+                                are available to the Buyer
+                                <br/> in respect of any defective or non-conforming goods.
+                                <br/>
+                            </td>
+                        </tr>
+                    </apex:outputPanel>
+                </table>
+                <!--<apex:outputPanel layout="none">
+                    <div style="page-break-after: always;"/>
+                </apex:outputPanel>-->
+                <table style="font-size: 9pt;">
+                    <tr>
+                        <td>
+                            15. 妫�楠屼笌绱㈣禂锛�
+                            <br/> 锛�1锛変氦璐т箣鍓嶏紝鍒堕�犲巶搴斿璐х墿鐨勮川閲忚鏍笺�佹�ц兘鍜屾暟閲忚繘琛岀簿纭拰鍏ㄩ潰鐨勬鏌ュ苟鍑哄叿璇佹槑璐х墿涓庢湰鍚堝悓瑙勫畾鐩哥鐨勮瘉鏄庝功銆�
+                            <br/> 锛�2锛夎揣鐗╁埌鐩殑娓垨鐩殑鍦板悗90澶╁唴锛屼互杈冩棭鑰呬负鍑嗭紝涔版柟鎳夊悜涓浗鍑哄叆澧冩楠屾鐤眬鐢宠瀵规湁鍏宠揣鐗╃殑璐ㄩ噺銆佽鏍煎拰鏁伴噺杩�
+                            <br/> 琛屽垵姝ユ楠屽苟鐢卞叾鍑哄叿妫�楠屾姤鍛娿�傚涓浗鍑哄叆澧冩楠屾鐤眬鍙戠幇鍒拌揣鐗╃殑瑙勬牸鎴�/鍜屾暟閲忎笌鏈悎鍚岃瀹氫笉绗︼紝闄ゅ簲鐢变繚闄╁叕鍙告垨
+                            <br/> 鑸硅繍鍏徃璐熻矗澶栵紝涔版柟鏈夋潈鎷掓敹璐х墿鎴栧悜鍗栨柟鎻愬嚭璧斿伩銆�
+                            <br/> 锛�3锛夊璐х墿鐨勮川閲忓拰瑙勬牸涓庢湰鍚堝悓涓嶇锛屾垨鍦ㄦ湰鍚堝悓绗�13鏉¤瀹氱殑淇濊瘉鏈熷唴璇佹槑璐х墿鏈夌己闄凤紝涔版柟搴旂敵璇蜂腑鍥藉嚭鍏ュ妫�楠屾鐤�
+                            <br/> 灞�妫�楠岋紝骞舵湁鏉冩牴鎹妫�楠屾姤鍛婂悜鍗栨柟鎻愬嚭绱㈣禂銆�
+                            <br/> 锛�4锛夊崠鏂瑰涓庢湰鍚堝悓涓嶇閮ㄥ垎锛屽簲鍦ㄥ悎鐞嗙殑鏈熼檺鍐呮棤鍋挎崲璐ф垨琛ュ彂鐭己鎴栬船浣庤揣浠凤紝骞惰礋鎷呯敱姝や骇鐢熺殑涓�鍒囪垂鐢ㄥ拰鎹熷け锛屽寘鎷細
+                            <br/> 鍒╂伅銆侀摱琛岃垂鐢ㄣ�佽繍璐广�佷繚闄╄垂銆佹楠岃垂銆佷粨鍌ㄣ�佺爜澶磋鍗歌垂浠ュ強鍏朵粬涓�鍒囧繀瑕佽垂鐢ㄣ��
+                            <br/> 15. INSPECTION AND CLAIMS:
+                            <br/> 锛�1锛塗he manufacturer shall锛宐efore making delivery锛宮ake a precise and comprehensive inspection of the
+                            goods with regard
+                            <br/> to the quality, specification and quantity and issue certificates certifying that the goods are in conformity
+                            with the stipulations of
+                            <br/> the Contract.
+                            <br/> 锛�2锛塛ithin ninety (90) days after arrival of the goods at the port of destination or the place of destination,
+                            whichever is the earlier,
+                            <br/> the Buyer shall apply to the China Entry &amp; Exit Inspection &amp; Quarantine Bureau (CIQ) for a preliminary
+                            inspection in respect of the
+                            <br/> quality, specification and quantity of the goods and a survey report shall be issued thereof. If discrepancies
+                            are found by the CIQ
+                            <br/> regarding specifications or the quantity or both, except when the responsibilities lie with Insurance
+                            Company or Shipping Company,
+                            <br/> the Buyer has the right to reject the goods or to claim against the Seller.
+                            <br/> 锛�3锛塖hould the quality and specification of the goods not in conformity with the Contract or should the
+                            goods be proved defective
+                            <br/> during the warranty period stipulated in Clause 13, the Buyer shall arrange for a survey to be carried
+                            out by the CIQ and have the
+                            <br/> right to claim against the Seller on the strength of the survey report.
+                            <br/> 锛�4锛塅or any goods which are not in conformity with the Contract, the Seller锛寃ithin a reasonable time锛宻hall
+                            make replacement
+                            <br/>free of charge锛宒eliver the short ones or devalue the goods and bear all the charges and losing incurred
+                            thereof. The charges
+                            <br/>include interest, banking charges, freight, premium, inspecting charges, storing charges, discharging
+                            charges and other charges
+                            <br/>incurred since the goods are not in conformity with the contract.
+                        </td>
+                    </tr>
+                    <!-- </table>
+                    <apex:outputPanel layout="none">
+                        <div style="page-break-after: always;"/>
+                    </apex:outputPanel> 
+                    <table style="font-size: 9pt;">-->
+                    <tr>
+                        <td>
+                            16. 浜哄姏涓嶅彲鎶楁嫆浜嬫晠锛�
+                            <br/> 鐢变簬鍦ㄧ敓浜с�佽杩愯繃绋嬩腑鍙戠敓鐨勪汉鍔涗笉鍙姉鎷掍簨鏁咃紙濡傦細鎴樹簤銆佷弗閲嶇伀鐏俱�佹按鐏俱�佸彴椋庛�佸湴闇囦互鍙婂弻鏂瑰潎璁や负灞炰簬浜轰笉鍙姉鎷掍簨鏁咃級
+                            <br/> 鑰屼娇寰楀崠鏂瑰欢鏈熻鑸规垨涓嶈兘浜よ揣锛屽崠鏂瑰彲涓嶈礋鎷呰矗浠汇�備絾鏄崠鏂瑰簲鍦ㄤ笂杩颁簨鏁呭彂鐢熷悗绔嬪嵆浼犵湡閫氱煡涔版柟锛屽苟鍦ㄤ紶鐪熷悗14澶╁唴锛屾彁渚�
+                            <br/> 涓嶅彲鎶楁嫆浜嬫晠鍙戠敓鍦板煙鐨勪富绠℃斂搴滃綋灞�鎴栧晢浼氬嚭鍏风殑璇佷欢锛岀┖閭氦涔版柟浠ヨ祫璇佹槑銆傚湪姝ゆ儏鍐典笅锛屽崠鏂逛粛椤婚噰鍙栦竴鍒囧繀瑕佹帾鏂藉姞閫熻揣
+                            <br/> 鐗╃殑鍙戣繍銆傚涓嶅彲鎶楁嫆浜嬫晠寤剁画90澶╀互涓婏紝浠讳綍涓�鏂规湁鏉冨悜鍙︿竴鏂瑰彂鍑轰功闈㈤�氱煡涓鏈悎鍚屻��
+                            <br/> 16. FORCE MAJEURE:
+                            <br/> The Seller shall not be held responsible for the delay in shipment or non-delivery of the goods due
+                            to force majeure, such as war,
+                            <br/> serious fire, flood, typhoon and earthquake occur during the process of manufacturing or in the course
+                            of loading or transit. The
+                            <br/> Seller shall immediately advise the Buyer by fax of the occurrence mentioned above and within fourteen
+                            (14) days thereafter, the
+                            <br/> Seller shall send by airmail to the Buyer for their acceptance a certificate of the accident issued
+                            by the competent government
+                            <br/> authorities or the Chamber of Commerce where the accident occurs as evidence thereof. Under such circumstance
+                            the Seller,
+                            <br/> however, are still under the obligation to take all necessary measures to hasten the delivery of the
+                            goods. In case the accident lasts
+                            <br/> for more than ninety (90) days, both parties shall have the right to terminate this Contract by written
+                            notice to the other party.
+                        </td>
+                    </tr>
+                    <tr>
+                        <td>
+                            17. 杩熶氦璐х墿鍙婅繚绾﹂噾锛�
+                            <br/> 闄ゆ湰鍚堝悓绗�15鏉℃墍瑙勫畾鐨勪笉鍙姉鎷掍簨鏁呭師鍥犲锛屽鍗栨柟涓嶈兘鎸夊悎鍚岃瀹氬噯鏃朵氦璐э紝鍦ㄥ崠鏂瑰悓鎰忔壙鎷�
+                            <br/> 杩熶氦杩濈害閲戝苟鐢变粯娆鹃妧琛屽湪鏀粯璐ф鏃舵墸闄ょ殑鏉′欢涓嬶紝涔版柟搴斿悓鎰忓欢鏈熶氦璐с�備絾杩熶氦杩濈害閲戞�婚涓�
+                            <br/> 鎳夎秴杩囧悎鍚屾�婚鐨�5%銆傝繜浜よ繚绾﹂噾鐜囦负姣忎竷(7)澶╁崈鍒嗕箣浜旓紝涓嶈冻涓�(7)澶╄�呭簲鎸変竷(7)澶╄绠椼��
+                            <br/>濡傚欢鏈熶氦璐ц秴杩囨湰鍚堝悓鎵�瑙勫畾鐨勮杩愭湡鍗�(10)鍛紝涔版柟鏈夋潈鍚戝崠鏂瑰彂鍑轰功闈㈤�氱煡涓鏈悎鍚屻��
+                            <br/> 17. LATE DELIVERY AND LIQUIDATED DAMAGES:
+                            <br/> Should the Seller fail to make delivery on time as stipulated in the Contract with the exception of
+                            force majeure causes specified in
+                            <br/> Clause 15 of this Contract, the Buyer shall agree to postpone the delivery on the condition that the
+                            Seller agree to pay a liquidated
+                            <br/> damages which shall be deducted by the paying bank from the payment under negotiation. The liquidated
+                            damages, however, shall
+                            <br/> not exceed five percent (5%) of the total value of the goods involved in the late delivery. The rate
+                            of liquidated damages is charge
+                            <br/> at one half percent (0.5%) for every seven (7) days, odd days less than seven (7) days should count
+                            as seven (7) days. In case the
+                            <br/> late delivery exceed ten (10) weeks of the time of shipment stipulated in the Contract, the Buyer shall
+                            have the right to terminate
+                            <br/> this Contract by written notice to the Seller.
+                            <br/>
+                        </td>
+                    </tr>
+                    <tr>
+                        <td>
+                            18. 涓撳埄鏉冿細
+                            <br/> 鍗栨柟蹇呴』淇濋殰涔版柟鍦ㄤ腑鍥戒娇鐢ㄥ叾璐х墿鍙婂叾浠讳綍閮ㄥ垎涓嶅彈鍒扮涓夋柟鍏充簬渚电姱涓撳埄鏉冦�佸晢鏍囨潈鎴栧伐涓氳璁℃潈鐨勬寚鎺с�備换浣曠涓夋柟濡傛灉鎻愬嚭渚�
+                            <br/> 鏉冩寚鎺э紝鍗栨柟椤讳笌绗笁鏂逛氦娑夊苟鎵挎媴鐢辨寮曡捣鐨勪竴鍒囨硶寰嬭矗浠诲拰璐圭敤銆�
+                            <br/> 18. PATENT RIGHTS
+                            <br/> The Seller shall indemnify the Buyer against all third-party claims of infringement of patent, trademark,
+                            or industrial design rights
+                            <br/> arising from use of the goods or any part thereof in China. In case any third party brings a charge
+                            of infringement, the Seller shall
+                            <br/> negotiate with the third-party and be liable for any legal duty and expenses.
+                            <br/>
+                        </td>
+                    </tr>
+                    <tr>
+                        <td>
+                            19. 鍚堝悓鏂囦欢鍙婅祫鏂欑殑浣跨敤:
+                            <br/> 锛�1锛夊湪鏈粡涔版柟涔﹂潰鍚屾剰鐨勬儏鍐典笅锛屽崠鏂逛笉寰楀皢鐢变拱鏂规垨浠h〃涔版柟鎻愪緵鐨勬湁鍏冲悎鍚屾潯鏂囥�佽鏍笺�佽鍒掋�佸浘绾搞�佹ā鍨嬨�佹牱鍝佹垨璧勬枡鎻愪緵
+                            <br/> 缁欎笌灞ヨ鏈悎鍚屾棤鍏崇殑浠讳綍浜恒�傚嵆浣垮悜涓庡饱琛屾湰鍚堝悓鏈夊叧鐨勪汉鍛樻彁渚涳紝涔熷簲娉ㄦ剰淇濆瘑骞朵粎闄愪簬灞ヨ鍚堝悓蹇呴』鐨勮寖鍥淬��
+                            <br/> 锛�2锛夐櫎闈炴墽琛屽悎鍚岄渶瑕侊紝鍦ㄤ簨鍏堟湭寰楀埌涔版柟涔﹂潰鍚屾剰鐨勬儏鍐典笅锛屽崠鏂逛笉寰椾娇鐢ㄦ潯娆撅紙1锛変腑鎵�鍒椾妇鐨勪换浣曟枃浠跺拰璧勬枡銆�
+                            <br/> 锛�3锛夐櫎鍚堝悓鏈韩澶栵紝鏉℃锛�1锛夊垪鏄庣殑鎵�鏈夋枃浠跺缁堜负涔版柟鐨勮储浜э紝鑻ヤ拱鏂硅姹傦紝鍗栨柟搴斾簬鍏跺悎鍚屼箟鍔″饱琛屽畬姣曚互鍚庡皢杩欎簺鏂囦欢鍙婂叏
+                            <br/> 閮ㄥ鍒朵欢閫�杩樼粰涔版柟銆�
+                            <br/> 19. USE OF CONTRACT鈥橲 DOCUMENTS AND INFORMATION:
+                            <br/> (1) The Seller shall not, without the Buyer鈥檚 prior written consent, disclose this Contract, or any
+                            provision hereof, or any
+                            <br/> specification, plan, drawing, pattern, sample, or information furnished by or on behalf of the Buyer
+                            in connection therewith, to any
+                            <br/> person other than the person employed by the Seller in the performance of this Contract. Disclosure
+                            to any such employed person
+                            <br/> shall be made in confidence and shall extend only so far as may be necessary for purposes of such performance.
+                            <br/> (2) The Seller shall not, without the Buyer鈥檚 prior written consent, make use of any document or information
+                            enumerated in
+                            <br/> Clause (1) except for purposes of performing this Contract.
+                            <br/> (3) Any document, other than this Contract itself, enumerated in Clause (1) shall remain the property
+                            of the Buyer and shall be
+                            <br/> returned (including all copies) to the Buyer on completion of the Seller鈥檚 performance under this Contract
+                            if so required by the Buyer.
+                            <br/>
+                        </td>
+                    </tr>
+                    <tr>
+                        <td>
+                            20. 浠茶锛�
+                            <br/> 涓庢湰鍚堝悓鏈夊叧鐨勬垨鍥犳墽琛屾湰鍚堝悓鎵�鍙戠敓鐨勪竴鍒囦簤鎵э紝鐢辩璁㈠悎鍚岀殑鍙屾柟鍙嬪ソ鍗忓晢瑙e喅銆傝嫢涓嶈兘瑙e喅鏃讹紝妗堜欢鍙彁浜や腑鍥藉浗闄呯粡娴庤锤鏄�
+                            <br/> 浠茶濮斿憳浼氫徊瑁併�備徊瑁佹寜鍘熷悎鍚岃繘琛屻�備徊瑁佸鍛樹細鐨勮鍐充负鏈�缁堝喅瀹氾紝绛剧害鍙屾柟閮藉簲鏈嶄粠锛涗换浣曚竴鏂瑰潎涓嶅緱鍚戞硶闄㈡垨鍏朵粬褰撳眬姹傚姪鐢�
+                            <br/> 璇蜂慨鏀硅瑁佸喅銆傛垨鑰呭湪鍙屾柟鍚屾剰鐨勭涓夊浗鎴栧湴鍖鸿繘琛屼徊瑁併�備徊瑁佽垂鐢ㄧ敱鍙屾柟鏂硅礋鎷呫�傚湪浠茶鏈熼棿锛岄櫎浜嗗湪浠茶杩囩▼涓繘琛屼徊瑁佺殑閮ㄥ垎
+                            <br/> 澶栵紝鏈悎鍚屽簲缁х画鎵ц銆�
+                            <br/> 20. ARBITRA
+                            <br/> All disputes in connection with this Contract or the execution thereof shall be settled friendly through
+                            negotiation by the parties hereof.
+                            <br/> In case no settlement can be reached, the case may then be submitted for arbitration to the China International
+                            Economic and Trade
+                            <br/> Arbitration Commission, in accordance with the Rulers of Procedures promulgated by they said Arbitration
+                            Commission. The
+                            <br/> arbitration shall take place in China and the decision of the Arbitration Commission shall be final
+                            and binding upon both parties,
+                            <br/> neither party shall seek recourse to a law court or other authorities to appeal to revision of the decision.
+                            Or the arbitration may be
+                            <br/> taken place in a third country or place mutually agreed by both parties. Arbitration fee shall be borne
+                            by continue to execute
+                            <br/> this Contract except those under arbitration.
+                            <br/>
+                        </td>
+                    </tr>
+                </table>
+                <!-- <apex:outputPanel layout="none">
+                        <div style="page-break-after: always;"/>
+                    </apex:outputPanel> -->
+                <table style="font-size: 9pt;">
+                    <colgroup>
+                        <col width="50%" />
+                        <col width="50%" />
+                    </colgroup>
+                    <tr>
+                        <td colspan="2">
+                            21. 杩涘嚭鍙h鍙瘉锛�
+                            <br/> 杩涘彛鏈悎鍚岄」涓嬭揣鐗╂墍闇�鐨勪腑鍥芥斂搴滃強娴峰叧瑕佹眰鐨勮繘鍙h鍙瘉鍜屽叾浠栬繘鍙f枃浠剁敱涔版柟璐熻矗鍔炵悊銆傚嚭鍙f湰鍚堝悓椤逛笅璐х墿鎵�闇�鐨勫嚭鍙e浗鏀�
+                            <br/> 搴滃強娴峰叧瑕佹眰鐨勫嚭鍙h鍙瘉鍜屽叾浠栧嚭鍙f枃浠剁敱鍗栨柟璐熻矗鍔炵悊銆�
+                            <br/> 21. IMPORT AND EXPORT LICENCES:
+                            <br/> It is the responsibility of the Buyer to arrange import licenses or other import documents, if required
+                            for the goods covered by this
+                            <br/> Contract from the Chinese Government and Custom at the Buyer鈥檚 expense. It is the responsibility of
+                            the Seller to arrange export
+                            <br/> licenses or other export documents, if required for the Goods covered by this Contract from its country
+                            Government and Custom at
+                            <br/> the Seller鈥檚 expense.
+                            <br/>
+                        </td>
+                    </tr>
+                    <tr>
+                        <td colspan="2">
+                            22. 绋庤垂锛�
+                            <br/> 涓浗鏀垮簻鏍规嵁鐜拌绋庢硶鍚戜拱鏂瑰緛鏀剁殑涓庡饱琛屾湰鍚堝悓鏈夊叧鐨勪竴鍒囩◣璐圭敱涔版柟鏀粯銆�
+                            <br/> 涓浗鏀垮簻鏍规嵁鐜拌绋庢硶鍚戝崠鏂瑰緛鏀剁殑涓庡饱琛屾湰鍚堝悓鏈夊叧鐨勪竴鍒囩◣璐圭敱鍗栨柟鏀粯銆�
+                            <br/> 鍙戠敓鍦ㄤ腑鍥藉澶栫殑锛屼笌灞ヨ鏈悎鍚屾湁鍏崇殑涓�鍒囩◣璐癸紝搴旂敱鍗栨柟鎵挎媴銆�
+                            <br/> 22. TAX AND DUTIES锛�
+                            <br/> All taxes in connection with the execution of this Contract levied by the Chinese Government on the
+                            Buyer in accordance with the
+                            <br/> tax laws in effect shall be borne by the Buyer.All taxes in connection with the execution of this Contract
+                            levied by the Chinese
+                            <br/> Government on the Seller in accordance with the tax laws in effect shall be borne by the Seller. All
+                            taxes arising outside China in
+                            <br/> connection with the execution of this Contract shall be borne by the Seller.
+                            <br/>
+                        </td>
+                    </tr>
+                    <tr>
+                        <td colspan="2">
+                            23.閫傜敤娉曞緥锛�
+                            <br/> 鏈悎鍚屽簲鎸夌収涓崕浜烘皯鍏卞拰鍥界殑娉曞緥绠¤緰鍙婅В閲娿��
+                            <br/> 23. APPLICABLE LAW锛�
+                            <br/> This Contract shall be governed and construed in accordance with the laws of People鈥檚 Republic of China.
+                            <br/>
+                        </td>
+                    </tr>
+                    <tr>
+                        <td colspan="2">
+                            24.鍏朵粬:
+                            <br/> 锛�1锛夋湰鍚堝悓搴斾互涓枃鍜岃嫳鏂囦功鍐欙紝濡備腑鏂囧拰鑻辨枃鐗堟湰涔嬮棿鏈変换浣曚笉涓�鑷达紝鍒欎互鑻辨枃鏈负涓汇�傛妧鏈浘绾革紝涔板崠鍙屾柟鐨勬墍鏈夊嚱鐢典互鍙婁笌鍚�
+                            <br/> 鍚屾湁鍏崇殑鏂囦欢鍧囧簲浠ヤ腑鏂囨垨鑻辨枃涔﹀啓銆�
+                            <br/> 锛�2锛夐櫎鎶�鏈鏍间腑鍙︽湁瑙勫畾澶栵紝璁¢噺鍗曚綅鍧囦娇鐢ㄥ叕鍒躲��
+                            <br/> 锛�3锛夋瀵瑰悎鍚屾潯娆惧仛鍑轰换浣曚慨鏀癸紝鍧囬』鐢变拱鍗栧弻鏂圭缃蹭功闈㈢殑鍚堝悓淇敼涔︺��
+                            <br/> 锛�4锛夋湰鍚堝悓鎵�鏈夐檮浠跺皢鏄湰鍚堝悓涓嶅彲鍒嗗壊鐨勭粍鎴愰儴鍒嗗苟鍏锋湁鍚岀瓑鏁堝姏銆�
+                            <br/> 锛�5锛夋湭鍦ㄦ湰鍚堝悓涓鏄庣殑鍟嗗姟鎯緥搴旂鍚圛NCOTERMS 2000鏉℃鐨勮瀹氥��
+                            <br/> 锛�6锛夋湰鍚堝悓鐢变拱鍗栧弻鏂圭璁㈠悗绔嬪嵆鐢熸晥銆�
+                            <br/> &nbsp;&nbsp;姝ゅ悎鍚岀敱涔板崠鍙屾柟绛剧讲姝f湰 {!contra.order.PDF_Co_Contract__c}浠姐�� 涔版柟鎸佹湁 {!contra.order.PDF_Co_BContra__c}浠姐��
+                            鍗栨柟鎸佹湁 {!contra.order.PDF_Co_SContra__c}浠姐��
+                            <br/> 24. OTHERS:
+                            <br/> 锛�1锛塗his Contract shall be written in both Chinese and English, in case there is any inconsistency between
+                            the Chinese version
+                            <br/> and the English version, the English version shall prevail. The technical drawings, all correspondence
+                            and other documents
+                            <br/>pertaining to this Contract exchanged by the parties shall be written in Chinese or English.
+                            <br/> 锛�2锛堿ll measurement shall be in SI unit, unless otherwise specified in the Technical Specifications.
+                            <br/> 锛�3锛塏o variation in or modification of the terms of this Contract shall be valid except by written amendment
+                            signed by the parties.
+                            <br/> 锛�4锛堿ll appendixes to this Contract shall be formed as an integral part of this Contract and shall be
+                            equally effective.
+                            <br/> 锛�5锛� The commercial customs not described in this Contract shall be in accordance with the terms and
+                            conditions of INCOTERMS
+                            <br/> 2000.
+                            <br/> 锛�6锛塗his Contract shall become effective upon execution by the Buyer and the Seller.
+                            <br/> Both parties sign this Contract in {!contra.order.PDF_Co_Contract_E__c} .The buyer holds {!contra.order.PDF_Co_BContra_E__c}
+                            .The seller holds {!contra.order.PDF_Co_SContra_E__c} .
+                            <br/>
+                        </td>
+                    </tr>
+                    <tr>
+                        <td style="vertical-align: top;">
+                            鍗栨柟锛�&nbsp;&nbsp;浠櫙閫氬厜瀛︾鎶�锛堜笂娴凤級鏈夐檺鍏徃
+                        </td>
+                        <td style="vertical-align: top;">
+                            涔版柟锛�&nbsp;&nbsp;{!specialDeliveryAddress.Name}
+                        </td>
+                    </tr>
+                    <tr>
+                        <td style="vertical-align: top;">
+                            THE SELLER:&nbsp;&nbsp;Evident (Shanghai) Co., Ltd
+                        </td>
+                        <td style="vertical-align: top;">
+                            THE BUYER:&nbsp;&nbsp;{!specialDeliveryAddress.EnglishName__c}
+                        </td>
+                    </tr>
+                    <tr>
+                        <td>
+                            For and on behalf of&nbsp;&nbsp;
+                        </td>
+                        <td>
+                            For and on behalf of&nbsp;&nbsp;
+                        </td>
+                    </tr>
+                    <tr>
+                        <td>
+                            [*]&nbsp;&nbsp;
+                        </td>
+                        <td>
+                            [*]&nbsp;&nbsp;
+                        </td>
+                    </tr>
+                    <tr>
+                        <td colspan="2" height="100px"></td>
+                    </tr>
+                    <tr>
+                        <td>
+                            绛惧悕锛�&nbsp;&nbsp;
+                        </td>
+                        <td>
+                            绛惧悕锛�&nbsp;&nbsp;
+                        </td>
+                    </tr>
+                    <tr>
+                        <!-- <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'NDT' || Opp.ProductSegment__c = 'ANI' ), 'false', 'true')}" layout="none">
+                                <td>
+                                Name: &nbsp;&nbsp;Mitsuyuki Shirakawa
+                                </td>
+                            </apex:outputPanel>
+                            <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'NDT' || Opp.ProductSegment__c = 'ANI' ), 'true', 'true')}" layout="none"> -->
+                        <td>
+                            Name: &nbsp;&nbsp;YING HOU
+                        </td>
+                        <!-- </apex:outputPanel> -->
+                        <td>
+                            Name: &nbsp;&nbsp;
+                            <span id="PDF_Sign_Name__c">{!contra.order.PDF_Sign_Name__c}</span>
+                        </td>
+                    </tr>
+                    <tr>
+                        <td>
+                            Title: &nbsp;&nbsp;Division Manager
+                        </td>
+                        <td>
+                            Title: &nbsp;&nbsp;
+                            <span id="PDF_Sign_Title__c">{!contra.order.PDF_Sign_Title__c}</span>
+                        </td>
+                    </tr>
+                    <tr>
+                        <td>
+                            鏃ユ湡锛�&nbsp;&nbsp;
+                        </td>
+                        <td>
+                            鏃ユ湡锛�&nbsp;&nbsp;
+                        </td>
+                    </tr>
+                    <tr>
+                        <td>
+                            Signed on&nbsp;&nbsp;
+                        </td>
+                        <td>
+                            Signed on&nbsp;&nbsp;
+                        </td>
+                    </tr>
+                </table>
+            </div>
+            <apex:outputPanel layout="none">
+                <div style="page-break-after: always;" />
+            </apex:outputPanel>
+            <div class="pdf-page">
+                <table width="100%">
+                    <tr>
+                        <td style="text-align: center;">闄勪欢</td>
+                    </tr>
+                    <tr>
+                        <td style="text-align: center;">Appendix</td>
+                    </tr>
+                </table>
+                <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'NDT' || Opp.ProductSegment__c = 'ANI' ), 'false', 'true')}" layout="none">
+                    <apex:variable value="{!1}" var="cnt1" />
+                    <apex:repeat value="{!printRecords}" var="set">
+                        <apex:repeat value="{!set.setPage}" var="sp">
+        
+                            <table width="100%" border="1" cellspacing="0" cellpadding="0" style="table-layout:auto;font-size: 9pt;">
+                                <tr>
+                                    <!-- <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'NDT' || Opp.ProductSegment__c = 'ANI' ), 'false', 'true')}" layout="none"> -->
+                                    <td width="50%" style="text-align: center;">EC Code</td>
+                                    <td style="text-align: center;">Quantity</td>
+                                    <!--    </apex:outputPanel> -->
+                                    <!--   <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'NDT' || Opp.ProductSegment__c = 'ANI' ), 'true', 'false')}" layout="none">
+                                        <td width="25%" style="text-align: center;">U8 Code</td>
+                                        <td width="25%" style="text-align: center;">Part Number</td>
+                                        <td width="25%" style="text-align: center;">Quantity</td>
+                                        <td style="text-align: center;">Name of Goods</td>
+                                    </apex:outputPanel> -->
+                                </tr>
+                                <!--  <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'NDT' || Opp.ProductSegment__c = 'ANI' ), 'false', 'true')}" layout="none"> -->
+                                <tr>
+                                    <td width="50%" style="text-align: center;">EC缂栫爜</td>
+                                    <td style="text-align: center;">鏁伴噺</td>
+                                </tr>
+                                <!--  </apex:outputPanel> -->
+                                <apex:repeat value="{!sp}" var="line">
+                                    <tr>
+                                        <!-- <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'NDT' || Opp.ProductSegment__c = 'ANI' ), 'false', 'true')}" layout="none"> -->
+                                        <td style="text-align: center;">
+                                            <apex:outputText value="{!line.productEC}" />
+                                        </td>
+                                        <td style="text-align: center;">
+                                            <apex:outputText value="{!line.quantity}" />
+                                        </td>
+                                        <!-- </apex:outputPanel> -->
+                                        <!--  <apex:outputPanel rendered="{!IF((Opp.ProductSegment__c = 'NDT' || Opp.ProductSegment__c = 'ANI' ), 'true', 'false')}" layout="none">
+                                        <td width="25%" style="text-align: center;"><apex:outputText value="{!line.U8Code}" /></td>
+                                        <td width="25%" style="text-align: center;"><apex:outputText value="{!line.productEC}" /></td>
+                                        <td width="25%" style="text-align: center;"><apex:outputText value="{!line.quantity}" /></td>
+                                        <td style="text-align: center;"><apex:outputText value="{!line.productName}" /></td>
+                                    </apex:outputPanel> -->
+                                    </tr>
+                                </apex:repeat>
+                            </table>
+        
+                            <!-- <apex:outputPanel rendered="{!cnt1 < pageCnt - 1}" layout="none">
+                            <div style="page-break-after: always;"/>
+                        </apex:outputPanel> -->
+                            <apex:variable value="{!cnt1 + 1}" var="cnt1" />
+        
+                        </apex:repeat>
+                    </apex:repeat>
+                </apex:outputPanel>
+        
+                <apex:outputPanel rendered="{!IF(Opp.ProductSegment__c = 'IE' || Opp.ProductSegment__c = 'RVI' || Opp.ProductSegment__c = 'BS' , 'false', 'true')}"
+                    layout="none">
+        
+                    <table width="100%" border="1" cellspacing="0" cellpadding="0" style="table-layout:auto;font-size: 9pt;">
+                        <tr>
+                            <td width="25%" style="text-align: center;">U8 Code</td>
+                            <td width="25%" style="text-align: center;">Part Number</td>
+                            <td width="25%" style="text-align: center;">Quantity</td>
+                            <td style="text-align: center;">Name of Goods</td>
+                        </tr>
+                        <apex:repeat value="{!ndtList}" var="ndt">
+                            <tr>
+        
+                                <td style="text-align: center;">
+                                    <apex:outputText value="{!ndt.U8_Code__c}" style="width: 95%" />
+                                </td>
+                                <td style="text-align: center;">
+                                    <apex:outputText value="{!ndt.Part_Number__c}" style="width: 95%" />
+                                </td>
+                                <td style="text-align: center;">
+                                    <apex:outputText value="{!ndt.Quantity__c}" style="width: 95%; text-align: center;" />
+                                </td>
+                                <td style="text-align: center;">
+                                    <apex:outputText value="{!ndt.Name_of_Goods__c}" style="width: 95%" />
+                                </td>
+                            </tr>
+                        </apex:repeat>
+                    </table>
+                </apex:outputPanel>
+            </div>
+            
+        </div>
+    </body>
+    <style>
+        /* 20220221 PI鏀归�� by 寰愪寒 start */
+        body{margin: 0 auto;width: 780px;}
+        .title1{height: 30px;}
+        .title2{height: 110px;}
+        /* 20220221 PI鏀归�� by 寰愪寒 end */
+    </style>
+    <!-- 20220221 PI鏀归�� by 寰愪寒 start  -->
+    <apex:includeScript value="{! URLFOR($Resource.AWSService, 'AWSService.js') }" />
+    <script src="../../soap/ajax/53.0/connection.js" type="text/javascript"></script>
+    <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
+    <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
+    <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
+    <apex:includeScript value="{!URLFOR($Resource.jspdf)}"/>
+    <apex:includeScript value="{!URLFOR($Resource.html2canvas)}"/>
+    
+    <script>
+        AWSService.sfSessionId = '{!GETSESSIONID()}';
+        sforce.connection.serverUrl = '{!$Site.Prefix}/services/Soap/u/53.0';
+        var staticResourceContact = JSON.parse('{!staticResourceContact}');
+        var staticResourceOrder = JSON.parse('{!staticResourceOrder}');
+        var staticResourceFile = JSON.parse('{!staticResourceFile}');
+        function Fun(pdf) {
+    
+            var form = jQuery("<form method='post'></form>");
+            jQuery(document.body).append(form);
+            let href = window.location.href
+            let arr = href.split('/')
+            form.attr({ "action": staticResourceFile.hostUrl + staticResourceFile.extraInfo + "?from=" + encodeURIComponent(href) + "&fileName=" + encodeURIComponent(arr[arr.length - 1].split('?')[0]) });
+            // form.attr({"action":"http://127.0.0.1:8080/a/d?from="+encodeURIComponent(window.location.href)});
+            let input = jQuery("<input type='hidden'/>");
+            input.attr({ "name": "base64Str" });
+            input.val(pdf.output('datauristring').substr(28));
+            form.append(input);
+            form.submit();
+    
+            // jQuery("body > *").each(function(){
+            //  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"/>')
+    
+        }
+    
+        let id = "pdf-wrapper";
+        var target = document.getElementById(id);
+        // 鎶奿mageDta杞崲鎴恥rl
+            // page_height锛氫竴椤电殑楂樺害
+            function ImageDataToUrl(img_data,page_height){
+                let cvs = document.createElement("CANVAS");
+                cvs.width = img_data.width;
+                cvs.height = page_height;
+                var ctx= cvs.getContext("2d");
+                ctx.fillStyle="white";
+                ctx.fillRect(0,0,cvs.width,cvs.height);// 濉厖canvas鎵�鏈夊尯鍩熶负鐧借壊
+                let aheight = img_data.height
+                for (let i = 0;  i < img_data.height && img_data.height > page_height-5; i++) {
+                    aheight = img_data.height-i;
+                    let index = img_data.width*4*(aheight-1)
+                    let blank_count=0;
+                    for (let j = 0; j < img_data.width * 4; j+=4) {
+                        
+                        if (img_data.data[index+j] > 222 && img_data.data[index+j+1] > 222 && img_data.data[index+j+2] > 222) {
+                            //console.log(img_data.data[index+j] + ',' + img_data.data[index+j+1] + ',' + img_data.data[index+j+2]);
+                            blank_count++;
+                        }else{
+                            //console.log(index + ',' + j);
+                        }
+                    }
+                    if (blank_count > img_data.width * 0.99) {
+                        break;
+                    }
+                }
 
-    </body> 
+                ctx.putImageData(img_data,0,0,0,0,img_data.width,aheight);
+                return {
+                    data : cvs.toDataURL('image/jpeg', 1.0),
+                    height : aheight
+                };
+            }
+            function jsPdfDownload() {
+        
+                let jtargets = jQuery("#pdf-wrapper .pdf-page");
+                let j_arr = new Array(jtargets.length + 1).join(0).split('').map(function () { return false });
+                let landscape = false;
+                let pw = 595.28;
+                let ph = 841.89;
+                const marginw = 40;
+                const marginh = 40;
+        
+                let orientation = '';
+                if (landscape) {
+                    pw += ph; ph = pw - ph; pw = pw - ph;
+                    orientation = 'l';
+                }
+                var pdf = new jsPDF(orientation, 'pt', 'a4');// 绗竴涓弬鏁板~瀛楁瘝l锛屾敞鎰忎笉鏄暟瀛�1锛屼负妯悜pdf
+                jtargets.each(function (i, e) {
+                    e.style.background = "#FFFFFF";
+                })
+        
+                let rei = 0;
+                let recursion = null;
+                recursion = function (i) {
+                    if (i >= jtargets.length) {
+                        Fun(pdf);
+                        return;
+                    }
+                    e = jtargets[i];
+                    html2canvas(e, {
+                        scale: 2,
+                        onrendered: function (canvas) {
+                            /**
+                            鏈柟娉曢渶瑕佸仛鍑犱釜浜嬫儏
+                            1.闇�瑕佹妸canvas鐨勫唴瀹瑰垎椤垫樉绀哄埌pdf鐨勯〉涓�
+                            2.canvas鐨勫楂橀渶瑕佸拰pdf鐨勫楂樿繘琛屾槧灏�
+                            3.鎴彇鍒扮殑鍐呭闇�瑕佹斁杩涗竴椤靛楂樼殑canvas閲岄潰锛屽苟瀵瑰叾浣欏尯鍩熷埛鐧�
+                            */
+                            var ctx = canvas.getContext("2d");
+                            let canvas_max_page_num = 9;
+                            let canvas_current_page_num = 0;
+                            var contentWidth = canvas.width;
+                            var contentHeight = canvas.height;
+        
+                            
+                            //鏈敓鎴恜df鐨刪tml椤甸潰楂樺害
+                            var leftHeight = contentHeight;
+                            //椤甸潰鍋忕Щ
+                            var position = 0;
+                            
+                            //a4绾哥殑灏哄[595.28,841.89]锛宧tml椤甸潰鐢熸垚鐨刢anvas鍦╬df涓浘鐗囩殑瀹介珮
+                            var outputWidth = pw - 2 * marginw;//595.28//宸﹀彸杈硅窛20
+                            let rate = outputWidth / 780;//杈撳嚭瀹藉害鍜屽唴瀹瑰搴︾殑姣斾緥
+                            var outputHeight = ph - 2 * marginh;//宸﹀彸杈硅窛20
+                            let onePdfPageInCanvasHeight = contentWidth/outputWidth*outputHeight;//涓�椤祊df鍦╟anvas涓殑楂樺害;
+                            //var pageData = canvas.toDataURL('image/jpeg', 1.0);
+                            var pageData = null;
+                            var imgData = null;
+                            
+                            var captureHeight = null;// 鎴彇鐨勫綋鍓峜anvas椤电殑楂樺害
+                            
+                            let j = i;
+                            while(position < contentHeight){
+                                
+                                if (j++) {
+                                    pdf.addPage();
+                                }
+    
+                                if(position+onePdfPageInCanvasHeight>contentHeight){
+                                    captureHeight = contentHeight-position;
+                                }else{
+                                    captureHeight = onePdfPageInCanvasHeight;
+                                }
+        
+                                imgData = ctx.getImageData(0,position,contentWidth,captureHeight);
+                                pageData = ImageDataToUrl(imgData,onePdfPageInCanvasHeight);
+                                pdf.addImage(pageData.data, 'JPEG', marginw, marginh, outputWidth, outputHeight);//宸﹀彸杈硅窛20,琚緭鍑虹殑鍥剧墖浼氳鎷変几涓簅utputWidth锛宱utputHeight鐨勫楂�
+                                canvas_current_page_num++;
+                                position += pageData.height;
+                                if (canvas_max_page_num > 0 && canvas_current_page_num >= canvas_max_page_num) {
+                                    break;
+                                }
+                            }
+        
+                            recursion(i + 1);
+                        }
+                    })
+                };
+                recursion(rei);
+        
+        
+        
+            }
+        
+            function ReplaceDecrypt(staticResource,data){
+                for (let index = 0; index < staticResource.PIDetails.length; index++) {
+                    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]) {
+                        console.log(pi.SF_Field_API_Name__c)
+                        e.innerHTML = data.object[pi.AWS_Field_API__c]
+                    }
+                }
+            }
+
+
+            //blockme();
+            document.body.onload = function(){
+                
+                let i = 0;
+                let Foo = function(){
+                    if ( i == 2) {
+                        if(confirm("PDF宸插姞杞藉畬姣曪紝鏄惁鏄剧ず锛�")){
+                            jsPdfDownload(); 
+                        }
+                    }
+                }
+    
+                if ('{!specialDeliveryContact.AWS_Data_Id__c}') {
+                    AWSService.query(staticResourceContact.queryUrl, '{!specialDeliveryContact.AWS_Data_Id__c}', function(data){
+                        ReplaceDecrypt(staticResourceContact,data);
+                        
+                        i++;
+                        Foo();
+                    }, staticResourceContact.token);
+                }else{
+                    i++;
+                    Foo();
+                }
+    
+                if ('{!contra.order.AWS_Data_Id__c}') {
+                    AWSService.query(staticResourceOrder.queryUrl, '{!contra.order.AWS_Data_Id__c}', function(data){
+                        
+                        ReplaceDecrypt(staticResourceOrder,data);
+                        
+                        i++;
+                        Foo();
+                    }, staticResourceOrder.token);
+                }else{
+                    i++;
+                    Foo();
+                }
+            }
+            
+            
+        
+    </script>
+    <!-- 20220221 PI鏀归�� by 寰愪寒 end  -->
 </html>
 </apex:page>
\ No newline at end of file

--
Gitblit v1.9.1