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;
@@ -1910,7 +1912,6 @@
    }
    // cjw
    addOptionsLogic(result){
        this.tobeflag=false;
        var Setmap = new Map()
        var key = Object.keys(result)
        key.forEach(item=>{
@@ -1946,7 +1947,6 @@
                }
            }
        });
        this.tobeflag=true;
        console.log(this.jzDataToBeproduct);
    }
    // cjw