| | |
| | | }); |
| | | addOptions({idList: idList}).then(result=>{ |
| | | this.addOptionsLogic(result); |
| | | if(quoteLineItem.length!=num){ |
| | | this.quo.IsQuoteTrial__c=false; |
| | | } |
| | | this.calPriceAll(); |
| | | if(errormessage.indexOf('成功') >= 0){ |
| | | this.Alert(errormessage,'success'); |
| | | }else{ |
| | | this.Alert(errormessage,'error'); |
| | | } |
| | | this.OnLoading(false); |
| | | }); |
| | | if(quoteLineItem.length!=num){ |
| | | this.quo.IsQuoteTrial__c=false; |
| | | } |
| | | this.calPriceAll(); |
| | | if(errormessage.indexOf('成功') >= 0){ |
| | | this.Alert(errormessage,'success'); |
| | | }else{ |
| | | this.Alert(errormessage,'error'); |
| | | } |
| | | this.OnLoading(false); |
| | | }); |
| | | this.cancelsetProduct(); |
| | | } |
| | |
| | | if(item.exPrice == null || item.exPrice == '' || item.exPrice == undefined){ |
| | | item.exPrice = 0; |
| | | } |
| | | }else{ |
| | | item.Learning_Community = item.multiYearWarrantyList[item.multiYearWarrantyList.length -1].AgeLimit__c; |
| | | item.exPrice = item.multiYearWarrantyList[item.multiYearWarrantyList.length -1].MultiOneYearWarrantyPrice__c; |
| | | } |
| | | } |
| | | }); |