| | |
| | | if (mso.containsKey('LeadSource')) { |
| | | controller.getRecord().put('LeadSource', mso.get('LeadSource')); |
| | | } |
| | | if (mso.containsKey('00N10000006qOFb')) { |
| | | controller.getRecord().put('Opportunity_stage__c', mso.get('00N10000006qOFb')); |
| | | if (mso.containsKey(System.Label.Opportunity_stage)) { |
| | | controller.getRecord().put('Opportunity_stage__c', mso.get(System.Label.Opportunity_stage)); |
| | | } |
| | | if (mso.containsKey('00N10000006qOF0')) { |
| | | controller.getRecord().put('Close_Forecasted_Date__c', Date.parse(mso.get('00N10000006qOF0'))); |
| | | } |
| | | if (mso.containsKey('00N10000002EjE1')) { |
| | | controller.getRecord().put('Opp_Name__c', mso.get('00N10000002EjE1')); |
| | | //20220505 lt 注释掉 |
| | | // if (mso.containsKey('00N10000006qOF0')) { |
| | | // controller.getRecord().put('Close_Forecasted_Date__c', Date.parse(mso.get('00N10000006qOF0'))); |
| | | // } |
| | | if (mso.containsKey(System.Label.Opp_Name)) { |
| | | controller.getRecord().put('Opp_Name__c', mso.get(System.Label.Opp_Name)); |
| | | } |
| | | // if (mso.containsKey('00N100000048UBf')) { |
| | | // controller.getRecord().put('Contact__c', mso.get('00N100000048UBf')); |
| | | // } |
| | | if (mso.containsKey('00N10000002Cl6Y')) { |
| | | controller.getRecord().put('Purchase_Reason__c', mso.get('00N10000002Cl6Y')); |
| | | if (mso.containsKey(System.Label.Purchase_Reason)) { |
| | | controller.getRecord().put('Purchase_Reason__c', mso.get(System.Label.Purchase_Reason)); |
| | | } |
| | | if (mso.containsKey('00N10000002CpEz')) { |
| | | controller.getRecord().put('Fund_Basis__c', mso.get('00N10000002CpEz')); |
| | | if (mso.containsKey(System.Label.Fund_Basis)) { |
| | | controller.getRecord().put('Fund_Basis__c', mso.get(System.Label.Fund_Basis)); |
| | | } |
| | | if (mso.containsKey('00N10000002CpF9')) { |
| | | controller.getRecord().put('Purchase_Type__c', mso.get('00N10000002CpF9')); |
| | | if (mso.containsKey(System.Label.Purchase_Type)) { |
| | | controller.getRecord().put('Purchase_Type__c', mso.get(System.Label.Purchase_Type)); |
| | | } |
| | | //20220427 |
| | | if (mso.containsKey('00N1m000007YNMM')) { //招标项目Id |
| | | controller.getRecord().put('Tender_information__c', mso.get('00N1m000007YNMM')); |
| | | if (mso.containsKey(System.Label.Tender_information)) { //招标项目Id |
| | | controller.getRecord().put('Tender_information__c', mso.get(System.Label.Tender_information)); |
| | | } |
| | | if (mso.containsKey('00N1m000007YNN0')) { //经销商询价Id |
| | | controller.getRecord().put('Agency_Opportunity__c', mso.get('00N1m000007YNN0')); |
| | | if (mso.containsKey(System.Label.Agency_Opportunity)) { //经销商询价Id |
| | | controller.getRecord().put('Agency_Opportunity__c', mso.get(System.Label.Agency_Opportunity)); |
| | | } |
| | | if (mso.containsKey('00N10000008rqHj')) { //经销商询价--招标方式 |
| | | controller.getRecord().put('Sales_Method__c', mso.get('00N10000008rqHj')); |
| | | if (mso.containsKey(System.Label.Sales_Method)) { //经销商询价--招标方式 |
| | | controller.getRecord().put('Sales_Method__c', mso.get(System.Label.Sales_Method)); |
| | | } |
| | | // 2022-04-13 来源 jz end 0414 lt |
| | | rtTypeId = ApexPages.currentPage().getParameters().get('RecordType'); |