From a6a7a4e83171181477a99d429b01c3b73cb0be2d Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: 星期五, 07 十一月 2025 15:35:11 +0800
Subject: [PATCH] 修改

---
 src/views/work/selfProblems/scenario/components/scenarioDialog.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/views/work/selfProblems/scenario/components/scenarioDialog.vue b/src/views/work/selfProblems/scenario/components/scenarioDialog.vue
index 8685cb8..48895c8 100644
--- a/src/views/work/selfProblems/scenario/components/scenarioDialog.vue
+++ b/src/views/work/selfProblems/scenario/components/scenarioDialog.vue
@@ -157,7 +157,7 @@
   form: {
     id: '',
     companyId: null,
-    year: "",
+    year: "2025",
     purpose: "",
     auditPurpose: "",
     reviewBasis: "",
@@ -230,6 +230,7 @@
     state.form.companyName = value.companyName
   }
   title.value = type === 'add' ? '新增' : type ==='edit' ? '编辑' : '查看' ;
+  state.form.year = new Date().getFullYear().toString()
   if(type === 'edit' || type === 'review') {
     state.form = JSON.parse(JSON.stringify(value));
     if(state.isAdmin){
@@ -328,7 +329,7 @@
   state.form = {
     id: '',
     companyId: null,
-    year: "",
+    year: "2025",
     purpose: "",
     auditPurpose: "",
     reviewBasis: "",

--
Gitblit v1.9.2