From 6b819e6e34a7a7a3fb87d4c34493894e0fd787d4 Mon Sep 17 00:00:00 2001 From: song Date: Thu, 27 Jan 2022 13:04:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=B8=85=E9=99=A4=E6=B5=AE?= =?UTF-8?q?=E7=82=B9=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/FinanceManage.vue | 50 ++++++++++++++++++++++------ components/HistoricalApplication.vue | 13 ++------ hooks/useApplication.js | 33 ------------------ nuxt.config.ts | 1 + pages/Initiate-application.vue | 27 +++++++++------ pages/application-details.vue | 11 +++--- pages/financial-approval-details.vue | 6 +--- utils/num.js | 36 ++++++++++++++++++++ 8 files changed, 101 insertions(+), 76 deletions(-) delete mode 100644 hooks/useApplication.js create mode 100644 utils/num.js diff --git a/components/FinanceManage.vue b/components/FinanceManage.vue index 35cf5df..ded5d81 100644 --- a/components/FinanceManage.vue +++ b/components/FinanceManage.vue @@ -10,18 +10,18 @@ {{item.name}} -
{{item.budget}}
- +
{{ item.budget }}
+ -
{{item.bonus}}
- +
{{ item.bonus }}
+ 合计 - {{data.info.budget || 0}} - {{data.info.bonus || 0}} + {{ num.except(+data.info.budget,100) || 0 }} + {{ num.except(+data.info.bonus,100) || 0 }}
@@ -35,16 +35,43 @@