From d2c276d37c5ad5eefa00eeebe6b30186bcce2d19 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期五, 14 二月 2025 10:09:01 +0800 Subject: [PATCH] 流程推进详情表头调整 --- src/views/projectEngineering/projectLibrary/component/InvestInfo.vue | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/src/views/projectEngineering/projectLibrary/component/InvestInfo.vue b/src/views/projectEngineering/projectLibrary/component/InvestInfo.vue index d1f5d7f..7b1b6e0 100644 --- a/src/views/projectEngineering/projectLibrary/component/InvestInfo.vue +++ b/src/views/projectEngineering/projectLibrary/component/InvestInfo.vue @@ -219,7 +219,6 @@ // 灏濊瘯瑙f瀽JSON鏁版嵁 const parsedInvestmentForm = investmentForm ? JSON.parse(investmentForm) : null; const parsedProjectForm = projectForm ? JSON.parse(projectForm) : null; - console.log(parsedInvestmentForm) // 璁剧疆investment鍜宲rojectForm瀵硅薄 if(parsedInvestmentForm) { this.investmentForm = parsedInvestmentForm; @@ -236,6 +235,8 @@ this.investmentForm.plannedStartDate = this.projectForm.planStartTime; this.investmentForm.expectedCompletionDate = this.projectForm.planCompleteTime; } + + this.investmentForm.projectId = this.projectForm.id; }, beforeDestroy() { if(Object.keys(this.investmentForm).length !==0) localStorage.setItem("investmentForm", JSON.stringify(this.investmentForm)); @@ -273,6 +274,14 @@ } } }, + }, + watch: { + investmentForm: { + deep: true, + handler(newVal) { + this.$emit('investInfoForm', newVal) + } + } } }; -- Gitblit v1.8.0