chenjingwu
2024-04-11 87b65352e004a7e773bd2a2c18ab7dec122de29c
force-app/main/default/lwc/lexNewQuoteEntry/lexNexQuoteEntryUtil.js
@@ -2212,15 +2212,17 @@
                // jzdtbt.UnitPrice_Page__c = toNumComma(datavaue.UnitPrice_Page__c);
                jzdtbt.UnitPrice_Page__c = datavaue.UnitPrice_Page__c;
            }
            console.log("saf");
            console.log(jzdtbt);
            if(datavaue.Learning_Community){
                jzdtbt.Learning_Community = datavaue.Learning_Community;
                jzdtbt.multiYearWarrantyList.forEach(item=>{
                    if('' + (item.AgeLimit__c) == Learning_Community){
                        jzdtbt.MultiOneYearWarrantyPrice__c = item.MultiOneYearWarrantyPrice__c;
                    if('' + (item.AgeLimit__c) == jzdtbt.Learning_Community){
                        jzdtbt.exPrice = item.MultiOneYearWarrantyPrice__c;
                    }
                });
                if(jzdtbt.MultiOneYearWarrantyPrice__c == null || jzdtbt.MultiOneYearWarrantyPrice__c == '' || jzdtbt.MultiOneYearWarrantyPrice__c == undefined){
                    jzdtbt.MultiOneYearWarrantyPrice__c = 0;
                if(jzdtbt.exPrice == null || jzdtbt.exPrice == '' || jzdtbt.exPrice == undefined){
                    jzdtbt.exPrice = 0;
                }
            }
            x = localParseInt(jzdtbt.Quantity__c);