From c0fa6c4772475d663fe174c41a830b4aaa7378cd Mon Sep 17 00:00:00 2001
From: chenjingwu <chenjingwu@prec-tech.com>
Date: 星期二, 16 四月 2024 15:07:59 +0800
Subject: [PATCH] 测试空类部署

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

diff --git a/force-app/main/default/lwc/lexNewQuoteEntry/lexNewQuoteEntry.js b/force-app/main/default/lwc/lexNewQuoteEntry/lexNewQuoteEntry.js
index 6d1df50..6f246c3 100644
--- a/force-app/main/default/lwc/lexNewQuoteEntry/lexNewQuoteEntry.js
+++ b/force-app/main/default/lwc/lexNewQuoteEntry/lexNewQuoteEntry.js
@@ -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();
         }
@@ -1964,6 +1964,9 @@
                     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;
                 }
             }
         });

--
Gitblit v1.9.1