|
|
@ -44,7 +44,11 @@ export const formSchema: FormSchema[] = [
|
|
|
|
<#if po.fieldType =='date'>
|
|
|
|
<#if po.fieldType =='date'>
|
|
|
|
component: 'DatePicker'
|
|
|
|
component: 'DatePicker'
|
|
|
|
<#elseif po.fieldType =='datetime'>
|
|
|
|
<#elseif po.fieldType =='datetime'>
|
|
|
|
component: 'TimePicker'
|
|
|
|
component: 'DatePicker',
|
|
|
|
|
|
|
|
componentProps: {
|
|
|
|
|
|
|
|
showTime: true,
|
|
|
|
|
|
|
|
valueFormat: 'YYYY-MM-DD hh:mm:ss',
|
|
|
|
|
|
|
|
},
|
|
|
|
<#elseif "int,decimal,double,"?contains(po.fieldType)>
|
|
|
|
<#elseif "int,decimal,double,"?contains(po.fieldType)>
|
|
|
|
component: 'InputNumber'
|
|
|
|
component: 'InputNumber'
|
|
|
|
<#else>
|
|
|
|
<#else>
|
|
|
|