| | |
| | | if(datavaue.Learning_Community){ |
| | | jzdtbt.Learning_Community = datavaue.Learning_Community; |
| | | jzdtbt.multiYearWarrantyList.forEach(item=>{ |
| | | if('' + (item.AgeLimit__c) == Learning_Community){ |
| | | jzdtbt.MultiOneYearWarrantyPrice__c = item.MultiOneYearWarrantyPrice__c; |
| | | if('' + (item.AgeLimit__c) == jzdtbt.Learning_Community){ |
| | | jzdtbt.exPrice = item.MultiOneYearWarrantyPrice__c; |
| | | } |
| | | }); |
| | | if(jzdtbt.MultiOneYearWarrantyPrice__c == null || jzdtbt.MultiOneYearWarrantyPrice__c == '' || jzdtbt.MultiOneYearWarrantyPrice__c == undefined){ |
| | | jzdtbt.MultiOneYearWarrantyPrice__c = 0; |
| | | if(jzdtbt.exPrice == null || jzdtbt.exPrice == '' || jzdtbt.exPrice == undefined){ |
| | | jzdtbt.exPrice = 0; |
| | | } |
| | | } |
| | | x = localParseInt(jzdtbt.Quantity__c); |