From e558f0ca4c9de7271861601076b2d8e48c513c59 Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: 星期二, 18 十一月 2025 14:30:33 +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 3ef6053..0cd0d56 100644
--- a/src/views/build/conpanyFunctionConsult/need/needIdentify/components/editDialog.vue
+++ b/src/views/build/conpanyFunctionConsult/need/needIdentify/components/editDialog.vue
@@ -11,7 +11,7 @@
       <el-form :model="state.form" size="default" ref="busRef" :rules="state.rules"  label-position="right" label-width="130">
         <el-row :gutter="24">
           <el-col :span="24">
-            <el-form-item label="企业名称:" prop="companyId" v-if="state.isAdmin">
+            <el-form-item label="单位名称:" prop="companyId" v-if="state.isAdmin">
               <el-select v-model="state.form.companyId" placeholder="请选择" filterable clearable style="width: 100%" :disabled="title == '查看' || title == '编辑' || !state.isAdmin" @change="selectValueCom">
                 <el-option
                     v-for="item in state.companyList"
@@ -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