From 3b7800d98259fc090566c43ed42d835d3e3ae740 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期三, 15 一月 2025 16:37:56 +0800
Subject: [PATCH] 办理、查看详情页面优化

---
 src/views/projectEngineering/projectLibrary/component/investmentFunds.vue |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/src/views/projectEngineering/projectLibrary/component/investmentFunds.vue b/src/views/projectEngineering/projectLibrary/component/investmentFunds.vue
index 7f6ee41..e506821 100644
--- a/src/views/projectEngineering/projectLibrary/component/investmentFunds.vue
+++ b/src/views/projectEngineering/projectLibrary/component/investmentFunds.vue
@@ -197,6 +197,7 @@
   editProjectInvestmentFunding,
   getProjectInvestmentFundingById
 } from "@/api/projectEngineering/projectInvestmentFunding";
+import {editProject} from "@/api/projectEngineering/projectInfo";
 
 export default {
   name: 'InvestmentFundsForm',
@@ -285,10 +286,20 @@
     if (this.$route.query.projectId&& !parsedInvestmentFundsForm) {
       this.getInvestmentFunds();
     }
+
+    this.investmentFundsForm.projectId = this.projectForm.id;
   },
   beforeDestroy() {
     if(Object.keys(this.investmentFundsForm).length !==0) localStorage.setItem("investmentFundsForm", JSON.stringify(this.investmentFundsForm));
   },
+  watch: {
+    investmentFundsForm: {
+      deep: true,
+      handler(newVal) {
+        this.$emit('investmentFundsForm', newVal)
+      }
+    }
+  }
 }
 </script>
 

--
Gitblit v1.8.0