| | |
| | | Quote_Adjust_Amount__c, Quote_Adjust_Calculate__c, Discount_Amount__c, Discount_Amount_Calculate__c, Installation_location__c, |
| | | QuoteTotal_Page__c, Dealer_Final_Price_Page__c, Quote_Adjust_Amount_Page__c, OCM_Agent1_Price_Page__c, Agent1_Agent2_Price_Page__c |
| | | , AgencyDiscount__c,OCM_Sales_Forecast__c//预测金额修改 fy |
| | | , Gurantee_Period__c , multiYearWarranty__c, MultiYearWarrantyTotalPrice__c,ExtendedWarrantyAmountTotalPrice__c |
| | | , Gurantee_Period__c , multiYearWarranty__c, MultiYearWarrantyTotalPrice__c,ExtendedWarrantyAmountTotalPrice__c, |
| | | Preferential_Gurantee_Period__c,LineItemCount |
| | | ,IsQuoteTrial__c,OpportunityId,Opportunity.RecordType.DeveloperName |
| | | FROM Quote Where Id = :quoId]; |
| | |
| | | Map<String,List<MultiYearWarranty__c>> priceMap = new Map<String,List<MultiYearWarranty__c>>(); |
| | | for(String id: idList){ |
| | | List<OptionTemplete> optionTempleteList = new List<OptionTemplete>(); |
| | | optionTempleteList.add(new OptionTemplete('0年','')); |
| | | optionTempleteList.add(new OptionTemplete('0年','0')); |
| | | if(intList.containsKey(id)){ |
| | | for(Integer j = 0;j < intList.get(id);j++){ |
| | | optionTempleteList.add(new OptionTemplete((j + 1) + '年',(j + 1) + '')); |
| | |
| | | ql.UnitPrice__c = ql.UnitPrice_Page__c; |
| | | ql.UnitPrice_Page__c = 0; |
| | | ql.ListPrice__c = s.ListPrice_Page; |
| | | ql.ExtendedWarrantyAmount__c = s.exPrice; |
| | | ql.GuranteePrice__c = s.GuranteePrice; |
| | | ql.ProductGuranteePrice__c = s.ProductGuranteePrice; |
| | | ql.Maintenance_Price_Year__c = s.Maintenance_Price_Year; |
| | |
| | | // chenjingwu sp主机类型 20240318 end |
| | | // chenjingwu 3+2多年保 20240401 start |
| | | public String Learning_Community; |
| | | public String Learning_CommunityCopy; |
| | | public Decimal exPrice; |
| | | public Decimal exPriceCopy; |
| | | // public List<Map<String, String>> Learning_CommunityOptions = new List<Map<String, String>>(); |
| | | public List<OptionTemplete> Learning_CommunityOptions; |
| | | public List<MultiYearWarranty__c> multiYearWarrantyList; |
| | |
| | | } |
| | | if(period > 0){ |
| | | List<OptionTemplete> optionTempleteList = new List<OptionTemplete>(); |
| | | optionTempleteList.add(new OptionTemplete('0年','')); |
| | | optionTempleteList.add(new OptionTemplete('0年','0')); |
| | | for(Integer j = 0;j < period;j++){ |
| | | optionTempleteList.add(new OptionTemplete((j + 1) + '年',(j + 1) + '')); |
| | | } |