Commit b8b51ef1013aada5277664fc7c47e2fe3f09a4ce

Authored by chenhang4442024
1 parent a73835a2

fix: 提成日期从2023放宽到2020

src/views/project/config/costCreate.vue
... ... @@ -75,7 +75,7 @@
75 75 // Generate year options from 2023 to current year
76 76 const currentYear = new Date().getFullYear();
77 77 const yearOptions = ref<string[]>([]);
78   - for (let y = 2023; y <= currentYear; y++) {
  78 + for (let y = 2020; y <= currentYear; y++) {
79 79 yearOptions.value.push(y.toString());
80 80 }
81 81 // const relationValue = ref();
... ...
src/views/project/config/data.tsx
... ... @@ -279,7 +279,7 @@ export const searchFormSchema = [
279 279 options: (() => {
280 280 const options = [];
281 281 const currentYear = new Date().getFullYear();
282   - for (let y = 2023; y <= currentYear; y++) {
  282 + for (let y = 2020; y <= currentYear; y++) {
283 283 options.push({ label: y.toString(), value: y.toString() });
284 284 }
285 285 return options;
... ...