buli
2023-07-14 e6068da47c1bef5517c9e5fdc8c726766867ad4e
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">零件订购(日期或者STO号):</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">零件订购(日期或者STO号)</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>