feat(indexSun): 添加年份输入字段

- 在表单中新增年份输入框配置
- 设置默认值为当前年份
- 使用 dayjs 获取当前年份作为默认值
- 配置字段类型为 input,标签显示为 年份
This commit is contained in:
2026-04-14 10:34:39 +08:00
parent 9f6deb49a0
commit 336a881855
+7
View File
@@ -891,6 +891,13 @@ export const twoRNewForm = [
placeholder: '请输入单位',
defaultValue: '',
},
{
label: '年份',
field: 'year',
type: 'input',
placeholder: '请输入年份',
defaultValue: String(dayjs().year()),
},
];
export const oneRNewColumns = [