Kaynağa Gözat

李博更改合计列部分小数保留小数不正确

新疆警官学校中职
ndbs 1 yıl önce
ebeveyn
işleme
12cd43619b
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/plugin/grid/jfgrid.js

+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/plugin/grid/jfgrid.js Dosyayı Görüntüle

@@ -154,7 +154,7 @@
op.running.statisticData[item.name] = op.running.statisticData[item.name] || 0;
op.running.statisticData[item.name] += (parseFloat(text || 0) - rowItem.statisticsNum);
rowItem.statisticsNum = parseFloat(text || 0);
$('#jfgrid_statistic_' + op.id + ' [name="' + item.name + '"]').text(op.running.statisticData[item.name]);
$('#jfgrid_statistic_' + op.id + ' [name="' + item.name + '"]').text(op.running.statisticData[item.name].toFixed(2));
}

$expend = null;
@@ -174,7 +174,7 @@
op.running.statisticData[item.name] = op.running.statisticData[item.name] || 0;
op.running.statisticData[item.name] += (parseFloat(text || 0) - rowItem.statisticsNum);
rowItem.statisticsNum = parseFloat(text || 0);
$('#jfgrid_statistic_' + op.id + ' [name="' + item.name + '"]').text(op.running.statisticData[item.name]);
$('#jfgrid_statistic_' + op.id + ' [name="' + item.name + '"]').text(op.running.statisticData[item.name].toFixed(2));
}

}, value, row, op, rowItem.$cell);
@@ -449,7 +449,7 @@
op.running.statisticData[item.name] += (parseFloat(rowItem.text || 0) - rowItem.statisticsNum);
rowItem.statisticsNum = parseFloat(rowItem.text || 0);

$('#jfgrid_statistic_' + op.id + ' [name="' + item.name + '"]').text(op.running.statisticData[item.name]);
$('#jfgrid_statistic_' + op.id + ' [name="' + item.name + '"]').text(op.running.statisticData[item.name].toFixed(2));
}

$expend = null;


Yükleniyor…
İptal
Kaydet