From d29f75b84fccd06917fb8e2c2ee70e9d76f868cd Mon Sep 17 00:00:00 2001
From: chenjingwu <chenjingwu@prec-tech.com>
Date: 星期四, 11 四月 2024 20:15:54 +0800
Subject: [PATCH] 123
---
force-app/main/default/lwc/lexNewQuoteEntry/lexNexQuoteEntryUtil.js | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/force-app/main/default/lwc/lexNewQuoteEntry/lexNexQuoteEntryUtil.js b/force-app/main/default/lwc/lexNewQuoteEntry/lexNexQuoteEntryUtil.js
index e8b732c..2dbedd3 100644
--- a/force-app/main/default/lwc/lexNewQuoteEntry/lexNexQuoteEntryUtil.js
+++ b/force-app/main/default/lwc/lexNewQuoteEntry/lexNexQuoteEntryUtil.js
@@ -607,6 +607,7 @@
quo.Dealer_Final_Price_Page__c = quoin.Dealer_Final_Price_Page__c!=undefined&&quoin.Dealer_Final_Price_Page__c!=='' ?localParseFloat(quoin.Dealer_Final_Price_Page__c):null;
quo.OCM_Agent1_Price_Page__c = quoin.OCM_Agent1_Price_Page__c!=undefined &&quoin.OCM_Agent1_Price_Page__c!==''? localParseFloat(quoin.OCM_Agent1_Price_Page__c):null;
quo.MultiYearWarrantyTotalPrice__c = quoin.MultiYearWarrantyTotalPrice__c!=undefined? localParseFloat(quoin.MultiYearWarrantyTotalPrice__c):null;
+ quo.ExtendedWarrantyAmountTotalPrice__c = quoin.ExtendedWarrantyAmountTotalPrice__c!=undefined? localParseFloat(quoin.ExtendedWarrantyAmountTotalPrice__c):null;
quo.Estimation_List_Price__c = quoin.Estimation_List_Price__c!=undefined? localParseFloat(quoin.Estimation_List_Price__c):null;
quo.QuoteTotal_Page__c = quoin.QuoteTotal_Page__c !=undefined?localParseFloat(quoin.QuoteTotal_Page__c):null;
quo.Agency1_Profit__c = quoin.Agency1_Profit__c !=undefined?localParseFloat(quoin.Agency1_Profit__c):null;
@@ -2189,7 +2190,6 @@
quoc:quoCan};
}
export function onsaveToBeproductLoc(data,jzDataToBeproduct){
- debugger
var dataMap = new Map();
var fag = false;
data.forEach(item=>{
@@ -2208,7 +2208,7 @@
dataMap.set(key,value);
});
jzDataToBeproduct.forEach(jzdtbt=>{
- var x, y, z, c;
+ var x, y, z, c ,e;
if(dataMap.has(jzdtbt.lineNo)){
var datavaue = dataMap.get(jzdtbt.lineNo);
if(datavaue.Quantity__c){
@@ -2651,7 +2651,8 @@
//DB202312560765 you 鍚︽湁EndoRapid璧勮川妫�鏌� start
item.IFEndoRapidFlag = jzdtbt.IFEndoRapidFlag;
//DB202312560765 you 鍚︽湁EndoRapid璧勮川妫�鏌� end
- if(jzdtbt.PricebookEntry.Product2.ProductCategory__c == 'SP涓绘満'){
+ var qwe = jzdtbt.PricebookEntry ? jzdtbt.PricebookEntry.Product2.ProductCategory__c : jzdtbt.pageObject.PricebookEntry.Product2.ProductCategory__c;
+ if(qwe == 'SP涓绘満'){
item.SPAssistantFlag = true;
flag = true;
}
--
Gitblit v1.9.1