buli
2023-07-14 e6068da47c1bef5517c9e5fdc8c726766867ad4e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
<apex:page controller="MaintenanceCommissionPDFController" showHeader="false" sidebar="false" renderAs="pdf" action="{!init}" applyHtmlTag="false" lightningStylesheets="true" >
 
<html>
    <head>
        <style>
            @page {
                size: A4 portrait;
                margin: 5mm 12mm 5mm 12mm;
                /* 显示页码 */
                /* @bottom-center {
                    content: counter(page) " / " counter(pages);
                } */
            }
            
            table {border-collapse: collapse;} 
            td.title {text-align: center; font-weight: bold; background-color: #BDBDBD; height: 30px; font-size: 12pt;}
            td.middle {text-align: center; font-size:120%;}
            td.label {padding-left: 10px; height: 30px; font-weight: bold; font-size:120%;}
        </style>
    </head>
    <body style="font-family: Arial Unicode MS;">
        <apex:repeat value="{!repList}" var="rep" id="repList">
        <table width="100%" border="0">
            <tr>
                <td style="text-align: center;"><span style="font-size: 20pt;">维修工作流程单</span></td>
            </tr>
        </table>
        <table width="100%" border="1" cellspacing="2" style="font-size: 8pt; margin-top: 2px;">
            <tr>
                <td>
                    <table width="100%" border="1" cellspacing="0">
                        <tr>
                            <td colspan="4" class="title">基本信息</td>
                        </tr>
                        <tr>
                            <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" 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" 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" 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" 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">
                        <tr>
                            <td colspan="5" class="title">收货填写区域</td>
                        </tr>
                        <tr>
                            <td width="15%" class="label">收货时间</td>
                            <td width="15%" class="middle"></td>
                            <td width="15%" class="label">外包装是否有破损</td>
                            <td width="10%" style="font-size:120%;padding-left: 10px">无&nbsp;&#9633;&emsp;
                                有&nbsp;&#9633;
                            </td>
                            <td width="45%" style="font-size:120%">&nbsp;如有破损,备注描述:</td>
                        </tr>
                        <tr>
                            <td width="15%" class="label">清洗消毒时间</td>
                            <td colspan="2" class="middle"></td>
                            <td width="10%" class="label">清洗消毒者</td>
                            <td class="middle"></td>
                        </tr>
                    </table> -->
                    <table width="100%" border="1" cellspacing="0">
                        <tr>
                            <td colspan="1" class="title">携带附件</td>
                        </tr>
                        <tr>
                            <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>
                        </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="2" class="title">工作流程记录</td>
                            <td colspan="2" class="title">报价信息记录</td>
                        </tr>
                        <tr>
                            <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" 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" 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%" colspan="3" style="font-size:120%;padding-left: 10px" >修理完成返品&nbsp;&#9633;&emsp;&emsp;&emsp;
                                未修理返品&nbsp;&#9633;
                            </td>
                        </tr> -->
                    <!-- </table>
                    <table width="100%" border="1" cellspacing="0">
                        <tr>
                            <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 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 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>
            </tr>
        </table>
        <!-- 在元素后插入分页符 -->
        <div style="page-break-after: auto;"></div>
        </apex:repeat>
    </body>
</html>
</apex:page>