From bb5be7a8a6ac24fbf66f03f070751577b87c95ca Mon Sep 17 00:00:00 2001 From: jyy <935090232@qq.com> Date: Thu, 15 Apr 2021 17:56:09 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/score_shop' into score_shop --- zq-erp/src/main/resources/templates/views/admin/hive-erp/statistics/daily-sale-list.html | 3 ++- 1 files changed, 2 insertions(+), 1 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) { -- Gitblit v1.9.1