From aa691762432bbf42d6ded36e6e34e4d8ba5bee3f Mon Sep 17 00:00:00 2001
From: chenjingwu <chenjingwu@prec-tech.com>
Date: 星期三, 10 四月 2024 16:18:49 +0800
Subject: [PATCH] 1
---
force-app/main/default/lwc/lexNewQuoteEntry/lexNewQuoteEntry.js | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/force-app/main/default/lwc/lexNewQuoteEntry/lexNewQuoteEntry.js b/force-app/main/default/lwc/lexNewQuoteEntry/lexNewQuoteEntry.js
index 7755fb8..808cac5 100644
--- a/force-app/main/default/lwc/lexNewQuoteEntry/lexNewQuoteEntry.js
+++ b/force-app/main/default/lwc/lexNewQuoteEntry/lexNewQuoteEntry.js
@@ -1872,7 +1872,8 @@
idList.push(item.pageObject.PricebookEntry.Product2Id);
});
addOptions({idList: idList}).then(result=>{
- addOptionsLogic(result);
+ console.log('result');
+ this.addOptionsLogic(result);
if(alertExp){
this.Alert(alertExp,'error');
}
@@ -1888,8 +1889,11 @@
}
}
addOptionsLogic(result){
+ console.log(result);
this.jzDataToBeproduct.forEach(item=>{
- if(result.get(item.pageObject.PricebookEntry.Product2Id)){
+ var e = result.get(item.pageObject.PricebookEntry.Product2Id);
+ console.log(e);
+ if(e){
item.Learning_CommunityOptions = result.get(item.pageObject.PricebookEntry.Product2Id);
}
});
--
Gitblit v1.9.1