| | |
| | | var noDiscountPriceTotal = this.hidden_MultiYearWarrantyTotalPrice; |
| | | var exPriceTotal = this.quo.ExtendedWarrantyAmountTotalPrice__c; |
| | | noDiscountPriceTotal=localParseFloat(noDiscountPriceTotal); |
| | | exPriceTotal = localParseFloat(exPriceTotal); |
| | | this.quo.QuoteTotal_Page__c=toNumComma(y + x + noDiscountPriceTotal + exPriceTotal); |
| | | var z=this.quo.Estimation_List_Price__c; |
| | | var id=this.quoId; |
| | |
| | | }); |
| | | 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); |
| | | this.cancelQuoteExcelImport(); |
| | | this.tobeflag=true; |
| | | }); |
| | | 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.cancelQuoteExcelImport(); |
| | | }); |
| | | } |
| | | @track |