From 4ed64339fae7092b54cafae8ac89666e5bcc972f Mon Sep 17 00:00:00 2001
From: odjbin <1042039504@qq.com>
Date: Sun, 9 Jun 2024 17:50:49 +0800
Subject: [PATCH] =?UTF-8?q?fix=20:=20=E9=87=91=E9=A2=9D=E6=A0=BC=E5=BC=8F?=
=?UTF-8?q?=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/project-demand/summary/index.js | 5 ++--
.../DetailComponent/SpecialFundDetail.vue | 19 +++++++++------
.../DetailComponent/SummaryDetail.vue | 9 +++----
src/utils/changePrice.js | 8 +++++++
src/views/expense-management/ledger/index.vue | 24 +++++++++++--------
src/views/expense-management/share/detail.vue | 11 ++++-----
src/views/project-demand/summary/add.vue | 15 ++++--------
src/views/project-management/filing/index.vue | 11 ++-------
.../implementation/index.vue | 11 ++-------
.../project-management/initiation/index.vue | 11 ++-------
src/views/special-fund/index.vue | 10 +-------
11 files changed, 59 insertions(+), 75 deletions(-)
create mode 100644 src/utils/changePrice.js
diff --git a/src/api/project-demand/summary/index.js b/src/api/project-demand/summary/index.js
index 5fc3430..a23f224 100644
--- a/src/api/project-demand/summary/index.js
+++ b/src/api/project-demand/summary/index.js
@@ -18,9 +18,10 @@ export const requirementReported = (data) => {
data: data
});
};
-export const getProcessInfo = () => {
+//获取需求上报 流程信息
+export const getProcessInfo = (specialFund) => {
return request({
- url: '/workflow/mosr/requirement/collect/process',
+ url: `/workflow/mosr/requirement/collect/process/${specialFund}`,
method: "get"
});
};
diff --git a/src/components/DetailComponent/SpecialFundDetail.vue b/src/components/DetailComponent/SpecialFundDetail.vue
index f8d6a6a..7806e87 100644
--- a/src/components/DetailComponent/SpecialFundDetail.vue
+++ b/src/components/DetailComponent/SpecialFundDetail.vue
@@ -10,12 +10,12 @@
- {{ formData.fundAmount }}
+ {{ toThousands(formData.fundAmount) }}
- {{ formData.residualAmount }}
+ {{ toThousands(formData.residualAmount) }}
@@ -72,16 +72,18 @@
-
+
diff --git a/src/components/DetailComponent/SummaryDetail.vue b/src/components/DetailComponent/SummaryDetail.vue
index 9673ff6..da790e8 100644
--- a/src/components/DetailComponent/SummaryDetail.vue
+++ b/src/components/DetailComponent/SummaryDetail.vue
@@ -8,7 +8,7 @@
-
+
{{localFormData.specialFund }}
@@ -105,13 +105,13 @@
- {{ localFormData.economicEstimate }}
+ {{toThousands( localFormData.economicEstimate )}}
- {{ localFormData.specialFundAmount }}
+ v-if="localFormData.isSpecialFund">
+ {{ toThousands(localFormData.specialFundAmount) }}
@@ -163,6 +163,7 @@