liuyn
2024-03-11 a87f1c3df03078814ee97ad0c8ac200a232419e9
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
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
<!-- 绑定controller -->
<apex:page controller="NewDBMCAgentPDFController"  showHeader="false" sidebar="false" action="{!init}" renderAs="pdf" applyHtmlTag="false">
<!-- NewDBMCAgentPDFController -->
    <html>
        <!-- head信息start  设置页面布局等总体效果-->
        <head style="font-family: SimSun Arial Unicode MS;">
            <style>
            @page {
                size: A4 portrait;
                margin: 20mm 20mm 10mm 20mm;
                position: relative;
                    background-image:url('{!URLFOR($Resource.Olumpus_WaterMark  )}');
                    background-repeat:no-repeat;
                    background-position:center;
                    opacity: 0.2;
                @Top-right { 
                    content:  "";
                    font-size: 9pt;
                    font-family: Arial Unicode MS;
    
                }
                @bottom-center {
                content: counter(page)" / " counter(pages);
                }
               
            }
            .no-bullet-list {
                list-style-type: none;
                 padding: 0;
                 margin: 0;
                 display: inline-block;
            }
            .no-wrap {
                white-space: nowrap;
            }   
            table { border-collapse: collapse; }
            td.detail { text-align: center; font-size: 8pt} 
            /* table { border-collapse: collapse; 
            font-size: 13pt;} */
            /* td.detail { text-align: center; } */
            .single { width:33px; }
            .double { width:66px; }
            .singleline { height:15px;}
            .doubleline { height:30px;}
            body > .top-right {
                position: absolute;
                top: 10px;
                right: 10px;
                font-size: 12px;      
            }
            </style>
        </head>
        <!-- head信息结束 -->
        <apex:include pageName="NewDBMCAgentPDF2"> </apex:include>
        <body style="font-family: Arial Unicode MS;"> 
            <!-- 标题名 -->
            <table width="100%" cellspacing="0" cellpadding="0" style="font-size:13pt;">
                <!-- 效果1:字体带双划线 -->
                <!-- <tr><td style="text-align: center;font-size: 18pt"><span style="border-bottom:double 3px;">维修业务委托协议</span></td></tr> -->
                <!-- 效果2:字体无效果,加粗,居中,总标题 内容下移30像素-->
                <tr><td style="text-align: center;font-size: 18pt;" >维修业务委托协议</td></tr>
            </table>
 
            <!-- 甲方 乙方 start-->
            <table width="100%" cellspacing="0" cellpadding="0" style="font-size:13pt;">
                <tr><td height="40px"></td></tr>
                <tr>
                    <td width="20px" style="font-size: 13pt;vertical-align: text-top;">委托人:
                    </td>
                    <td style="font-size: 13pt">
                        <c:PDFWbr targetStr="{!targetMC.MP.Dealer__r.Name}(以下简称“甲方”)"/>
                    </td>
                </tr>
                <tr><td height="20px"></td></tr>
                <tr>
                    <td width="20px" style="font-size: 13pt;vertical-align: text-top;">
                        受托人:
                    </td>
                    <td style="font-size: 13pt"> <c:PDFWbr targetStr="{!targetMC.BCompany}(以下简称“乙方”)"/></td>
                </tr>
                <tr><td height="20px"></td></tr>
            </table>
            <table width="100%" cellspacing="0" cellpadding="0" style="font-size:13pt;">
                <tr><td> 
                </td></tr>
                <tr>
                    <!-- <td class ='single'>&nbsp;</td> -->
                    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <c:PDFWbr targetStr="{!targetMC.TermZero_One}"/>
 
                        <!-- 处理遍历数据 start -->
                        <apex:variable var="sum" value="{!0}" />
                        <apex:repeat value="{!targetMC.MCL}" var="MC">
                                <apex:variable var="sum" value="{!sum + MC.Estimate_Asset_Cnt__c}" />
                                <!-- 如果是最后一次单独处理 -->
                                <apex:outputPanel rendered="{!MC == targetMC.MCL[targetMC.MCL.size-1]}">
                                    <u>&nbsp;<c:PDFWbr targetStr="{!MC.Hospital__r.Name}" />&nbsp;</u>
                                    <c:PDFWbr targetStr="{!targetMC.TermZero_Three}" />
                                    <u>&nbsp;<c:PDFWbr targetStr="{!targetMC.MCL.size}" />&nbsp;</u>
                                </apex:outputPanel>
    
                                <!-- 不是最后一次放行 -->
                                <apex:outputPanel rendered="{!MC != targetMC.MCL[targetMC.MCL.size-1]}"> 
                                    <u>&nbsp;<c:PDFWbr targetStr="{!MC.Hospital__r.Name}" />&nbsp;</u>
                                    <c:PDFWbr targetStr="{!targetMC.TermZero_Two}" />
                                </apex:outputPanel>    
                        </apex:repeat>
                        <!-- 处理遍历数据end -->
 
                        <c:PDFWbr targetStr="{!targetMC.TermZero_Five}" />
                        <u>&nbsp;<c:PDFWbr targetStr="{!sum}" />&nbsp;</u>
                        <!-- <apex:outputPanel rendered="{!IF(targetMC.MP.Term_Of_Payment__c != '多次付款' || targetMC.MP.Term_Of_Payment__c == '多次付款' && targetMC.MP.old_Is_RecognitionModel__c == false,'','none')}"> -->
                            <c:PDFWbr targetStr="{!targetMC.TermZero_Four}" />
                        <!-- </apex:outputPanel> -->
                        <!-- <apex:outputPanel rendered="{!IF(targetMC.MP.Term_Of_Payment__c == '多次付款' && targetMC.MP.old_Is_RecognitionModel__c, '', 'none')}">
                            <c:PDFWbr targetStr="{!targetMC.TermZero_Four2}" />
                        </apex:outputPanel> -->
                    </td></tr>
                <tr><td height="15px"></td></tr>
            </table>
            <!-- 甲方 乙方 End-->
 
            <!-- 参保设备清单参见附件 start -->
            <table width="100%" cellspacing="0" cellpadding="0" style="font-size:13pt;">
                <tr>
                    <!-- <td class ='single' style="vertical-align: text-top;">一、</td> -->
                    <td>
                        <c:PDFWbr targetStr="{!targetMC.TermOne_One}"/>
                    </td>
                </tr>   
                 <tr>
                    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <c:PDFWbr targetStr="{!targetMC.TermOne_Two}"/>
                    </td>
                </tr>
                <tr><td height="15px"></td></tr>
            </table>
            <!-- 参保设备清单参见附件 end -->
 
            <!-- 合同服务期限 start-->
            <table width="100%" cellspacing="0" cellpadding="0" style="font-size:13pt;">
                <tr><td> 
                </td></tr>
                <tr>
                    <!-- <td class ='single'>&nbsp;</td> -->
                    <td>
                        <c:PDFWbr targetStr="{!targetMC.TermTwo_One}"/>
                    </td>
                </tr>
                <apex:variable var="count" value="{!0}" />
                <!-- 遍历数据 -->
                <apex:dataList styleClass="no-bullet-list" value="{!targetMC.MCL}" var="MC">
                    <apex:variable var="count" value="{!count +1}" />
                        <tr>
                            <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <c:PDFWbr targetStr="{!count}、 {!targetMC.TermTwo_Two}" />
                                <u>&nbsp;<c:PDFWbr targetStr="{!MC.Hospital__r.Name}" />&nbsp;</u>
                                <!-- <apex:outputPanel rendered="{!IF(targetMC.MP.Term_Of_Payment__c == '多次付款' && targetMC.MP.old_Is_RecognitionModel__c, '', 'none')}">
                                    于&nbsp;<c:PDFWbr targetStr="{!TEXT(Year(MC.CreatedDate__c))}" />&nbsp;
                                    <c:PDFWbr targetStr="{!targetMC.TermTwo_Six}" />
                                    &nbsp;<c:PDFWbr targetStr="{!TEXT(MONTH(MC.CreatedDate__c))}" />&nbsp;
                                    <c:PDFWbr targetStr="{!targetMC.TermTwo_Seven}" />
                                    &nbsp;<c:PDFWbr targetStr="{!TEXT(DAY(MC.CreatedDate__c))}" />&nbsp;
                                </apex:outputPanel> -->
                               
                                <c:PDFWbr targetStr="{!targetMC.TermTwo_Three}" />
                                <u>&nbsp;<c:PDFWbr targetStr="{!MC.Management_Code__c}" />&nbsp;</u>
                                <c:PDFWbr targetStr="{!targetMC.TermTwo_Four}" />
                                <u>&nbsp;<c:PDFWbr targetStr="{!MC.Estimate_Asset_Cnt__c}" />&nbsp;</u>
                                <c:PDFWbr targetStr="{!targetMC.TermTwo_Five}" />
                                &nbsp;<c:PDFWbr targetStr="{!TEXT(Year(MC.Contract_Start_Date__c))}" />&nbsp;
                                <c:PDFWbr targetStr="{!targetMC.TermTwo_Six}" />
                                &nbsp;<c:PDFWbr targetStr="{!TEXT(MONTH(MC.Contract_Start_Date__c))}" />&nbsp;
                                <c:PDFWbr targetStr="{!targetMC.TermTwo_Seven}" />
                                &nbsp;<c:PDFWbr targetStr="{!TEXT(DAY(MC.Contract_Start_Date__c))}" />&nbsp;
                                <c:PDFWbr targetStr="{!targetMC.TermTwo_Eight}" />
                                &nbsp;<c:PDFWbr targetStr="{!TEXT(Year(MC.Contract_End_Date__c))}" />&nbsp;
                                <c:PDFWbr targetStr="{!targetMC.TermTwo_Six}" />
                                &nbsp;<c:PDFWbr targetStr="{!TEXT(MONTH(MC.Contract_End_Date__c))}" />&nbsp;
                                <c:PDFWbr targetStr="{!targetMC.TermTwo_Seven}" />
                               &nbsp;<c:PDFWbr targetStr="{!TEXT(DAY(MC.Contract_End_Date__c))}" />&nbsp;
                                <c:PDFWbr targetStr="{!targetMC.TermTwo_Nine}" />
                            </td>
                        </tr>
                    
                </apex:dataList>
                
                <tr><td height="15px"></td></tr>
            </table>
            <!-- 合同服务期限 End -->
 
            <!-- 合同金额 start-->
            <table width="100%" cellspacing="0" cellpadding="0" style="font-size:13pt;">
                <tr><td> 
                </td></tr>
                <tr>
                    <!-- <td class ='single'>&nbsp;</td> -->
                    <td>
                        <c:PDFWbr targetStr="{!targetMC.TermThree_One}"/>
                        <u>&nbsp;<c:PDFWbr targetStr="{!targetMC.FieldRequest_quotation_Amount}" id="FieldRequest_quotation_Amount"/>&nbsp;</u>
                        <c:PDFWbr targetStr="{!targetMC.TermThree_Two}"/>
                        <u>&nbsp;<c:PDFWbr targetStr="{!targetMC.MP.Total_FieldRequest_quotation_In_Words__c}" />&nbsp;</u>
                        <c:PDFWbr targetStr="{!targetMC.TermThree_Three}"/>
                    </td>
                </tr>
                <apex:variable var="count2" value="{!0}" />
                <!-- 遍历小合同金额数据 start -->
                <apex:dataList styleClass="no-bullet-list" value="{!targetMC.MCL}" var="MC">
                    <apex:variable var="count2" value="{!count2 +1}" />
                    <tr>
                        <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <c:PDFWbr targetStr="{!count2}、 {!targetMC.TermThree_Four}" />
                            <u>&nbsp;<c:PDFWbr targetStr="{!MC.Management_Code__c}" />&nbsp;</u>
                            <c:PDFWbr targetStr="{!targetMC.TermThree_Five}" />
                            <u>&nbsp;<c:PDFWbr targetStr="{!MC.Contract_Amount_Text__c}" />&nbsp;</u>
                            <c:PDFWbr targetStr="{!targetMC.TermThree_Six}" />
                            <u>&nbsp;<c:PDFWbr targetStr="{!MC.Total_Contract_Amount_In_Words__c}" />&nbsp;</u>
                            <c:PDFWbr targetStr="{!targetMC.TermThree_Three}" />
                        </td>
                    </tr>
                </apex:dataList>
 
                <!-- 遍历小合同金额数据 end -->
                <tr><td height="15px"></td></tr>
            </table>
            <!-- 合同金额 End-->
 
            <!-- 乙方责任范围 start-->
            <table width="100%" cellspacing="0" cellpadding="0" style="font-size:13pt;">
                <tr><td> 
                </td></tr>
                <tr>
                    <td>
                        <c:PDFWbr targetStr="{!targetMC.Term4_One}"/>
                        <u>&nbsp;<c:PDFWbr targetStr="{!targetMC.Limit_Price_Amount}" />&nbsp;</u>
                        <c:PDFWbr targetStr="{!targetMC.TermThree_Two}"/>
                        <u>&nbsp;<c:PDFWbr targetStr="{!targetMC.MP.Limit_Price_Amount_In_Words__c}" />&nbsp;</u>
                        <c:PDFWbr targetStr="{!targetMC.TermThree_Three}"/>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <c:PDFWbr targetStr="{!targetMC.Term4_Two}" />
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <c:PDFWbr targetStr="{!targetMC.Term4_Three}" />
                    </td>
                </tr>
                <tr>
                    <td>
                         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <c:PDFWbr targetStr="{!targetMC.Term4_Four}" />
                    </td>
                </tr>
                <tr><td height="15px"></td></tr>
            </table>
            <!-- 乙方责任范围 end-->
 
             <!-- 五、 付款方式 start-->
             <table width="100%" cellspacing="0" cellpadding="0" style="font-size:13pt;">
                <tr><td><c:PDFWbr targetStr="{!targetMC.TermFour_One}"/></td></tr>
                
                <!-- 判断付款方式是否是非先款 一次性付款 -->
                <apex:outputPanel rendered="{!IF(targetMC.MP.Term_Of_Payment__c == '一次性付款', 'true', 'false')}">
                    <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <c:PDFWbr targetStr="{!targetMC.TermFour_Once_One}" />
                        <u>&nbsp;<c:PDFWbr targetStr="{!targetMC.MP.one_off_payment_agreed_period__c}" />&nbsp;</u>
                        <c:PDFWbr targetStr="{!targetMC.TermFour_Once_Two}" />
                    </td></tr>
                    <tr><td>
                        <u>&nbsp;¥<c:PDFWbr targetStr="{!targetMC.FieldRequest_quotation_Amount}" />&nbsp;</u>
                        <c:PDFWbr targetStr="{!targetMC.TermFour_Once_Three}" />
                        <u>&nbsp;<c:PDFWbr targetStr="{!targetMC.MP.Total_FieldRequest_quotation_In_Words__c}" />&nbsp;</u>
                        <c:PDFWbr targetStr="{!targetMC.TermFour_Once_Four}" />
                        <apex:outputPanel rendered="{!IF(targetMC.MP.old_Is_RecognitionModel__c,'','none')}">
                            <c:PDFWbr targetStr="乙方收到甲方款项并完成认款后的7个工作日内向甲方提供正规发票。" />
                        </apex:outputPanel>
                    </td></tr>
                </apex:outputPanel>
                <!-- 判断付款方式是否是非先款 多次付款 -->
                <apex:outputPanel rendered="{!IF(targetMC.MP.Term_Of_Payment__c == '多次付款', 'true', 'false')}">
                    <!-- <tr><td><c:PDFWbr targetStr="{!targetMC.TermFour_Much}" /></td></tr> -->
                    <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <c:PDFWbr targetStr="{!targetMC.TermFour_Much_One}" />
                        <u>&nbsp;<c:PDFWbr targetStr="{!targetMC.Total_Payment_Time}" />&nbsp;</u>
                        <c:PDFWbr targetStr="{!targetMC.TermFour_Much_Two}" />
                    </td></tr>
                    <!-- 判断: 多次付款次数不为空并且多次付款次数必须大于等于1-->
                    <apex:outputPanel rendered="{!targetMC.Total_Payment_Time != null && targetMC.Total_Payment_Time >= 1}">
                        <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <c:PDFWbr targetStr="{!targetMC.TermFour_Much1}" />
                            <u>&nbsp;<c:PDFWbr targetStr="{!TEXT(Year(targetMC.MP.Payment_Plan_Date_First__c))}"/>&nbsp;</u>年
                            <u>&nbsp;<c:PDFWbr targetStr="{!TEXT(Month(targetMC.MP.Payment_Plan_Date_First__c))}"/>&nbsp;</u>月
                            <u>&nbsp;<c:PDFWbr targetStr="{!TEXT(Day(targetMC.MP.Payment_Plan_Date_First__c))}"/>&nbsp;</u>日
                            
                            <c:PDFWbr targetStr="{!targetMC.TermFour_Much_Same1}" />
                            <u>&nbsp;<c:PDFWbr targetStr="{!targetMC.Payment_Plan_Sum_First}" />&nbsp;</u>
                            <c:PDFWbr targetStr="{!targetMC.TermFour_Much_Same2}" />
                            <u>&nbsp;<c:PDFWbr targetStr="{!targetMC.MP.Payment_Plan_Sum_First_in_Word__c}" />&nbsp;</u>
                            <c:PDFWbr targetStr="{!targetMC.TermFour_Much_Same3}" />
                        </td></tr>
                    </apex:outputPanel>
                    <!-- 判断: 多次付款次数不为空并且多次付款次数必须大于等于2-->
                    <apex:outputPanel rendered="{!targetMC.Total_Payment_Time != null && targetMC.Total_Payment_Time >= 2}">
                        <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <c:PDFWbr targetStr="{!targetMC.TermFour_Much2}" />
                            <u>&nbsp;<c:PDFWbr targetStr="{!TEXT(Year(targetMC.MP.Payment_Plan_Date_Second__c))}"/>&nbsp;</u>年
                            <u>&nbsp;<c:PDFWbr targetStr="{!TEXT(Month(targetMC.MP.Payment_Plan_Date_Second__c))}"/>&nbsp;</u>月
                            <u>&nbsp;<c:PDFWbr targetStr="{!TEXT(Day(targetMC.MP.Payment_Plan_Date_Second__c))}"/>&nbsp;</u>日
                            
                            <c:PDFWbr targetStr="{!targetMC.TermFour_Much_Same1}" />
                            <u>&nbsp;<c:PDFWbr targetStr="{!targetMC.Payment_Plan_Sum_Second}" />&nbsp;</u>
                            <c:PDFWbr targetStr="{!targetMC.TermFour_Much_Same2}" />
                            <u>&nbsp;<c:PDFWbr targetStr="{!targetMC.MP.Payment_Plan_Sum_Second_in_Word__c}" />&nbsp;</u>
                            <c:PDFWbr targetStr="{!targetMC.TermFour_Much_Same3}" />
                        </td></tr>
                    </apex:outputPanel>
                    <!-- 判断: 多次付款次数不为空并且多次付款次数必须大于3-->
                    <apex:outputPanel rendered="{!targetMC.Total_Payment_Time != null && targetMC.Total_Payment_Time>= 3}">
                        <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <c:PDFWbr targetStr="{!targetMC.TermFour_Much3}" />
                            <u>&nbsp;<c:PDFWbr targetStr="{!TEXT(Year(targetMC.MP.Payment_Plan_Date_Third__c))}"/>&nbsp;</u>年
                            <u>&nbsp;<c:PDFWbr targetStr="{!TEXT(Month(targetMC.MP.Payment_Plan_Date_Third__c))}"/>&nbsp;</u>月
                            <u>&nbsp;<c:PDFWbr targetStr="{!TEXT(Day(targetMC.MP.Payment_Plan_Date_Third__c))}"/>&nbsp;</u>日
                            
                            <c:PDFWbr targetStr="{!targetMC.TermFour_Much_Same1}" />
                            <u>&nbsp;<c:PDFWbr targetStr="{!targetMC.Payment_Plan_Sum_Third}" />&nbsp;</u>
                            <c:PDFWbr targetStr="{!targetMC.TermFour_Much_Same2}" />
                            <u>&nbsp;<c:PDFWbr targetStr="{!targetMC.MP.Payment_Plan_Sum_Third_in_Word__c}" />&nbsp;</u>
                            <c:PDFWbr targetStr="{!targetMC.TermFour_Much_Same3}" />
                        </td></tr>
                    </apex:outputPanel>
                    <!-- 判断: 多次付款次数不为空并且多次付款次数必须大于等于4-->
                    <apex:outputPanel rendered="{!targetMC.Total_Payment_Time != null && targetMC.Total_Payment_Time >= 4}">
                        <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <c:PDFWbr targetStr="{!targetMC.TermFour_Much4}" />
                            <u>&nbsp;<c:PDFWbr targetStr="{!TEXT(Year(targetMC.MP.Payment_Plan_Date_Forth__c))}"/>&nbsp;</u>年
                            <u>&nbsp;<c:PDFWbr targetStr="{!TEXT(Month(targetMC.MP.Payment_Plan_Date_Forth__c))}"/>&nbsp;</u>月
                            <u>&nbsp;<c:PDFWbr targetStr="{!TEXT(Day(targetMC.MP.Payment_Plan_Date_Forth__c))}"/>&nbsp;</u>日
                            
                            <c:PDFWbr targetStr="{!targetMC.TermFour_Much_Same1}" />
                            <u>&nbsp;<c:PDFWbr targetStr="{!targetMC.Payment_Plan_Sum_Forth}" />&nbsp;</u>
                            <c:PDFWbr targetStr="{!targetMC.TermFour_Much_Same2}" />
                            <u>&nbsp;<c:PDFWbr targetStr="{!targetMC.MP.Payment_Plan_Sum_Forth_in_Word__c}" />&nbsp;</u>
                            <c:PDFWbr targetStr="{!targetMC.TermFour_Much_Same3}" />
                        </td></tr>
                    </apex:outputPanel>
                    <!-- 判断: 多次付款次数不为空并且多次付款次数必须大于等于5-->
                    <apex:outputPanel rendered="{!targetMC.Total_Payment_Time != null && targetMC.Total_Payment_Time >= 5}">
                        <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <c:PDFWbr targetStr="{!targetMC.TermFour_Much5}" />
                            <u>&nbsp;<c:PDFWbr targetStr="{!TEXT(Year(targetMC.MP.Payment_Plan_Date_Fifth__c))}"/>&nbsp;</u>年
                            <u>&nbsp;<c:PDFWbr targetStr="{!TEXT(Month(targetMC.MP.Payment_Plan_Date_Fifth__c))}"/>&nbsp;</u>月
                            <u>&nbsp;<c:PDFWbr targetStr="{!TEXT(Day(targetMC.MP.Payment_Plan_Date_Fifth__c))}"/>&nbsp;</u>日
                            
                            <c:PDFWbr targetStr="{!targetMC.TermFour_Much_Same1}" />
                            <u>&nbsp;<c:PDFWbr targetStr="{!targetMC.Payment_Plan_Sum_Fifth}" />&nbsp;</u>
                            <c:PDFWbr targetStr="{!targetMC.TermFour_Much_Same2}" />
                            <u>&nbsp;<c:PDFWbr targetStr="{!targetMC.MP.Payment_Plan_Sum_Fifth_in_Word__c}" />&nbsp;</u>
                            <c:PDFWbr targetStr="{!targetMC.TermFour_Much_Same3}" />
                        </td></tr>
                    </apex:outputPanel>
                    <!-- 判断: 多次付款次数不为空并且多次付款次数必须大于等于6-->
                    <apex:outputPanel rendered="{!targetMC.Total_Payment_Time != null && targetMC.Total_Payment_Time >= 6}">
                        <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <c:PDFWbr targetStr="{!targetMC.TermFour_Much6}" />
                            <u>&nbsp;<c:PDFWbr targetStr="{!TEXT(Year(targetMC.MP.Payment_Plan_Date_Sixth__c))}"/>&nbsp;</u>年
                            <u>&nbsp;<c:PDFWbr targetStr="{!TEXT(Month(targetMC.MP.Payment_Plan_Date_Sixth__c))}"/>&nbsp;</u>月
                            <u>&nbsp;<c:PDFWbr targetStr="{!TEXT(Day(targetMC.MP.Payment_Plan_Date_Sixth__c))}"/>&nbsp;</u>日
                            
                            <c:PDFWbr targetStr="{!targetMC.TermFour_Much_Same1}" />
                            <u>&nbsp;<c:PDFWbr targetStr="{!targetMC.Payment_Plan_Sum_Sixth}" />&nbsp;</u>
                            <c:PDFWbr targetStr="{!targetMC.TermFour_Much_Same2}" />
                            <u>&nbsp;<c:PDFWbr targetStr="{!targetMC.MP.Payment_Plan_Sum_Sixth_in_Word__c}" />&nbsp;</u>
                            <c:PDFWbr targetStr="{!targetMC.TermFour_Much_Same3}" />
                        </td></tr>
                    </apex:outputPanel>
                    <apex:outputPanel rendered="{!IF(targetMC.MP.Term_Of_Payment__c == '多次付款' && targetMC.MP.old_Is_RecognitionModel__c, '', 'none')}">
                        <c:PDFWbr targetStr="乙方收到甲方每期款项并完成认款后的7个工作日内向甲方提供对应金额的正规发票。" />
                    </apex:outputPanel>
                </apex:outputPanel>
 
                <tr><td height="15px"></td></tr>
            </table>
            <!-- 付款方式 end-->
            <!-- 乙方责任范围start -->
                <tr><td><c:PDFWbr targetStr="{!targetMC.TermFive_Title}" /></td></tr>
                <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <!-- <apex:outputPanel rendered="{!IF(targetMC.MP.Term_Of_Payment__c != '多次付款' || targetMC.MP.Term_Of_Payment__c == '多次付款' && targetMC.MP.old_Is_RecognitionModel__c == false,'','none')}"> -->
                        <apex:outputPanel rendered="{!IF(targetMC.MP.old_Is_RecognitionModel__c,'','none')}">
                            <c:PDFWbr targetStr="{!targetMC.TermXian_Head}" />
                        </apex:outputPanel>
                        <apex:outputPanel rendered="{!IF(NOT(targetMC.MP.old_Is_RecognitionModel__c),'','none')}">
                            <c:PDFWbr targetStr="{!targetMC.TermFive_Head}" />
                        </apex:outputPanel>
                    <!-- </apex:outputPanel> -->
                    <!-- <apex:outputPanel rendered="{!IF(targetMC.MP.Term_Of_Payment__c == '多次付款' && targetMC.MP.old_Is_RecognitionModel__c, '', 'none')}">
                        <c:PDFWbr targetStr="{!targetMC.TermXian_Head2}" />
                    </apex:outputPanel> -->
                   
 
                </td></tr>
                <tr><td><c:PDFWbr targetStr="{!targetMC.TermFive_One}" /></td></tr>
                <tr><td><c:PDFWbr targetStr="{!targetMC.TermFive_One2}" /></td></tr>
                <tr><td>
                <c:PDFWbr targetStr="{!targetMC.TermFive_Two}" />
                <u>&nbsp;<c:PDFWbr targetStr="{!targetMC.MP.Small_Repair_Time__c}" />&nbsp;</u>
                <c:PDFWbr targetStr="{!targetMC.TermFive_Two2}" />
                </td></tr>
                <tr><td>
                    <c:PDFWbr targetStr="{!targetMC.TermFive_Three}" />
                    <u>&nbsp;<c:PDFWbr targetStr="{!targetMC.MP.Big_Repair_Time__c}" />&nbsp;</u>
                    <c:PDFWbr targetStr="{!targetMC.TermFive_Three1}" />
                </td></tr>
                <tr><td><c:PDFWbr targetStr="{!targetMC.TermFive_Four}" /></td></tr>
                <tr><td><c:PDFWbr targetStr="{!targetMC.TermFive_Five}" /></td></tr>
                <tr><td><c:PDFWbr targetStr="{!targetMC.TermFive_Five2}" /></td></tr>
                <tr><td><c:PDFWbr targetStr="{!targetMC.TermFive_Six}" /></td></tr>
                <tr><td><c:PDFWbr targetStr="{!targetMC.TermFive_Seven}" /></td></tr>
                <!-- <apex:outputPanel rendered="{!IF(targetMC.MP.Term_Of_Payment__c != '多次付款' || targetMC.MP.Term_Of_Payment__c == '多次付款' && targetMC.MP.old_Is_RecognitionModel__c == false,'','none')}"> -->
                    <tr><td><c:PDFWbr targetStr="{!targetMC.TermFive_Eight}" /></td></tr>
                <!-- </apex:outputPanel> -->
                <!-- <apex:outputPanel rendered="{!IF(targetMC.MP.Term_Of_Payment__c == '多次付款' && targetMC.MP.old_Is_RecognitionModel__c, '', 'none')}">
                    <tr><td><c:PDFWbr targetStr="{!targetMC.TermFive_Eight2}" /></td></tr>
                </apex:outputPanel> -->
 
                <tr><td>
                    <c:PDFWbr targetStr="{!targetMC.TermFive_Nine_One}" />
                    <u>&nbsp;<c:PDFWbr targetStr="{!targetMC.MP.Inspection_Time__c}" />&nbsp;</u>
                    <c:PDFWbr targetStr="{!targetMC.TermFive_Nine_Two}" />
                </td></tr>
                <tr><td><c:PDFWbr targetStr="{!targetMC.TermFive_Eleven1}" /></td></tr>
                <tr><td><c:PDFWbr targetStr="{!targetMC.TermFive_Eleven2}" /></td></tr>
                <tr><td><c:PDFWbr targetStr="{!targetMC.TermFive_Eleven}" /></td></tr>
                    <table border="2px" style="border-style: solid; border-bottom-style: none;" cellspacing="0" cellpadding="0">
                        <tr>
                            <td>{!targetMC.TermFive_Table11}</td><td>{!targetMC.TermFive_Table12}</td>
                        </tr>
                        <tr>
                            <td>{!targetMC.TermFive_Table21}</td><td>{!targetMC.TermFive_Table22}</td>
                        </tr>
                        <tr>
                            <td>{!targetMC.TermFive_Table31}</td><td>{!targetMC.TermFive_Table32}</td>
                        </tr>
                        <tr>
                            <td>{!targetMC.TermFive_Table41}</td><td>{!targetMC.TermFive_Table42}</td>
                        </tr>
                        <tr>
                            <td>{!targetMC.TermFive_Table51}</td><td>{!targetMC.TermFive_Table52}</td>
                        </tr>
                    </table>
                <tr><td height="15px"></td></tr>
                <!-- 乙方责任范围end -->
            <!-- 七、 甲方责任范围 start -->
            <tr><td height="15px"></td></tr>
            <tr><td><c:PDFWbr targetStr="{!targetMC.TermSix_Title}" /></td></tr>
            <tr><td><c:PDFWbr targetStr="{!targetMC.TermSix_One}" /></td></tr>
            <tr><td><c:PDFWbr targetStr="{!targetMC.TermSix_Two}" /></td></tr>
            <tr><td><c:PDFWbr targetStr="{!targetMC.TermSix_Three}" /></td></tr>
            <tr><td><c:PDFWbr targetStr="{!targetMC.TermSix_Four}" /></td></tr>
            <tr><td><c:PDFWbr targetStr="{!targetMC.TermSix_Five}" /></td></tr>
            <tr><td><c:PDFWbr targetStr="{!targetMC.TermSix_Six}" /></td></tr>
            <tr><td><c:PDFWbr targetStr="{!targetMC.TermSix_Seven}" /></td></tr>
            <tr><td><c:PDFWbr targetStr="{!targetMC.TermSix_Eight}" /></td></tr>
            <tr><td><c:PDFWbr targetStr="{!targetMC.TermSix_Nine}" /></td></tr>
            <tr><td><c:PDFWbr targetStr="{!targetMC.TermSix_Ten}" /></td></tr>
            <tr><td><c:PDFWbr targetStr="{!targetMC.TermSix_eleven}" /></td></tr>
            <!-- 七、 甲方责任范围 end -->
 
            <!-- 合同变更、修改、解除和终止 start -->
            <!-- <apex:outputPanel rendered="{!IF(targetMC.MP.Term_Of_Payment__c != '多次付款' || targetMC.MP.Term_Of_Payment__c == '多次付款' && targetMC.MP.old_Is_RecognitionModel__c == false,'','none')}"> -->
                <tr><td height="15px"></td></tr>
                <tr><td><c:PDFWbr targetStr="{!targetMC.TermEightAppend_Title}" /></td></tr>
                <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<c:PDFWbr targetStr="{!targetMC.TermEightAppend_One}" /></td></tr>
                <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<c:PDFWbr targetStr="{!targetMC.TermEightAppend_Two}" /></td></tr>
                <tr><td><c:PDFWbr targetStr="{!targetMC.TermEightAppend_Three}" /></td></tr>
                <tr><td><c:PDFWbr targetStr="{!targetMC.TermEightAppend_Three1}" /></td></tr>
                <tr><td><c:PDFWbr targetStr="{!targetMC.TermEightAppend_Four}" /></td></tr>
                <tr><td><c:PDFWbr targetStr="{!targetMC.TermEightAppend_Five}" /></td></tr>
                <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<c:PDFWbr targetStr="{!targetMC.TermEightAppend_Six}" /></td></tr>
                <tr><td height="15px"></td></tr>   
            <!-- </apex:outputPanel> -->
            <!-- <apex:outputPanel rendered="{!IF(targetMC.MP.Term_Of_Payment__c == '多次付款' && targetMC.MP.old_Is_RecognitionModel__c==true, '', 'none')}">
                <tr><td height="15px"></td></tr>
                <tr><td><c:PDFWbr targetStr="八、   甲乙双方同意本合同进行续签时,继续参加合同的参保设备的续签金额由该设备在本合同中的参保价格与本合同的合同消费率计算,公式:续签金额=本合同参保价格*(1+调整比例%)。" /></td></tr>
                <tr><td><c:PDFWbr targetStr="(注:合同消费率=本合同委托期限内所有参保设备发生的维修报价金额之和/合同金额*100%。委托期限届满前由乙方负责对合同消费率进行预估,双方认可后可以按此作为制定续签金额的依据。)”" /></td></tr>
                <tr><td>1、</td></tr>
                <table border="2px" style="border-style: solid; border-bottom-style: none;" cellspacing="0" cellpadding="0">
                    <tr>
                        <td  bgcolor="#ffcc22">合同消费率(X)</td><td  bgcolor="#ffcc22">调整比例%</td>
                    </tr>
                    <tr>
                        <td>{!targetMC.TermSeven_Table11}</td><td>{!targetMC.TermSeven_Table12}</td>
                    </tr>
                    <tr>
                        <td>{!targetMC.TermSeven_Table21}</td><td>{!targetMC.TermSeven_Table22}</td>
                    </tr>
                    <tr>
                        <td>{!targetMC.TermSeven_Table31}</td><td>{!targetMC.TermSeven_Table32}</td>
                    </tr>
                    <tr>
                        <td>{!targetMC.TermSeven_Table41}</td><td>{!targetMC.TermSeven_Table42}</td>
                    </tr>
                    <tr>
                        <td>{!targetMC.TermSeven_Table51}</td><td>{!targetMC.TermSeven_Table52}</td>
                    </tr>
                    <tr>
                        <td>{!targetMC.TermSeven_Table61}</td><td>{!targetMC.TermSeven_Table62}</td>
                    </tr>
                    <tr>
                        <td>{!targetMC.TermSeven_Table71}</td><td>{!targetMC.TermSeven_Table72}</td>
                    </tr>
                    <tr>
                        <td>{!targetMC.TermSeven_Table81}</td><td>{!targetMC.TermSeven_Table82}</td>
                    </tr>
                    <tr>
                        <td>{!targetMC.TermSeven_Table91}</td><td>{!targetMC.TermSeven_Table92}</td>
                    </tr>
                    <tr>
                        <td>{!targetMC.TermSeven_Table101}</td><td>{!targetMC.TermSeven_Table102}</td>
                    </tr>
                    <tr>
                        <td>{!targetMC.TermSeven_Table111}</td><td>{!targetMC.TermSeven_Table112}</td>
                    </tr>
                </table>
                <tr>
                    <td>
                        <c:PDFWbr targetStr="2、   如参加续签的参保设备包含本合同项下设备以外的设备,则这部分设备的合同金额由双方另行协商约定。" />
                    </td>
                </tr>
                <tr><td height="15px"></td></tr>
            </apex:outputPanel> -->
            <!-- 合同变更、修改、解除和终止 end --> 
            <!-- <apex:outputPanel rendered="{!IF(targetMC.MP.Term_Of_Payment__c == '多次付款' && targetMC.MP.old_Is_RecognitionModel__c, '', 'none')}">
                <tr><td height="15px"></td></tr>
                <tr><td><c:PDFWbr targetStr="{!targetMC.TermEightAppend_Title2}" /></td></tr>
                <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<c:PDFWbr targetStr="{!targetMC.TermEightAppend_One2}" /></td></tr>
                <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<c:PDFWbr targetStr="{!targetMC.TermEightAppend_Two2}" /></td></tr>
                <tr><td><c:PDFWbr targetStr="{!targetMC.TermEightAppend_Three2}" /></td></tr>
                <tr><td><c:PDFWbr targetStr="{!targetMC.TermEightAppend_Three12}" /></td></tr>
                <tr><td><c:PDFWbr targetStr="{!targetMC.TermEightAppend_Four2}" /></td></tr>
                <tr><td><c:PDFWbr targetStr="{!targetMC.TermEightAppend_Five2}" /></td></tr>
                <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<c:PDFWbr targetStr="{!targetMC.TermEightAppend_Six2}" /></td></tr>
                <tr><td height="15px"></td></tr>   
            </apex:outputPanel> -->
            <!-- 法令遵守 start -->
            <!-- <apex:outputPanel rendered="{!IF(targetMC.MP.Term_Of_Payment__c != '多次付款' || targetMC.MP.Term_Of_Payment__c == '多次付款' && targetMC.MP.old_Is_RecognitionModel__c == false,'','none')}"> -->
                <tr><td><c:PDFWbr targetStr="{!targetMC.TermNine_Title}" /></td></tr>
            <!-- </apex:outputPanel> -->
            <!-- <apex:outputPanel rendered="{!IF(targetMC.MP.Term_Of_Payment__c == '多次付款' && targetMC.MP.old_Is_RecognitionModel__c, '', 'none')}">
                <tr><td><c:PDFWbr targetStr="十、   法令遵守" /></td></tr>
            </apex:outputPanel> -->
            <tr><td><c:PDFWbr targetStr="{!targetMC.TermNine_1}" /></td></tr>
            <tr><td><c:PDFWbr targetStr="{!targetMC.TermNine_2}" /></td></tr>
            <tr><td><c:PDFWbr targetStr="{!targetMC.TermNine_3}" /></td></tr>
            <tr><td><c:PDFWbr targetStr="{!targetMC.TermNine_4}" /></td></tr>
            <tr><td><c:PDFWbr targetStr="{!targetMC.TermNine_4_one}" /></td></tr>
            <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<c:PDFWbr targetStr="{!targetMC.TermNine_4_two}" /></td></tr>
            <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<c:PDFWbr targetStr="{!targetMC.TermNine_431}" /></td></tr>
            <!-- <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<c:PDFWbr targetStr="{!targetMC.TermNine_432}" /></td></tr> -->
            <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<c:PDFWbr targetStr="{!targetMC.TermNine_4_four}" /></td></tr>
            <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<c:PDFWbr targetStr="{!targetMC.TermNine_4_five}" /></td></tr>
            <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<c:PDFWbr targetStr="{!targetMC.TermNine_4_six}" /></td></tr>
            <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<c:PDFWbr targetStr="{!targetMC.TermNine_4_seven}" /></td></tr>
            <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<c:PDFWbr targetStr="{!targetMC.TermNine_4_eight}" /></td></tr>
            <tr><td><c:PDFWbr targetStr="{!targetMC.TermNine_4_nine}" /></td></tr>
            <tr><td height="15px"></td></tr>
            <!-- 法令遵守 end -->
 
            <!-- 10 -->
            <!-- <apex:outputPanel rendered="{!IF(targetMC.MP.Term_Of_Payment__c != '多次付款' || targetMC.MP.Term_Of_Payment__c == '多次付款' && targetMC.MP.old_Is_RecognitionModel__c == false,'','none')}"> -->
                <tr><td><c:PDFWbr targetStr="{!targetMC.TermTen_Title}" /></td></tr>
            <!-- </apex:outputPanel> -->
            <!-- <apex:outputPanel rendered="{!IF(targetMC.MP.Term_Of_Payment__c == '多次付款' && targetMC.MP.old_Is_RecognitionModel__c, '', 'none')}">
                <tr><td><c:PDFWbr targetStr="十一、 本合同的解释与执行适用中华人民共和国法律,在履行本合同过程中出现的争议双方应友好协商解决;因本合同引起的或与本合同有关的任何争议,均提请北京仲裁委员会按照其仲裁规则进行仲裁。仲裁裁决是终局的,对双方均有约束力。" /></td></tr>
            </apex:outputPanel> -->
           
            <tr><td height="15px"></td></tr>
            <!-- 10 -->
 
            <!-- 11 -->
            <!-- <apex:outputPanel rendered="{!IF(targetMC.MP.Term_Of_Payment__c != '多次付款' || targetMC.MP.Term_Of_Payment__c == '多次付款' && targetMC.MP.old_Is_RecognitionModel__c == false,'','none')}"> -->
                <tr><td><c:PDFWbr targetStr="{!targetMC.TermEleven_Title}" /></td></tr>
            <!-- </apex:outputPanel> -->
            <!-- <apex:outputPanel rendered="{!IF(targetMC.MP.Term_Of_Payment__c == '多次付款' && targetMC.MP.old_Is_RecognitionModel__c, '', 'none')}">
                <tr><td><c:PDFWbr targetStr="十二、 若甲方是乙方的特约经销商,则自合同签订起,甲乙双方同意共享甲方与乙方签署《特约经销商合同》所缴纳的全额保证金。发生以下情况时,乙方有权从甲方所缴纳的保证金中予以直接扣除:" /></td></tr>
            </apex:outputPanel> -->
            <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<c:PDFWbr targetStr="{!targetMC.TermEleven_One}" /></td></tr>
            <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<c:PDFWbr targetStr="{!targetMC.TermEleven_Two}" /></td></tr>
            <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<c:PDFWbr targetStr="{!targetMC.TermEleven_Three}" /></td></tr>
            <tr><td height="15px"></td></tr>
            <!-- 11 -->
 
            <!-- 12 -->
            <!-- <apex:outputPanel rendered="{!IF(targetMC.MP.Term_Of_Payment__c != '多次付款' || targetMC.MP.Term_Of_Payment__c == '多次付款' && targetMC.MP.old_Is_RecognitionModel__c == false,'','none')}"> -->
                <tr>
                    <td><c:PDFWbr targetStr="{!targetMC.TermTwelve_Title}" />
                    <u>&nbsp;<c:PDFWbr targetStr="{!targetMC.MP.First_Party_Contract_Number__c}" />&nbsp;</u>
                    <c:PDFWbr targetStr="{!targetMC.TermTwelve_one}" />
                    </td>    
                </tr>
            <!-- </apex:outputPanel> -->
            <!-- <apex:outputPanel rendered="{!IF(targetMC.MP.Term_Of_Payment__c == '多次付款' && targetMC.MP.old_Is_RecognitionModel__c, '', 'none')}">
                <tr>
                    <td><c:PDFWbr targetStr="十三、 本协议甲方执" />
                    <u>&nbsp;<c:PDFWbr targetStr="{!targetMC.MP.First_Party_Contract_Number__c}" />&nbsp;</u>
                    <c:PDFWbr targetStr="{!targetMC.TermTwelve_one}" />
                    </td>    
                </tr>
            </apex:outputPanel> -->
            <tr><td height="15px"></td></tr>
            <!-- 12 -->
            <!-- 甲乙方start -->
            <table width="100%" cellspacing="1" cellpadding="1" style="font-size:13pt;">
                <tr><td height="15px"></td></tr>
                <tr>
                    <td style="font-size: 14pt;vertical-align: text-top;">甲方:&nbsp;</td>
                    <td width="50%" style="font-size: 14pt;vertical-align: text-top;">
                    <c:PDFWbr targetStr="{!targetMC.MC.Dealer__r.Name}"/>
                    </td>
                    <td style="font-size: 14pt;vertical-align: text-top;">乙方:&nbsp;</td>
                    <td width="50%" style="font-size: 14pt;vertical-align: text-top;">
                    <c:PDFWbr targetStr="{!targetMC.BCompany}"/>
                    </td>
                </tr>
            </table>
            <!-- 甲乙方end -->
      
            <!-- 盖章 start-->
            <table width="100%" cellspacing="1" cellpadding="1" style="font-size:13pt;">
                <tr><td height="15px"></td></tr>
                <tr><td width="50%" style="font-size: 14pt;">
                    盖章日期:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;月&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;日
                    </td>
                    <td width="50%" style="font-size: 14pt;">
                    盖章日期:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;年&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;月&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;日
                    </td>
                </tr>
            </table>
            <!-- 盖章end -->
    </body>
    <style>
    </style>
    </html>
</apex:page>