From 66e4bfcb47f575e0cd564ccea48295acfb65b1b9 Mon Sep 17 00:00:00 2001 From: admin <> Date: Tue, 18 Jun 2024 16:14:46 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E7=BB=8F=E8=90=A5=E6=A6=82=E5=86=B5?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/PagesStatistics/businessOverview.vue | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/PagesStatistics/businessOverview.vue b/src/PagesStatistics/businessOverview.vue index dba2a6e..32077f2 100644 --- a/src/PagesStatistics/businessOverview.vue +++ b/src/PagesStatistics/businessOverview.vue @@ -22,7 +22,7 @@ {{ item.name }}:{{ item.isBefore ? item.unit : "" }} {{ formatMoney(item.num, 0) }} + >{{ item.isBefore ? item.unit : "" }} {{ formatMoney(item.num, item.decimal) }} {{ item.isBefore ? "" : item.unit }} @@ -33,7 +33,7 @@ {{ item.name }}: {{ item.isBefore ? item.unit : "" }} {{ formatMoney(item.num, 0) }} + >{{ item.isBefore ? item.unit : "" }} {{ formatMoney(item.num, item.decimal) }} {{ item.isBefore ? "" : item.unit }} @@ -43,7 +43,7 @@ {{ item.name }}:{{ item.isBefore ? item.unit : "" }} {{ formatMoney(item.num, 0)}} + >{{ item.isBefore ? item.unit : "" }} {{ formatMoney(item.num, item.decimal)}} {{ item.isBefore ? "" : item.unit }} @@ -117,6 +117,7 @@ const gridList1 = reactive([ num: "", unit: "¥", isBefore: true, + decimal: 2, }, { name: "出货收入", @@ -124,6 +125,7 @@ const gridList1 = reactive([ num: "", unit: "¥", isBefore: true, + decimal: 2, }, { name: "其他收入", @@ -131,6 +133,7 @@ const gridList1 = reactive([ num: "", unit: "¥", isBefore: true, + decimal: 2, }, {}, { @@ -139,6 +142,7 @@ const gridList1 = reactive([ num: "", unit: "¥", isBefore: true, + decimal: 2, }, { name: "收货支出", @@ -146,6 +150,7 @@ const gridList1 = reactive([ num: "", unit: "¥", isBefore: true, + decimal: 2, }, { name: "其他支出", @@ -153,6 +158,7 @@ const gridList1 = reactive([ num: "", unit: "¥", isBefore: true, + decimal: 2, }, { name: "杂费支出", @@ -160,6 +166,7 @@ const gridList1 = reactive([ num: "", unit: "¥", isBefore: true, + decimal: 2, }, { name: "运费支出", @@ -167,6 +174,7 @@ const gridList1 = reactive([ num: "", unit: "¥", isBefore: true, + decimal: 2, }, ]); const gridList2 = reactive([