From 745f15410ad87c6b42a79c8bf27dde901500a6bd Mon Sep 17 00:00:00 2001 From: corala <18339694416@163.com> Date: Tue, 22 Nov 2022 10:57:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=A8=E6=8A=A5=E6=95=B0=E6=8D=AE=E5=B1=95?= =?UTF-8?q?=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 2 +- pages/reportExcel/weekReport.vue | 13 +++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/pages.json b/pages.json index 4e40796..c655341 100644 --- a/pages.json +++ b/pages.json @@ -45,7 +45,7 @@ } ], "subPackages": [{ - "root": "pages/login", //登录相关 + "root": "pages/login", "name": "login", "pages": [{ "path": "index" diff --git a/pages/reportExcel/weekReport.vue b/pages/reportExcel/weekReport.vue index 0fc74a1..13bdfc9 100644 --- a/pages/reportExcel/weekReport.vue +++ b/pages/reportExcel/weekReport.vue @@ -145,15 +145,16 @@ {{ data.activeCustomer }} {{ data.fraction }}% @@ -581,6 +583,13 @@ }, methods: { + tofixed2(time){ + if(time){ + return time.toFixed(2) + }else{ + return 0 + } + }, forShare() { this.$u.get("/zkMessage/shareMessage", { id: this.id