From 1f27afeb9a001ef9df74011ab4ab2a64a3f2c5db Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Mon, 12 Apr 2021 14:44:39 +0800 Subject: [PATCH] Merge branch 'score_shop' of http://120.27.238.55:7000/r/beauty-erp into score_shop --- zq-erp/src/main/resources/templates/views/admin/hive/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/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