From 63f12725c5a5beea6bf175e010e0ed2fbabd8b66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=90=8D=E9=94=90?= <1565842059@qq.com> Date: Mon, 27 Jul 2026 14:52:39 +0800 Subject: [PATCH] =?UTF-8?q?fix(entryexit):=20=E8=B5=84=E9=87=91=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=20=E9=87=91=E9=A2=9D=20=E5=B0=8F=E6=95=B0=E7=82=B9?= =?UTF-8?q?=E7=B2=BE=E5=BA=A6=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将数值格式从三位小数调整为两位小数 - 统一正负数值的格式化处理逻辑 - 修复 NaN 判断条件下的格式化显示问题 --- YLErpWeb/Views/entryexit/entryexitList.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YLErpWeb/Views/entryexit/entryexitList.cshtml b/YLErpWeb/Views/entryexit/entryexitList.cshtml index aaafc651..ca20dcc2 100644 --- a/YLErpWeb/Views/entryexit/entryexitList.cshtml +++ b/YLErpWeb/Views/entryexit/entryexitList.cshtml @@ -355,7 +355,7 @@ return numeral(-1 * cellValue).format("0,0.00") === 'NaN' ? "0" : numeral(-1 * cellValue).format("0,0.00"); } else { - return numeral(cellValue).format("0,0.000") === 'NaN' ? "0" : numeral(cellValue).format("0,0.000"); + return numeral(cellValue).format("0,0.00") === 'NaN' ? "0" : numeral(cellValue).format("0,0.00"); } }