From 0930c034b802273c694b2cd880dddd4f9bb6fcd5 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Mon, 12 Apr 2021 12:40:22 +0800 Subject: [PATCH] modify --- zq-erp/src/main/resources/templates/views/admin/hive/statistics/daily-sale-list.html | 3 ++- zq-erp/src/main/resources/templates/views/admin/hive-erp/statistics/daily-sale-list.html | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/zq-erp/src/main/resources/templates/views/admin/hive-erp/statistics/daily-sale-list.html b/zq-erp/src/main/resources/templates/views/admin/hive-erp/statistics/daily-sale-list.html index e738a10..83c8a58 100644 --- a/zq-erp/src/main/resources/templates/views/admin/hive-erp/statistics/daily-sale-list.html +++ b/zq-erp/src/main/resources/templates/views/admin/hive-erp/statistics/daily-sale-list.html @@ -116,7 +116,8 @@ } function zkAmountFormat(value, row, index) { - return row.shouldPay + row.refund - row.arrears - row.totalPay; + var result = row.shouldPay + row.refund - row.arrears - row.totalPay; + return result.toFixed(2); } function footCountTitle(data) { diff --git a/zq-erp/src/main/resources/templates/views/admin/hive/statistics/daily-sale-list.html b/zq-erp/src/main/resources/templates/views/admin/hive/statistics/daily-sale-list.html index a9c2d1b..33f01ce 100644 --- a/zq-erp/src/main/resources/templates/views/admin/hive/statistics/daily-sale-list.html +++ b/zq-erp/src/main/resources/templates/views/admin/hive/statistics/daily-sale-list.html @@ -116,7 +116,8 @@ } function zkAmountFormat(value, row, index) { - return row.shouldPay + row.refund - row.arrears - row.totalPay; + var result = row.shouldPay + row.refund - row.arrears - row.totalPay; + return result.toFixed(2); } function footCountTitle(data) { -- Gitblit v1.9.1