From 12cd43619b73ef14b45ff3691b478a87b5d48d9d Mon Sep 17 00:00:00 2001 From: ndbs Date: Wed, 28 Dec 2022 10:54:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=8E=E5=8D=9A=E6=9B=B4=E6=94=B9=E5=90=88?= =?UTF-8?q?=E8=AE=A1=E5=88=97=E9=83=A8=E5=88=86=E5=B0=8F=E6=95=B0=E4=BF=9D?= =?UTF-8?q?=E7=95=99=E5=B0=8F=E6=95=B0=E4=B8=8D=E6=AD=A3=E7=A1=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/LR_Content/plugin/grid/jfgrid.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/plugin/grid/jfgrid.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/plugin/grid/jfgrid.js index 0e52883b1..0b5fc2ada 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/plugin/grid/jfgrid.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/plugin/grid/jfgrid.js @@ -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;