From 7d4c24f204423a9660a83363207c73f75f7d3e10 Mon Sep 17 00:00:00 2001
From: chenjingwu <chenjingwu@prec-tech.com>
Date: 星期五, 26 四月 2024 13:48:06 +0800
Subject: [PATCH] 123
---
force-app/main/default/lwc/lexNewQuoteEntry/lexNewQuoteEntry.js | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/force-app/main/default/lwc/lexNewQuoteEntry/lexNewQuoteEntry.js b/force-app/main/default/lwc/lexNewQuoteEntry/lexNewQuoteEntry.js
index 15ec828..32b21ed 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);
@@ -1673,6 +1673,7 @@
}
this.updateNoDiscountPricetotal();
// chenjingwu
+ this.calGuranteeAllFields();
this.updateExPricetotal()
// chenjingwu
this.EstimationListPrice();
@@ -1964,6 +1965,15 @@
if(item.exPrice == null || item.exPrice == '' || item.exPrice == undefined){
item.exPrice = 0;
}
+ }else{
+ if(item.multiYearWarrantyList.length > 0){
+ item.Learning_Community = item.multiYearWarrantyList[item.multiYearWarrantyList.length -1].AgeLimit__c;
+ item.exPrice = item.multiYearWarrantyList[item.multiYearWarrantyList.length -1].MultiOneYearWarrantyPrice__c;
+ }else{
+ item.Learning_Community = '0';
+ item.exPrice = 0;
+ }
+
}
}
});
--
Gitblit v1.9.1