From b59d89e4258d8e259d221dc7fc9f8f073f283d93 Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: 星期三, 05 十一月 2025 16:50:17 +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