dtable-statistic 5.0.42-alpha.30 → 5.0.42-alpha.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -616,11 +616,10 @@ const updatedOneDimensionToTable = _ref5 => {
|
|
|
616
616
|
const column = columnMap[key];
|
|
617
617
|
const cellValueKey = key;
|
|
618
618
|
const totalCellValue = getValidValueForColumn(column, total[cellValueKey]);
|
|
619
|
+
rowTotal = rowTotal + Number(totalCellValue);
|
|
619
620
|
if (column && (0, _cellValue.isCellValueChanged)(row[column.key], totalCellValue, column.type)) {
|
|
620
621
|
updateRow[column.key] = totalCellValue;
|
|
621
622
|
oldRow[column.key] = row[column.key];
|
|
622
|
-
console.log('totalCellValue', Number(totalCellValue));
|
|
623
|
-
rowTotal = rowTotal + Number(totalCellValue);
|
|
624
623
|
}
|
|
625
624
|
});
|
|
626
625
|
|
|
@@ -629,7 +628,7 @@ const updatedOneDimensionToTable = _ref5 => {
|
|
|
629
628
|
console.log('item', item);
|
|
630
629
|
console.log('rowTotal', rowTotal);
|
|
631
630
|
updateRow[_reactIntlUniversal.default.get('Total')] = rowTotal;
|
|
632
|
-
oldRow[_reactIntlUniversal.default.get('Total')] =
|
|
631
|
+
oldRow[_reactIntlUniversal.default.get('Total')] = rowTotal;
|
|
633
632
|
if (Object.keys(updateRow).length > 0) {
|
|
634
633
|
console.log(222);
|
|
635
634
|
const rowId = row._id;
|