From 2207aed8606055c00c49d8e889401d5c78545241 Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: 星期四, 16 十月 2025 15:02:52 +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