fix decimal x string convertion

This commit is contained in:
vchikalkin 2021-06-21 16:22:58 +03:00
parent 4731b00613
commit bbe4e158d9

View File

@ -362,6 +362,12 @@ const loadKpReaction: IReactionEffect = calculationStore => ({
const quoteValue = get(quote, quoteFieldName);
if (!isNil(quoteValue)) row[rowFieldName] = quoteValue;
});
//fix with Serega
row['evo_id_elt_osago'] = quote.evo_id_elt_osago
? parseInt(quote.evo_id_elt_osago)
: undefined;
if (
Object.keys(mapQuoteToELTOsago).length ===
Object.keys(row).length