From 39f4ff2ab715452037e3956aa27a922e31c8190d Mon Sep 17 00:00:00 2001
From: chenjingwu <chenjingwu@prec-tech.com>
Date: 星期五, 12 四月 2024 11:17:23 +0800
Subject: [PATCH] 123

---
 force-app/main/default/lwc/lexNewQuoteEntry/lexNewQuoteEntry.js |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/force-app/main/default/lwc/lexNewQuoteEntry/lexNewQuoteEntry.js b/force-app/main/default/lwc/lexNewQuoteEntry/lexNewQuoteEntry.js
index 6d1df50..15ec828 100644
--- a/force-app/main/default/lwc/lexNewQuoteEntry/lexNewQuoteEntry.js
+++ b/force-app/main/default/lwc/lexNewQuoteEntry/lexNewQuoteEntry.js
@@ -580,7 +580,7 @@
         this.jzDataToBeproduct =[].concat(this.jzDataToBeproduct);
         this.hidden_MultiYearWarrantyTotalPrice = MultiYearWarrantyTotalPriceExport;
         this.quo.MultiYearWarrantyTotalPrice__c = toNumComma(MultiYearWarrantyTotalPriceExport);
-        this.quo.ExtendedWarrantyAmountTotalPrice__c = toNumComma(ExtendedWarrantyAmountTotalPriceExport);
+        // this.quo.ExtendedWarrantyAmountTotalPrice__c = toNumComma(ExtendedWarrantyAmountTotalPriceExport);
     }
     EstimationListPrice() {
         this.jzDataToBeproduct = EstimationL(this.jzDataToBeproduct,this.quo);
@@ -1803,17 +1803,17 @@
                 });
                 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();
         }

--
Gitblit v1.9.1