高章伟
2022-02-18 8b5f4c6c281cfa548f92de52c8021e37aa81901e
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
public with sharing class MCAgentPDFController {
    public MCInfo targetMC {get; set;}
 
     public MCAgentPDFController() {
 
    }
     public MCAgentPDFController(ApexPages.StandardController controller) {
    }
 
    public void init() {
        String Maintenance_ContractID = ApexPages.currentPage().getParameters().get('id');
        List<Maintenance_Contract__c> MCList = [select
                                                id,
                                                Name,
                                                Service_Contract_Staff__c,
                                                Payment_Plan_Sum_First__c,
                                                Payment_Plan_Date_First__c,
                                                Payment_Plan_Sum_Fifth__c,
                                                Payment_Plan_Date_Fifth__c,
                                                Payment_Plan_Sum_Third__c,
                                                Payment_Plan_Date_Third__c,
                                                Payment_Plan_Sum_Forth__c,
                                                Payment_Plan_Date_Forth__c,
                                                Payment_Plan_Sum_Second__c,
                                                Payment_Plan_Date_Second__c,
                                                Payment_Plan_Sum_Sixth__c,
                                                Payment_Plan_Date_Sixth__c,
                                                MainLeaderManager__c,
                                                Service_Contract_Staff__r.JingliApprovalManager__c,
                                                User_Salesdepartment__c,
                                                User_Salesdepartment_Sec__c,
                                                Service_Contract_Staff__r.Salesdepartment__c,
                                                Small_Repair_Time__c,
                                                Big_Repair_Time__c,
                                                Live_Technical_Support_Time__c,
                                                Engineer_Name__c,
                                                Phone_Number__c,
                                                Tour_Check__c,
                                                Inspection_Time__c,
                                                Dedust__c,
                                                Negotiate_Mean__c,
                                                First_Party_Contract_Number__c,
                                                Second_Party_Contract_Number__c,
                                                Term_Of_Payment__c,
                                                one_off_payment_agreed_period__c,
                                                Contract_Amount__c,
                                                Total_Contract_Amount_In_Words__c,
                                                Service_Contract_Staff__r.Name,
                                                Total_Payment_Time__c,
                                                Payment_Plan_Sum_First_in_Word__c,
                                                Payment_Plan_Sum_Second_in_Word__c,
                                                Payment_Plan_Sum_Third_in_Word__c,
                                                Payment_Plan_Sum_Forth_in_Word__c,
                                                Payment_Plan_Sum_Fifth_in_Word__c,
                                                Payment_Plan_Sum_Sixth_in_Word__c,
                                                Estimation_Id__c,
                                                SalesOfficeCode_selection__c,
                                                Hospital__r.Name,
                                                Management_Code__c,
                                                Contract_Start_Date__c,
                                                Contract_End_Date__c,
                                                Total_Contract_Number__c,
                                                Is_New_Contract__c,
                                                Dealer__r.Name,
                                                Dealer__c 
                                                from
                                                Maintenance_Contract__c
                                                where
                                                id = :Maintenance_ContractID];
        if (MCList.size() == 0) {
            throw new ControllerUtil.myException('维修合同不存在。');
        }
        if(MCList[0].Estimation_Id__c == null){
            throw new ControllerUtil.myException('维修合同报价不存在。');
        }
        //巡回、点检和除尘为0是显示为'/'
        if(MCList[0].Tour_Check__c == null || MCList[0].Tour_Check__c.equals('0')){
            MCList[0].Tour_Check__c = ' / ';
        }
        if(MCList[0].Inspection_Time__c == null || MCList[0].Inspection_Time__c.equals('0')){
            MCList[0].Inspection_Time__c = ' / ';
        }
        if(MCList[0].Dedust__c == null || MCList[0].Dedust__c.equals('0')){
            MCList[0].Dedust__c = ' / ';
        }                                        
        
        list<Maintenance_Contract_Asset_Estimate__c> MCAs = [select Id from Maintenance_Contract_Asset_Estimate__c
                                                                       where Maintenance_Contract_Estimate__c = :MCList[0].Estimation_Id__c];
        
        this.targetMC = new MCInfo(MCList,MCAs.size());
        
 
    }
 
    private static Map<String, String> companyApiMap = new Map<String, String> {
        '北京RC' => '奥林巴斯(北京)销售服务有限公司',
        '上海RC' => '奥林巴斯(北京)销售服务有限公司上海分公司',
        '广州RC' => '奥林巴斯(北京)销售服务有限公司广州分公司',
        '沈阳RC' => '奥林巴斯(北京)销售服务有限公司',
        //wangweipeng  2021/07/30   start
        '成都RC' => '奥林巴斯(北京)销售服务有限公司成都维修分公司',
        '西安RC' => '奥林巴斯(北京)销售服务有限公司西安维修分公司',
        '杭州RC' => '奥林巴斯(北京)销售服务有限公司杭州维修分公司'
        //wangweipeng  2021/07/30   start
    };
 
        /**
     * 印刷するデータを格納するオブジェクを定義する、親
     */
    public class MCInfo {
        public Maintenance_Contract__c MC {get; private set;}
        public String BCompany {get; private set;}
        public String HospitalName {get; private set;}
        public integer AssetSize {get; private set;}
        public String StartYear {get; private set;}
        public String StartMonth {get; private set;}
        public String StartDay {get; private set;}
        public String EndYear {get; private set;}
        public String EndMonth {get; private set;}
        public String EndDay {get; private set;}
        public String First_Payment_Year {get; private set;}
        public String First_Payment_Month {get; private set;}
        public String First_Payment_Day {get; private set;}
        public String Second_Payment_Year {get; private set;}
        public String Second_Payment_Month {get; private set;}
        public String Second_Payment_Day {get; private set;}
        public String Third_Payment_Year {get; private set;}
        public String Third_Payment_Month {get; private set;}
        public String Third_Payment_Day {get; private set;}
        public String Forth_Payment_Year {get; private set;}
        public String Forth_Payment_Month {get; private set;}
        public String Forth_Payment_Day {get; private set;}
        public String Fifth_Payment_Year {get; private set;}
        public String Fifth_Payment_Month {get; private set;}
        public String Fifth_Payment_Day {get; private set;}
        public String Sixth_Payment_Year {get; private set;}
        public String Sixth_Payment_Month {get; private set;}
        public String Sixth_Payment_Day {get; private set;}
        
        public integer Total_Payment_Time {get; private set;}
 
        public String TermZero {get; private set;}
        public String TermOne_One {get; private set;}
        public String TermOne_Two {get; private set;}
        public String TermOne_Three {get; private set;}
        public String TermTwo_One {get; private set;}
        public String TermTwo_Two {get; private set;}
 
        public String TermFour_One {get; private set;}
        public String TermFour_Two {get; private set;}
        public String TermFour_Four {get; private set;}
        public String TermFour_Five_One {get; private set;}
        public String TermFour_Five_Two {get; private set;}
        public String TermFour_Five_Three {get; private set;}
        public String TermFour_Six_One {get; private set;}
        public String TermFour_Six_Two {get; private set;}
        public String TermFour_Six_Three {get; private set;}
        public String TermFour_Seven_One {get; private set;}
        public String TermFour_Seven_Two {get; private set;}
        public String TermFour_Eight {get; private set;}
        public String TermFour_Nine {get; private set;}
 
        public String Payment {get; private set;}
        public String Payment_One {get; private set;}
        public String Payment_Two {get; private set;}
        public String Payment_Three {get; private set;}
        public String Payment_Four {get; private set;}
 
        public String FirstPartyAbbreviation {get; private set;}
        public String SecondPartyAbbreviation {get; private set;}
        
        public String FirstParty {get; private set;}
        public String FirstParty_One {get; private set;}
        public String FirstParty_Two {get; private set;}
        public String FirstParty_Three {get; private set;}
        public String FirstParty_Three_One {get; private set;}
        public String FirstParty_Four {get; private set;}
        public String FirstParty_Five {get; private set;}
        public String SecondParty {get; private set;}
        
        public String Confidentiality {get; private set;}
        public String Confidentiality_One {get; private set;}
        public String Confidentiality_One_One {get; private set;}
 
        public String Confidentiality_Two {get; private set;}
        public String Confidentiality_Three {get; private set;}
        public String breach {get; private set;}
        public String breach_One {get; private set;}
        public String breach_One_One {get; private set;}
        public String breach_One_Two {get; private set;}
        public String breach_One_Three {get; private set;}
        public String breach_Two {get; private set;}
 
        // HWAG-BLWFGC  追加第八条,原八九条顺延 update by vivek start
        public String TermEightAppend_Title {get; private set;}
        public String TermEightAppend_One {get; private set;}
        public String TermEightAppend_Two {get; private set;}
        public String TermEightAppend_Three {get; private set;}
        public String TermEightAppend_Three1 {get; private set;}
        public String TermEightAppend_Four {get; private set;}
        public String TermEightAppend_Five {get; private set;}
        public String TermEightAppend_Six {get; private set;}
        public String TermEightAppend_Seven {get; private set;}
        // HWAG-BLWFGC  追加第八条,原八九条顺延 update by vivek end
        //LJPH-BUKD5A 《委托》合同文本的修改  精琢技术 wql 2020/10/27  start
                    //根据经销商名是否有值判断是否打印新/合同版本
        public String TermEleven_One {get; private set;}
        public String TermEleven_Two {get; private set;}
        public String TermEleven_Three {get; private set;}
        public String TermEleven_Four {get; private set;}
        //LJPH-BUKD5A 《委托》合同文本的修改  精琢技术 wql 2020/10/27  end
 
        public String ContractModification {get; private set;}
        public String ContractModification_One {get; private set;}
        public String ContractModification_Two {get; private set;}
        public String ContractModification_Two_One {get; private set;}
        public String ContractModification_Two_Two {get; private set;}
        public String ContractModification_Two_Three {get; private set;}
        public String ContractModification_Three {get; private set;}
 
        public String Negotiate {get; private set;}
        public String Negotiate_1 {get; private set;}
        public String Negotiate_2 {get; private set;}
        public String Negotiate_One {get; private set;}
        public String Negotiate_One_One {get; private set;}
        public String Negotiate_One_Two {get; private set;}
 
        public String ContractCopies {get; private set;}
        public String ContractNumber {get; private set;}
        public String ExceptionTerm {get; private set;}
 
 
        public String Payment_Plan_Sum_First {get; private set;}
        public String Payment_Plan_Sum_Second {get; private set;}
        public String Payment_Plan_Sum_Third {get; private set;}
        public String Payment_Plan_Sum_Forth {get; private set;}
        public String Payment_Plan_Sum_Fifth {get; private set;}
        public String Payment_Plan_Sum_Sixth {get; private set;}
        public String Contract_Amount {get; private set;}
 
        private String returnNewStr(String hospitalName){
            String hospitalNames = '';
            if(hospitalName.contains('/')){
                Integer index = hospitalName.lastIndexOf('/');
                hospitalNames = hospitalName.substring(0,index)+'<br/>'+hospitalName.substring(index+1);
            }else{
                if(hospitalName.length()>22){
                    hospitalNames = hospitalName.substring(0,22)+'<br/>'+hospitalName.substring(22);
                }else{
                    hospitalNames = hospitalName;
                }
                
            }
            return hospitalNames;
        }
        private void setDate(Date StartDate, Date EndDate, Date FirstPaymentDate,
            Date SecondPaymentDate,Date ThirdPaymentDate,
            Date ForthPaymentDate,Date FifthPaymentDate,
            Date SixthPaymentDate){
            if( StartDate != null ){
                this.StartYear = String.valueOf(StartDate.year());
                this.StartMonth =  String.valueOf(StartDate.month());
                this.StartDay =  String.valueOf(StartDate.day());
 
            }else{
                this.StartYear = ' / ';
                this.StartMonth =  ' / ';
                this.StartDay =  ' / ';
            }
            if( EndDate != null ){
                this.EndYear = String.valueOf(EndDate.year());
                this.EndMonth =  String.valueOf(EndDate.month());
                this.EndDay =  String.valueOf(EndDate.day());
            }else{
                this.EndYear = ' / ';
                this.EndMonth =  ' / ';
                this.EndDay =  ' / ';
            }
            if( FirstPaymentDate != null ){
                this.First_Payment_Year = String.valueOf(FirstPaymentDate.year());
                this.First_Payment_Month =  String.valueOf(FirstPaymentDate.month());
                this.First_Payment_Day =  String.valueOf(FirstPaymentDate.day());
            }else{
                this.First_Payment_Year = ' / ';
                this.First_Payment_Month =  ' / ';
                this.First_Payment_Day =  ' / ';
 
            }
            if( SecondPaymentDate != null ){
                this.Second_Payment_Year = String.valueOf(SecondPaymentDate.year());
                this.Second_Payment_Month =  String.valueOf(SecondPaymentDate.month());
                this.Second_Payment_Day =  String.valueOf(SecondPaymentDate.day());
            }else{
                this.Second_Payment_Year = ' / ';
                this.Second_Payment_Month =  ' / ';
                this.Second_Payment_Day =  ' / ';
            }
            if( ThirdPaymentDate != null ){
                this.Third_Payment_Year = String.valueOf(ThirdPaymentDate.year());
                this.Third_Payment_Month =  String.valueOf(ThirdPaymentDate.month());
                this.Third_Payment_Day =  String.valueOf(ThirdPaymentDate.day());
            }else{
                this.Third_Payment_Year = ' / ';
                this.Third_Payment_Month =  ' / ';
                this.Third_Payment_Day =  ' / ';
            }
            if( ForthPaymentDate != null ){
                this.Forth_Payment_Year = String.valueOf(ForthPaymentDate.year());
                this.Forth_Payment_Month =  String.valueOf(ForthPaymentDate.month());
                this.Forth_Payment_Day =  String.valueOf(ForthPaymentDate.day());
            }else{
                this.Forth_Payment_Year = ' / ';
                this.Forth_Payment_Month =  ' / ';
                this.Forth_Payment_Day =  ' / ';
            }
            if( FifthPaymentDate != null ){
                this.Fifth_Payment_Year = String.valueOf(FifthPaymentDate.year());
                this.Fifth_Payment_Month =  String.valueOf(FifthPaymentDate.month());
                this.Fifth_Payment_Day =  String.valueOf(FifthPaymentDate.day());
            }else{
                this.Fifth_Payment_Year = ' / ';
                this.Fifth_Payment_Month =  ' / ';
                this.Fifth_Payment_Day =  ' / ';
            }
            if( SixthPaymentDate != null ){
                this.Sixth_Payment_Year = String.valueOf(SixthPaymentDate.year());
                this.Sixth_Payment_Month =  String.valueOf(SixthPaymentDate.month());
                this.Sixth_Payment_Day =  String.valueOf(SixthPaymentDate.day());
            }else{
                this.Sixth_Payment_Year = ' / ';
                this.Sixth_Payment_Month =  ' / ';
                this.Sixth_Payment_Day =  ' / ';
            }
 
        }
        
        public MCInfo(List<Maintenance_Contract__c> MCList,integer AssetSize) {
            if (MCList.size() > 0) {
                this.MC = MCList[0];
                this.BCompany = companyApiMap.get(MC.SalesOfficeCode_selection__c);
                this.AssetSize = AssetSize;
                String Hospital = MC.Hospital__r.Name;
                this.HospitalName = returnNewStr(Hospital);
                if('一次性付款'.equals(MC.Term_Of_Payment__c)){
                    this.Payment_One = '本合同正式签订之日起';
                    this.Payment_two = '日内,甲方向乙方支付全部合同款人民币';
                    this.Payment_Four = '元 ( 大写';
                }else{
                    this.Payment_Three = '日前,甲方向乙方支付人民币';
                    this.Payment_Four = '元 ( 大写';
                }
                setDate(MC.Contract_Start_Date__c,MC.Contract_End_Date__c, 
                    MC.Payment_Plan_Date_First__c, MC.Payment_Plan_Date_Second__c,
                    MC.Payment_Plan_Date_Third__c, MC.Payment_Plan_Date_Forth__c, 
                    MC.Payment_Plan_Date_Fifth__c, MC.Payment_Plan_Date_Sixth__c);
                if(MC.Total_Payment_Time__c!=null){
                    this.Total_Payment_Time = integer.valueof(MC.Total_Payment_Time__c);
                }
 
                list<String> args = new String[]{'0','number','###,###,###,###,##0'};
                if(MC.Payment_Plan_Sum_First__c != null ){
                    this.Payment_Plan_Sum_First     =  String.format(MC.Payment_Plan_Sum_First__c.format(), args);
                }
                if(MC.Payment_Plan_Sum_Second__c != null ){
                    this.Payment_Plan_Sum_Second    =  String.format(MC.Payment_Plan_Sum_Second__c.format(), args);
                }
                if(MC.Payment_Plan_Sum_Third__c != null ){
                    this.Payment_Plan_Sum_Third     =  String.format(MC.Payment_Plan_Sum_Third__c.format(), args);
                }
                if(MC.Payment_Plan_Sum_Forth__c != null ){
                    this.Payment_Plan_Sum_Forth     =  String.format(MC.Payment_Plan_Sum_Forth__c.format(), args);
                }
                if(MC.Payment_Plan_Sum_Fifth__c != null ){
                    this.Payment_Plan_Sum_Fifth     =  String.format(MC.Payment_Plan_Sum_Fifth__c.format(), args);
                }
                if(MC.Payment_Plan_Sum_Sixth__c != null ){
                    this.Payment_Plan_Sum_Sixth     =  String.format(MC.Payment_Plan_Sum_Sixth__c.format(), args);
                }
                if(MC.Contract_Amount__c != null ){
                    this.Contract_Amount            =  String.format(MC.Contract_Amount__c.format(), args);
                }
 
                this.TermZero                   = '甲、乙双方依据《中华人民共和国合同法》及相关法律、法规的规定,在平等、自愿、协商一致的基础上,就甲方委托乙方维修业务相关事宜,达成协议如下(以下简称“本合同”):';
                this.FirstPartyAbbreviation     = '(以下简称“甲方”)';
                this.SecondPartyAbbreviation    = '(以下简称“乙方”)';
 
                this.TermOne_One                = '甲方委托乙方为附件中';
                this.TermOne_Two                = '(以下简称丙方)所列';
                this.TermOne_Three              = '件设备提供维修服务。附件是本合同有效组成部分,与本合同具有同等法律效力。';
                this.TermTwo_One                = '合同总价:';
                this.TermTwo_Two                = '( 人民币:';
                this.TermFour_One               = '乙方必须根据合同法以及本合同约定实施委托事项。';
                this.TermFour_Two               = '附件中所列产品,如果在自然损耗以及按照乙方要求的清洗消毒方法的情况下发生故障,乙方进行无条件维修;属于丙方故意人为损坏的,将不在本合同维修范围内。';
                this.TermFour_Four              = '如果丙方属于本合同附件内所列的设备发生故障需要大维修时,甲方享有优先获得备用品的权利,乙方尽力保证及时向丙方提供备用品。';
                this.TermFour_Five_One          = '乙方指定工程师';
                this.TermFour_Five_Two          = '专门负责丙方的内镜维修和清洗保养培训工作。如指定工程师有变更,乙方另行通知丙方相关变更情况。周一至周五和周六上午一旦丙方的本合同附件中所列的内镜出现问题,工程师保证在';
                this.TermFour_Five_Three        = '小时内提供现场技术支持,并提供每周24小时×7天的电话支持服务(工程师手机号码:';
                this.TermFour_Six_One           = '乙方指定工程师为丙方提供 1 年';
                this.TermFour_Six_Two           = '次巡回,1年';
                this.TermFour_Six_Three         = '次点检,并提交检查报告给医院备档。';
                this.TermFour_Seven_One         = '乙方为丙方提供 1年';
                this.TermFour_Seven_Two         = '次的周边仪器免费除尘清洁服务(周边仪器是指本合同维修范围清单内的周边仪器)。';
                this.TermFour_Eight             = '在本合同期内,乙方可根据甲方的要求,对附件内所列设备的使用、清洗和保养方法为丙方提供院内培训。';
                this.TermFour_Nine              = '在本合同期内,乙方结合丙方的实际情况,判断是否要向合同参保设备提供故障预防工具。如乙方判断需要时,由乙方直接向丙方提供。';
                this.FirstParty_One             = '甲方应按本合同约定及时支付委托费用。';
                this.FirstParty_Two             = '甲方应积极配合乙方履行合同义务,及时提供各种材料,对于乙方提供的服务方案等,甲方有义务及时确认或反馈意见。';
                this.FirstParty_Three           = '本合同设备维修范围只适用于本合同附件内所列设备。周边仪器只对附件内所列之主机、光源、超声主机、内镜清洗消毒机和监视器进行维';
                this.FirstParty_Three_One       = '修。其他与周边仪器相关的不可维修的设备(如电缆线、超声探头、水瓶、键盘、脚踏等)和耗品(如清洗用具、治疗附件、光源灯泡等)不属于维修范围。';
                this.FirstParty_Four            = '甲方应保证无论在任何情况下,丙方均不得将本合同附件内所列的维修设备送至非奥林巴斯厂家进行维修。否则,乙方对经过非奥林巴斯厂家维修的设备进行维修时,将按正常标准向甲方收取维修费用。';
                this.FirstParty_Five            = '甲方应保证无论在任何情况下,丙方均不得自行拆卸本合同附件内所列的维修设备。否则,乙方对丙方自行拆卸的设备进行维修时,将按正常标准向甲方收取维修费用。';
                
 
                this.ContractCopies             = '份,自双方盖章之日起生效。如生效日期与本协议第三条约定的委托期限起始日期不一致时,双方同意以两者中较晚日期作为本合同的生效时间,本合同生效之前发生的修理不计入本合同,由甲乙双方另行协商解决。';
                this.Confidentiality_One        = '本合同有效期内以及在本合同解除或终止后,对合同中所涉及双方的内部资';
                this.Confidentiality_One_One    = '料、情报、数据和其他商业信息,未经对方许可,任何一方不得以任何形式用于合同之外的目的,不得以任何形式向其他方泄露。并且合同双方应对因履行本合同而获取的对方信息及因履行本合同而涉及的第三方的信息予以保密。并要求参与本合同工作的其雇员遵守本合同的保密责任。';
                this.Confidentiality_Two        = '甲乙双方中任何一方违背保密条约,应承担相应经济赔偿和法律责任。';
                this.Confidentiality_Three      = '保密责任从本合同签订之日起,至保密信息经合法途径成为公开的事实止。';
 
                this.breach_One                 = '本合同任何一方违反本合同约定均构成违约;违约方应赔偿因其违约而给对方造成的损失。守约方有权同时采取以下任何措施:';
                this.breach_One_One             = '要求违约方继续履行本合同;';
                this.breach_One_Two             = '要求违约方采取及时、合理的补救措施;';
                this.breach_One_Three           = '要求违约方对其违约行为所造成的损失承担赔偿责任。';
                this.breach_Two                 = '本合同任何一方违反本合同,在对方发出要求改正的通知之日起七个工作日内仍没有按合同约定履行义务的,另一方有权书面通知违约方解除本合同,本合同于解除通知到达违约方之日起即终止。';
                
                this.ContractModification_One       = '经甲乙双方协商同意,可对本合同进行修改和补充,修改及补充的内容经双方签字或盖章后作为本合同的有效组成部分,与本合同具有同等法律效力。若补充协议内容与本合同有冲突以补充协议为准。';
                this.ContractModification_Two       = '本合同任何一方有下列情形之一,对方可不经催告解除本合同:';
                this.ContractModification_Two_One   = ' 一方被采取查封、扣押、冻结等,或被申请开始进行拍卖、破产、清算、合并、分立;';
                this.ContractModification_Two_Two   = ' 一方迟延履行本合同主要义务,经催告后在一方规定的合理期限内仍未履行;';
                this.ContractModification_Two_Three = ' 一方有其他违约或违法行为致使本合同目的不能实现的。';
                this.ContractModification_Three     = '由于不可抗力的原因,导致本合同部分不能履行、不能履行或延期履行时,遇有不可抗力事件的一方,应立即将事故情况通知对方,并提供部分不能履行、不能履行或延期履行的理由和所有相关的文件资料。';
                this.Negotiate_One                  =  MC.Negotiate_Mean__c;
                this.Negotiate_1              = '本合同受中华人民共和国法律管辖。因履行本合同所产生或与本合同有关的一切争议,应由双方友好协商解决。若协商不成的,任何一方均可将该争议事项按以下第';
                this.Negotiate_2              = '种方式解决:';
 
                this.Negotiate_One_One              = '提交北京仲裁委员会仲裁解决。仲裁的裁决是终局性的,对双方均有约束力。';
                this.Negotiate_One_Two              = '向本合同签订地有管辖权的人民法院提起诉讼。';
 
 
                this.SecondParty            = '四、乙方权利义务';
                this.FirstParty             = '五、甲方责任范围';
                this.Confidentiality        = '六、保密责任';
                this.breach                 = '七、违约责任';
 
                // HWAG-BLWFGC  追加第八条,原八九条顺延 update by vivek start
                this.TermEightAppend_Title = '合同变更、修改、解除和终止';
                this.TermEightAppend_One = '经甲乙双方协商同意,可对本合同进行修改和补充,修改及补充的内容经双方签字或盖章后作为本合同的有效组成部分,与本合同具有同等法律效力。若补充协议内容与本合同有冲突以补充协议为准。';
                this.TermEightAppend_Two = '本合同任何一方有下列情形之一,对方可不经催告解除本合同:';
                this.TermEightAppend_Three = '方被采取查封、扣押、冻结等,或被申请开始进行拍卖、破产、清算、';
                this.TermEightAppend_Three1 = '合并、分立;';
                this.TermEightAppend_Four = '一方迟延履行本合同主要义务,经催告后在一方规定的合理期限内仍未履行;';
                this.TermEightAppend_Five = '一方有其他违约或违法行为致使本合同目的不能实现的。';
                this.TermEightAppend_Six = '由于不可抗力的原因,导致本合同部分不能履行、不能履行或延期履行';
                this.TermEightAppend_Seven = '时,遇有不可抗力事件的一方,应立即将事故情况通知对方,并提供部分不能履行、不能履行或延期履行的理由和所有相关的文件资料。';
                // HWAG-BLWFGC  追加第八条,原八九条顺延 update by vivek end
 
                this.ContractModification   = '九、合同变更、修改、解除和终止';
                this.Negotiate              = '十、适用法律及争议解决';
                this.ExceptionTerm          = '免责条款:若部分产品由于特殊零件订购、运输、停产等原因暂停或停止修理,则乙方只修理可维修部分。';
                this.ContractNumber         = '本协议一式';
 
                //LJPH-BUKD5A 《委托》合同文本的修改  精琢技术 wql 2020/10/28  start
                    //根据经销商名是否有值判断是否打印新/合同版本
                this.TermEleven_One = '若甲方是乙方的特约经销商,则自合同签订起,甲乙双方同意共享甲方与乙方签署《特约经销商合同》所缴纳的全额保证金。发生以下情况时,乙方有权从甲方所缴纳的保证金中予以直接扣除:';
                this.TermEleven_Two ='本合同执行期间,甲方不再是乙方的特约经销商且存在本合同欠款的。';
                this.TermEleven_Three ='本合同期满或合同解除后,乙方清算若甲方本合同项下存在欠款的。前述保证金不能足额扣除的乙方有权继续向甲方追缴。';
                this.TermEleven_Four ='如若本合同执行期间,甲方不再是乙方的特约经销商,则双方同意甲方基于《特约经销商合同》所缴纳的全额保证金将与本合同期满或提前解除并扣除欠款后无息返还甲方。';
                //LJPH-BUKD5A 《委托》合同文本的修改  精琢技术 wql 2020/10/23  end
                
 
            }
                
        }
 
    }
 
}