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

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

diff --git a/src/views/build/conpanyFunctionConsult/need/needIdentify/components/editDialog.vue b/src/views/build/conpanyFunctionConsult/need/needIdentify/components/editDialog.vue
index 15d9c3c..4978ac5 100644
--- a/src/views/build/conpanyFunctionConsult/need/needIdentify/components/editDialog.vue
+++ b/src/views/build/conpanyFunctionConsult/need/needIdentify/components/editDialog.vue
@@ -3,7 +3,7 @@
     <el-dialog
         v-model="dialogVisible"
         :title="title"
-        width="50%"
+        width="900px"
         :before-close="handleClose"
         :close-on-press-escape="false"
         :close-on-click-modal="false"
@@ -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