123
chenjingwu
2024-04-11 f9a2ec60618daf3a1541a6ddbf86cd48c034190a
force-app/main/default/lwc/lexNewQuoteEntry/lexNewQuoteEntry.js
@@ -1830,6 +1830,7 @@
                    var errormessage = tempArr[0];
                    var quoteLineItem = JSON.parse(tempArr[1]);
                    quoteLineItem = InitializeProductAssignment(quoteLineItem);
                    this.tobeflag=false;
                    this.jzDataToBeproduct = quoteLineItem;
                    // cjw
                    console.log('xxx');
@@ -1840,6 +1841,7 @@
                    });
                    addOptions({idList: idList}).then(result=>{
                        this.addOptionsLogic(result);
                        this.tobeflag=true;
                    });
                    if(quoteLineItem.length!=num){
                        this.quo.IsQuoteTrial__c = false;
@@ -1927,6 +1929,8 @@
        key2.forEach(item=>{
            priceMap.set(item,map2[item]);
        });
        console.log('loh');
        console.log(this.jzDataToBeproduct);
        this.jzDataToBeproduct.forEach(item=>{
            if(result){
                item.Learning_CommunityOptions = optionMap.get(item.pageObject.Id__c);
@@ -1943,6 +1947,7 @@
                }
            }
        });
        console.log(this.jzDataToBeproduct);
    }
    // cjw
    //新增报价产品模态框取消按钮