From e6f2e152a23f5883215ab8dcb75718533c581ac7 Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: 星期二, 14 十月 2025 09:15:37 +0800
Subject: [PATCH] 修改
---
src/views/build/conpanyFunctionConsult/qualityObjectives/objective/components/objectiveDialog.vue | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/views/build/conpanyFunctionConsult/qualityObjectives/objective/components/objectiveDialog.vue b/src/views/build/conpanyFunctionConsult/qualityObjectives/objective/components/objectiveDialog.vue
index 186bb25..177507c 100644
--- a/src/views/build/conpanyFunctionConsult/qualityObjectives/objective/components/objectiveDialog.vue
+++ b/src/views/build/conpanyFunctionConsult/qualityObjectives/objective/components/objectiveDialog.vue
@@ -230,7 +230,7 @@
const state = reactive({
form: {
id: '',
- year: '',
+ year: '2025',
num: '',
type: '',
departId: '',
@@ -306,6 +306,7 @@
state.companyList = companyList
state.form.companyId = null
}
+ 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));
@@ -392,7 +393,7 @@
const reset = () => {
state.form = {
id: '',
- year: '',
+ year: '2025',
num: '',
type: '',
departId: '',
--
Gitblit v1.9.2