@@ -69,9 +69,21 @@ export const formSchema: FormSchema[] = [
label: '年度(year)',
field: 'year',
required: true,
- component: 'Input',
+ component: 'DatePicker',
componentProps:{
- AutoComplete:'off'
+ AutoComplete:'off',
+ picker:"year",
+ valueFormat:'YYYY'
+ },
+ {
+ label: '月度(month)',
+ field: 'month',
+ required: true,
+ component: 'MonthPicker',
+ componentProps:{
+ valueFormat:'YYYY-MM'
},
{