From 51812fb0cc2e384b4c8423f9909843a1bda38046 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Sat, 28 Mar 2026 18:51:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=B0=E6=A1=8C=E5=88=97=E8=A1=A8=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E9=87=91=E9=A2=9D=E6=98=BE=E7=A4=BA=E4=BF=9D=E6=8C=81?= =?UTF-8?q?=E4=B8=A4=E4=BD=8D=E5=B0=8F=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/tool/table/index.vue | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/views/tool/table/index.vue b/src/views/tool/table/index.vue index 8170de1..67d4827 100644 --- a/src/views/tool/table/index.vue +++ b/src/views/tool/table/index.vue @@ -400,12 +400,14 @@ const totalPerson = computed(() => { }); const totalMoney = computed(() => { - return tableList.value.reduce((pre, cur) => { - if (cur.status == "unsettled") { - return pre + cur.orderAmount; - } - return pre; - }, 0); + return tableList.value + .reduce((pre, cur) => { + if (cur.status == "unsettled") { + return pre + cur.orderAmount; + } + return pre; + }, 0) + .toFixed(2); }); // 区域