From e6068da47c1bef5517c9e5fdc8c726766867ad4e Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期五, 14 七月 2023 15:10:02 +0800
Subject: [PATCH] Merge branch 'master' into LEXUpgrade2023-Deloitte

---
 force-app/main/default/pages/MaintenanceCommissionPDF.page |  191 +++++++++++++++++++++++++++++++----------------
 1 files changed, 125 insertions(+), 66 deletions(-)

diff --git a/force-app/main/default/pages/MaintenanceCommissionPDF.page b/force-app/main/default/pages/MaintenanceCommissionPDF.page
index 73136a0..5675ae8 100644
--- a/force-app/main/default/pages/MaintenanceCommissionPDF.page
+++ b/force-app/main/default/pages/MaintenanceCommissionPDF.page
@@ -1,9 +1,10 @@
-<apex:page controller="MaintenanceCommissionPDFController" showHeader="false" sidebar="false" renderAs="pdf" action="{!init}" applyHtmlTag="false">
+<apex:page controller="MaintenanceCommissionPDFController" showHeader="false" sidebar="false" renderAs="pdf" action="{!init}" applyHtmlTag="false" lightningStylesheets="true" >
+
 <html>
     <head>
         <style>
             @page {
-                size: A4 landscape;
+                size: A4 portrait;
                 margin: 5mm 12mm 5mm 12mm;
                 /* 鏄剧ず椤电爜 */
                 /* @bottom-center {
@@ -32,37 +33,41 @@
                             <td colspan="4" class="title">鍩烘湰淇℃伅</td>
                         </tr>
                         <tr>
-                            <td width="20%" class="label">SFDC-NO</td>
-                            <td width="30%" class="middle"><c:PDFWbr targetStr="{!rep.Name}"/></td>
-                            <td width="20%" class="label">鍖婚櫌鍚嶇О</td>
-                            <td width="30%" class="middle"><c:PDFWbr targetStr="{!rep.HP_Name__c}"/></td>
+                            <td width="20%" class="label" height="40px">SFDC-NO</td>
+                            <td width="30%" class="middle" height="40px"><c:PDFWbr targetStr="{!rep.Name}"/></td>
+                            <td width="20%" class="label" height="40px">鍖婚櫌鍚嶇О</td>
+                            <td width="30%" class="middle" height="40px"><c:PDFWbr targetStr="{!rep.HP_Name__c}"/></td>
                         </tr>
                         <tr>
-                            <td width="20%" class="label">SAP-NO</td>
-                            <td width="30%" class="middle"><c:PDFWbr targetStr="{!rep.SAP_Service_Repair_No__c}"/></td>
-                            <td width="20%" class="label">缁忛攢鍟嗗悕绉�</td>
-                            <td width="30%" class="middle"><c:PDFWbr targetStr="{!rep.Dealer__r.Name}"/></td>
+                            <td width="20%" class="label" height="40px">SAP-NO</td>
+                            <td width="30%" class="middle" height="40px"><c:PDFWbr targetStr="{!rep.SAP_Service_Repair_No__c}"/></td>
+                            <td width="20%" class="label" height="40px">缁忛攢鍟嗗悕绉�</td>
+                            <td width="30%" class="middle" height="40px"><c:PDFWbr targetStr="{!rep.Dealer__r.Name}"/></td>
                         </tr>
                         <tr>
-                            <td width="20%" class="label">鏁呴殰鍙戠敓鏃�</td>
-                            <td width="30%" class="middle"><apex:outputField value="{!rep.Failure_Occurrence_Date__c}"/></td>
-                            <td width="20%" class="label">璁惧鍨嬪彿</td>
-                            <td width="30%" class="middle"><c:PDFWbr targetStr="{!rep.Delivered_Product__r.Name}"/></td>
+                            <td width="20%" class="label" height="40px">鏁呴殰鍙戠敓鏃�</td>
+                            <td width="30%" class="middle" height="40px"><apex:outputField value="{!rep.Failure_Occurrence_Date__c}"/></td>
+                            <td width="20%" class="label" height="40px">璁惧鍨嬪彿</td>
+                            <td width="30%" class="middle" height="40px"><c:PDFWbr targetStr="{!rep.Delivered_Product__r.Name}"/></td>
                         </tr>
                         <tr>
-                            <td width="20%" class="label">FSE淇悊鐢宠鏃�</td>
-                            <td width="30%" class="middle"><apex:outputField value="{!rep.FSE_ApplyForRepair_Day__c}"/></td>
-                            <td width="20%" class="label">鏈鸿韩鍙风爜</td>
-                            <td width="30%" class="middle"><c:PDFWbr targetStr="{!rep.SerialNumber__c}"/></td>
+                            <td width="20%" class="label" height="40px">FSE淇悊鐢宠鏃�</td>
+                            <td width="30%" class="middle" height="40px"><apex:outputField value="{!rep.FSE_ApplyForRepair_Day__c}"/></td>
+                            <td width="20%" class="label" height="40px">鏈鸿韩鍙风爜</td>
+                            <td width="30%" class="middle" height="40px"><c:PDFWbr targetStr="{!rep.SerialNumber__c}"/></td>
                         </tr>
                         <tr>
-                            <td width="20%" class="label">SAP淇悊鐢宠鏃�</td>
-                            <td width="30%" class="middle"><apex:outputField value="{!rep.SAP_Transfer_day__c}"/></td>
-                            <td width="20%" class="label">淇悊濮旀墭鑰�(FSE)</td>
-                            <td width="30%" class="middle"><c:PDFWbr targetStr="{!rep.Incharge_Staff__r.Name}"/></td>
+                            <td width="20%" class="label" height="40px">SAP淇悊鐢宠鏃�</td>
+                            <td width="30%" class="middle" height="40px"><apex:outputField value="{!rep.SAP_Transfer_day__c}"/></td>
+                            <td width="20%" class="label" height="40px">淇悊濮旀墭鑰�(FSE)</td>
+                            <td width="30%" class="middle" height="40px"><c:PDFWbr targetStr="{!rep.Incharge_Staff__r.Name}"/></td>
+                        </tr> 
+                        <tr>
+                            <td width="20%" class="label" height="70px">鍙嶉鏁呴殰鍐呭鎻忚堪锛�</td>
+                            <td width="30%" class="middle" colspan="3" height="70px"><c:PDFWbr targetStr="{!rep.Repair_Detail__c}"/></td>
                         </tr> 
                     </table>
-                    <table width="100%" border="1" cellspacing="0">
+                    <!-- <table width="100%" border="1" cellspacing="0">
                         <tr>
                             <td colspan="5" class="title">鏀惰揣濉啓鍖哄煙</td>
                         </tr>
@@ -81,75 +86,129 @@
                             <td width="10%" class="label">娓呮礂娑堟瘨鑰�</td>
                             <td class="middle"></td>
                         </tr>
-                    </table>
+                    </table> -->
                     <table width="100%" border="1" cellspacing="0">
                         <tr>
-                            <td colspan="2" class="title">鎼哄甫闄勪欢</td>
+                            <td colspan="1" class="title">鎼哄甫闄勪欢</td>
                         </tr>
                         <tr>
-                            <td width="60%" height="80px" style="font-size:120%" >
-                                &nbsp;&nbsp;01鎵嬫彁绠�(绾哥銆佸鏂�)&emsp;&emsp;04闃叉按甯�&emsp;&emsp;07娲绘甯�&emsp;&emsp;10鐢电紗绾�&emsp;&emsp;13淇濇姢闉�&emsp;&emsp;16姘寸摱<br/>
-                                &nbsp;&nbsp;02娑堟瘨鐩�(濉戞枡銆侀噾灞�)&emsp;&emsp;05姘�/姘旈挳&emsp;&ensp;&nbsp;08ET甯�&emsp;&emsp;&ensp;&nbsp;11閿洏&emsp;&emsp;&ensp;&nbsp;14閾濈&emsp;&emsp;&ensp;&nbsp;&nbsp;17鍏朵粬<br/>
-                                &nbsp;&nbsp;03鍐呴暅閾墝&emsp;&emsp;&emsp;&emsp;&emsp;&ensp;&nbsp;&nbsp;&nbsp;&nbsp;06鍚稿紩閽�&emsp;&emsp;09閫傞厤鍣�&emsp;&emsp;12鑴氳笍鏉�&emsp;&emsp;15鐏场
+                            <td width="60%" height="320px" style="font-size:120%" >
+                                &nbsp;&nbsp;&nbsp;&nbsp;01 鎵嬫彁绠�(绾哥銆佸鏂�)&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;08 ET甯�&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;15 淇濇姢闉�&emsp;&ensp;<br/>&nbsp;<br/>
+
+                                &nbsp;&nbsp;&nbsp;&nbsp;02 娑堟瘨鐩�(濉戞枡銆侀噾灞�)&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;09 閫傞厤鍣�&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;16 閾濈&emsp;&ensp;<br/>&nbsp;<br/>
+
+                                &nbsp;&nbsp;&nbsp;&nbsp;03 鍐呴暅閾墝&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;10 鐢电紗绾�&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;  17 MAJ-215&emsp;&ensp;<br/>&nbsp;<br/>
+
+                                &nbsp;&nbsp;&nbsp;&nbsp;04 闃叉按甯�&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp; 11 閿洏&nbsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;18 閽ュ寵&emsp;&ensp;<br/>&nbsp;<br/>
+
+                                &nbsp;&nbsp;&nbsp;&nbsp;05 姘�/姘旈挳&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp; 12 鑴氳笍鏉�&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;   19 鍏朵粬&emsp;&ensp;<br/>&nbsp;<br/>
+
+                                &nbsp;&nbsp;&nbsp;&nbsp;06 鍚稿紩閽�&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp; 13 鐏场 <br/>&nbsp;<br/>
+
+                                &nbsp;&nbsp;&nbsp;&nbsp;07 娲绘甯�&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&emsp;&emsp;&emsp;&emsp; 14 姘寸摱
+<!-- 
+
+                                07娲绘甯�&emsp;&emsp;10鐢电紗绾�&emsp;&emsp;13淇濇姢闉�&emsp;&emsp;16姘寸摱<br/>
+                                &nbsp;&nbsp;02娑堟瘨鐩�(濉戞枡銆侀噾灞�)&emsp;&emsp;04闃叉按甯�&nbsp;&emsp;&emsp;&ensp;&nbsp;11閿洏&emsp;&emsp;&ensp;&nbsp;14閾濈&emsp;&emsp;&ensp;&nbsp;&nbsp;17鍏朵粬<br/>
+                                &nbsp;&nbsp;03鍐呴暅閾墝&emsp;&emsp;&emsp;&emsp;&emsp;&ensp;&nbsp;&nbsp;&nbsp;&nbsp;06鍚稿紩閽�&emsp;&emsp;09閫傞厤鍣�&emsp;&emsp;12鑴氳笍鏉�&emsp;&emsp;15鐏场 -->
                             </td>
-                            <td width="40%" valign="top" height="80px" style="font-size:120%; padding-left: 10px" >闄勪欢澶囨敞:</td>
+                        </tr>
+                        <tr>
+                            <td width="40%" valign="top" height="120px" style="font-size:120%; padding-left: 10px" >闄勪欢澶囨敞:</td>
                         </tr>
                     </table>
                     <table width="100%" border="1" cellspacing="0">
                         <tr>
-                            <td colspan="4" class="title">宸ヤ綔娴佺▼鏃ユ湡璁板綍鍙婄绔�</td>
+                            <td colspan="2" class="title">宸ヤ綔娴佺▼璁板綍</td>
+                            <td colspan="2" class="title">鎶ヤ环淇℃伅璁板綍</td>
                         </tr>
                         <tr>
-                            <td width="20%" class="label">RC鍙楃悊鏃ユ湡</td>
-                            <td width="30%" class="middle"></td>
-                            <td width="20%" class="label">娲惧伐妫�鏌ュ伐绋嬪笀</td>
-                            <td width="30%" class="middle"></td>
+                            <td colspan="2" height="40px" width="50%" class="label">RC鍙楃悊鏃ユ湡:</td>
+                            <td colspan="2" height="40px" width="50%" style="font-size:120%;padding-left: 10px;">鎶ヤ环閲戦:</td>  
+                        </tr>
+                         <tr>
+                            <td colspan="2" height="40px" width="50%" class="label">RC鎶ヤ环鏃ユ湡锛�</td>
+                            <td colspan="2" height="40px" width="50%" style="border-top-color: white;border-bottom-color: white;"></td>  
+                        </tr>
+                        <!-- <tr>
+                            <td width="20%" class="label" height="70px">RC鍙楃悊鏃ユ湡</td>
+                            <td width="30%" class="middle" height="70px"></td>
+                            <td width="25%" class="label" height="70px">鍙楃悊鑰呯绔狅細</td>
+                            <td width="25%" class="middle" height="70px"></td>
+                        </tr>
+                          <tr>
+                            <td width="20%" class="label" height="70px">棣栨鎶ヤ环鏃ユ湡</td>
+                            <td width="30%" class="middle" height="70px"></td>
+                            <td width="20%" class="label" height="70px">鎶ヤ环鑰呯绔狅細</td>
+                            <td width="30%" class="middle" height="70px"></td>
                         </tr>
                         <tr>
-                            <td width="20%" class="label">棣栨鎶ヤ环鏃ユ湡</td>
-                            <td width="30%" class="middle"></td>
-                            <td width="20%" class="label">娲惧伐淇悊宸ョ▼甯�</td>
-                            <td width="30%" class="middle"></td>
+                            <td width="20%" class="label" height="70px">娲惧伐妫�鏌ュ伐绋嬪笀绛剧珷锛�</td>
+                            <td width="30%" class="middle" height="70px"></td>
+                            <td width="20%" class="label" height="70px">娲惧伐妫�鏌ュ伐绋嬪笀绛剧珷锛�</td>
+                            <td width="30%" class="middle" height="70px"></td>
+                        </tr>
+                      
+                        <tr>
+                            <td width="20%" class="label" height="70px">鐢ㄦ埛鏃ユ湡</td>
+                            <td width="30%" class="middle" height="70px"></td>
+                            <td width="20%" class="label" height="70px">纭鑰呯绔狅細</td>
+                            <td width="30%" class="middle" height="70px"></td>     
+                        </tr>
+                         <tr>
+                            <td width="20%" class="label" height="70px">闆朵欢璁㈣喘(鏃ユ湡鎴栬�匰TO鍙�):</td>
+                            <td width="30%" class="middle" height="70px"></td>
+                            <td width="20%" class="label" height="70px">璁㈣喘鑰呯绔狅細</td>
+                            <td width="30%" class="middle" height="70px"></td>     
                         </tr>
                         <tr>
-                            <td width="20%" class="label">鐢ㄦ埛鏃ユ湡</td>
-                            <td width="30%" class="middle"></td>
-                            <td width="20%" class="label">淇悊鏂瑰紡</td>
-                            <td width="30%" style="font-size:120%;padding-left: 10px">RC淇悊&nbsp;&#9633;&emsp;&emsp;
+                            <td width="20%" class="label" height="70px">寮�濮嬮鎻愭棩鏈�:</td>
+                            <td width="30%" class="middle" height="70px"></td>
+                            <td width="20%" class="label" height="70px">棰勬彁鑰呯绔狅細</td>
+                            <td width="30%" class="middle" height="70px"></td>     
+                        </tr> -->
+                       <!--  <tr>
+                            <td width="20%" class="label">娲惧伐妫�鏌ュ伐绋嬪笀绛剧珷锛�</td>
+                            <td width="80%" class="middle"></td>
+                        </tr>
+                        <tr>
+                            <td width="20%" class="label" height="70px">杩斿搧鏃ユ湡</td>
+                            <td width="30%" class="middle" height="70px"></td>
+                            <td width="20%" class="label" height="70px">杩斿洖鑰呯绔狅細</td>
+                            <td width="30%" class="middle" height="70px"></td>
+                        </tr> -->
+                        <!-- <tr>
+                            <td width="20%" class="label" >淇悊鏂瑰紡</td>
+                            <td width="80%" colspan="3" style="font-size:120%;padding-left: 10px">RC淇悊&nbsp;&#9633;&emsp;&emsp;
                                 SORC淇悊&nbsp;&#9633;&emsp;&emsp;OGZ淇悊&nbsp;&#9633;
                             </td>
-                        </tr>
-                        <tr>
-                            <td width="20%" class="label">杩斿搧鏃ユ湡</td>
-                            <td width="30%" class="middle"></td>
-                            <td width="20%" class="label">闆朵欢璁㈣喘(鏃ユ湡鎴栬�匰TO鍙�)</td>
-                            <td width="30%" class="middle"></td>
-                        </tr>
-                        <tr>
-                            <td width="20%" class="label">杩斿搧绫诲瀷</td>
+                        </tr> -->
+                        <!-- <tr>
+                            <td width="20%" class="label" >杩斿搧绫诲瀷</td>
                             <td width="30%" colspan="3" style="font-size:120%;padding-left: 10px" >淇悊瀹屾垚杩斿搧&nbsp;&#9633;&emsp;&emsp;&emsp;
                                 鏈慨鐞嗚繑鍝�&nbsp;&#9633;
                             </td>
-                        </tr>
-                    </table>
+                        </tr> -->
+                    <!-- </table>
                     <table width="100%" border="1" cellspacing="0">
                         <tr>
-                            <td colspan="3" class="title">璐圭敤銆佺瓑绾�</td>
+                            <td colspan="4" class="title">缁翠慨璐圭敤鍙婄瓑绾�</td>
+                        </tr> -->
+                        <tr>
+                            <td colspan="2" height="40px" width="50%" class="label">鐢ㄦ埛纭鏃ユ湡:</td>
+                            <!-- <td width="30%" class="middle"></td> -->
+                            <td colspan="2" height="40px" width="50%" style="font-size:120%;padding-left: 10px;">澶囨敞:</td>
+
                         </tr>
                         <tr>
-                            <td width="20%" class="label">鎶ヤ环绫诲瀷</td>
-                            <td width="30%" class="middle"></td>
-                            <td width="50%" style="font-size:120%;padding-left: 10px;">澶囨敞:</td>
+                            <td colspan="2" height="40px" width="50%" class="label">闆朵欢璁㈠崟鍙�:</td>
+                            <!-- <td class="middle"></td> -->
+                            <td colspan="2" height="40px" width="50%" style="border-top-color: white;border-bottom-color: white;"></td>
                         </tr>
                         <tr>
-                            <td class="label">鎶ヤ环绛夌骇</td>
-                            <td class="middle"></td>
-                            <td style="border-top-color: white;border-bottom-color: white;"></td>
-                        </tr>
-                        <tr>
-                            <td class="label">鎶ヤ环閲戦</td>
-                            <td class="middle"></td>
-                            <td style="border-top-color: white;border-bottom-color: white;"></td>
+                            <td colspan="2" height="40px" width="50%" class="label">杩斿搧鏃ユ湡:</td>
+                            <!-- <td class="middle"></td> -->
+                            <td colspan="2" height="40px" width="50%" style="border-top-color: white;border-bottom-color: white;"></td>
                         </tr>
                     </table>
                 </td>

--
Gitblit v1.9.1