123
chenjingwu
2024-04-11 d29f75b84fccd06917fb8e2c2ee70e9d76f868cd
force-app/main/default/lwc/lexNewQuoteEntry/lexNexQuoteEntryUtil.js
@@ -607,6 +607,7 @@
    quo.Dealer_Final_Price_Page__c = quoin.Dealer_Final_Price_Page__c!=undefined&&quoin.Dealer_Final_Price_Page__c!=='' ?localParseFloat(quoin.Dealer_Final_Price_Page__c):null;
    quo.OCM_Agent1_Price_Page__c = quoin.OCM_Agent1_Price_Page__c!=undefined &&quoin.OCM_Agent1_Price_Page__c!==''? localParseFloat(quoin.OCM_Agent1_Price_Page__c):null;
    quo.MultiYearWarrantyTotalPrice__c = quoin.MultiYearWarrantyTotalPrice__c!=undefined? localParseFloat(quoin.MultiYearWarrantyTotalPrice__c):null;
    quo.ExtendedWarrantyAmountTotalPrice__c = quoin.ExtendedWarrantyAmountTotalPrice__c!=undefined? localParseFloat(quoin.ExtendedWarrantyAmountTotalPrice__c):null;
    quo.Estimation_List_Price__c = quoin.Estimation_List_Price__c!=undefined? localParseFloat(quoin.Estimation_List_Price__c):null;
    quo.QuoteTotal_Page__c = quoin.QuoteTotal_Page__c !=undefined?localParseFloat(quoin.QuoteTotal_Page__c):null;
    quo.Agency1_Profit__c = quoin.Agency1_Profit__c !=undefined?localParseFloat(quoin.Agency1_Profit__c):null;
@@ -2189,7 +2190,6 @@
        quoc:quoCan};
}
export function onsaveToBeproductLoc(data,jzDataToBeproduct){
    debugger
    var dataMap = new Map();
    var fag = false;
    data.forEach(item=>{
@@ -2208,7 +2208,7 @@
        dataMap.set(key,value);
    });
    jzDataToBeproduct.forEach(jzdtbt=>{
        var x, y, z, c;
        var x, y, z, c ,e;
        if(dataMap.has(jzdtbt.lineNo)){
            var datavaue = dataMap.get(jzdtbt.lineNo);
            if(datavaue.Quantity__c){
@@ -2651,7 +2651,8 @@
            //DB202312560765 you 否有EndoRapid资质检查 start 
            item.IFEndoRapidFlag = jzdtbt.IFEndoRapidFlag;
            //DB202312560765 you 否有EndoRapid资质检查 end
            if(jzdtbt.PricebookEntry.Product2.ProductCategory__c == 'SP主机'){
            var qwe = jzdtbt.PricebookEntry ? jzdtbt.PricebookEntry.Product2.ProductCategory__c : jzdtbt.pageObject.PricebookEntry.Product2.ProductCategory__c;
            if(qwe == 'SP主机'){
                item.SPAssistantFlag = true;
                flag = true;
            }