1
chenjingwu
2024-04-10 b3c2f526a572d955e81acee658f53c49a52f2dd7
1
1个文件已修改
9 ■■■■■ 已修改文件
force-app/main/default/lwc/lexNewQuoteEntry/lexNewQuoteEntry.js 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/lwc/lexNewQuoteEntry/lexNewQuoteEntry.js
@@ -1774,6 +1774,7 @@
                quoteLineItem=InitializeProductAssignment(quoteLineItem);
                this.jzDataToBeproduct=quoteLineItem;
                // cjw
                var idList = [];
                this.jzDataToBeproduct.forEach(item=>{
                    idList.push(item.pageObject.PricebookEntry.Product2Id);
                });
@@ -1827,6 +1828,14 @@
                    var quoteLineItem = JSON.parse(tempArr[1]);
                    quoteLineItem = InitializeProductAssignment(quoteLineItem);
                    this.jzDataToBeproduct = quoteLineItem;
                    // cjw
                    var idList = [];
                    this.jzDataToBeproduct.forEach(item=>{
                        idList.push(item.pageObject.PricebookEntry.Product2Id);
                    });
                    addOptions({idList: idList}).then(result=>{
                        this.addOptionsLogic(result);
                    });
                    if(quoteLineItem.length!=num){
                        this.quo.IsQuoteTrial__c = false;
                    }