From b8b51ef1013aada5277664fc7c47e2fe3f09a4ce Mon Sep 17 00:00:00 2001
From: chenhang <3165269033@qq.com>
Date: Thu, 22 May 2025 16:52:26 +0800
Subject: [PATCH] fix: 提成日期从2023放宽到2020

---
 src/views/project/config/costCreate.vue | 2 +-
 src/views/project/config/data.tsx       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/project/config/costCreate.vue b/src/views/project/config/costCreate.vue
index f76b128..3787209 100644
--- a/src/views/project/config/costCreate.vue
+++ b/src/views/project/config/costCreate.vue
@@ -75,7 +75,7 @@
       // Generate year options from 2023 to current year
       const currentYear = new Date().getFullYear();
       const yearOptions = ref<string[]>([]);
-      for (let y = 2023; y <= currentYear; y++) {
+      for (let y = 2020; y <= currentYear; y++) {
         yearOptions.value.push(y.toString());
       }
       // const relationValue = ref();
diff --git a/src/views/project/config/data.tsx b/src/views/project/config/data.tsx
index 23692ea..fc3cb4c 100644
--- a/src/views/project/config/data.tsx
+++ b/src/views/project/config/data.tsx
@@ -279,7 +279,7 @@ export const searchFormSchema = [
       options: (() => {
         const options = [];
         const currentYear = new Date().getFullYear();
-        for (let y = 2023; y <= currentYear; y++) {
+        for (let y = 2020; y <= currentYear; y++) {
           options.push({ label: y.toString(), value: y.toString() });
         }
         return options;
--
libgit2 0.23.3