From 8f1fec871f4c4d04793d32070a341ac31a48898c Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: 星期三, 15 十月 2025 09:01:58 +0800
Subject: [PATCH] 修改新增

---
 src/views/build/conpanyFunctionConsult/need/needIdentify/components/editDialog.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/views/build/conpanyFunctionConsult/need/needIdentify/components/editDialog.vue b/src/views/build/conpanyFunctionConsult/need/needIdentify/components/editDialog.vue
index 3ef6053..4978ac5 100644
--- a/src/views/build/conpanyFunctionConsult/need/needIdentify/components/editDialog.vue
+++ b/src/views/build/conpanyFunctionConsult/need/needIdentify/components/editDialog.vue
@@ -203,7 +203,7 @@
     id: '',
     companyId: null,
     deptId: null,
-    year: '',
+    year: '2025',
     fictionId: null,
     checkId: null,
     ratifyId: null,
@@ -267,6 +267,7 @@
     state.form.companyName = value.companyName
     state.companyList = companyList
   }
+  state.form.year = new Date().getFullYear().toString()
   title.value = type === 'add' ? '新增' : type ==='edit' ? '编辑' : '查看' ;
   if(type === 'edit' || type === 'review') {
     state.form = JSON.parse(JSON.stringify(value));
@@ -344,7 +345,7 @@
     id: '',
     companyId: null,
     deptId: null,
-    year: '',
+    year: '2025',
     fictionId: null,
     checkId: null,
     ratifyId: null,

--
Gitblit v1.9.2