| | |
| | | this.exPrice = mu.MultiOneYearWarrantyPrice__c; |
| | | } |
| | | } |
| | | }else{ |
| | | this.Learning_Community = 0 + ''; |
| | | this.exPrice = 0; |
| | | } |
| | | if(period > 0){ |
| | | List<OptionTemplete> optionTempleteList = new List<OptionTemplete>(); |
| | |
| | | // optionTempleteList.add(new OptionTemplete((j + 1) + '年',(j + 1) + '')); |
| | | // } |
| | | this.Learning_CommunityOptions = optionTempleteList; |
| | | |
| | | } |
| | | if(this.Learning_Community == '0' && this.Learning_CommunityOptions.size() > 1){ |
| | | this.Learning_Community = this.multiYearWarrantyList.get(this.multiYearWarrantyList.size() - 1).AgeLimit__c; |
| | | this.exPrice = this.multiYearWarrantyList.get(this.multiYearWarrantyList.size() - 1).MultiOneYearWarrantyPrice__c; |
| | | } |
| | | |
| | | // this.ExtendedWarrantyPeriod = new WarrantyPeriod(optionTempleteList,''); |