|
@@ -8,7 +8,7 @@ export const columns: BasicColumn[] = [
|
|
|
{
|
|
|
title: '币种(currency)',
|
|
|
align:"center",
|
|
|
- dataIndex: 'currency'
|
|
|
+ dataIndex: 'currency',
|
|
|
},
|
|
|
{
|
|
|
title: '年度(year)',
|
|
@@ -31,17 +31,27 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
{
|
|
|
label: '币种(currency)',
|
|
|
field:"currency",
|
|
|
- component: 'Input'
|
|
|
+ component: 'JDictSelectTag',
|
|
|
+ componentProps:{
|
|
|
+ dictCode: 'currency',
|
|
|
+ AutoComplete:'off'
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
label: '年度(year)',
|
|
|
field: 'year',
|
|
|
- component: 'Input'
|
|
|
+ component: 'Input',
|
|
|
+ componentProps:{
|
|
|
+ AutoComplete:'off'
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
label: '月度(month)',
|
|
|
field: 'month',
|
|
|
- component: 'Input'
|
|
|
+ component: 'Input',
|
|
|
+ componentProps:{
|
|
|
+ AutoComplete:'off'
|
|
|
+ },
|
|
|
},
|
|
|
];
|
|
|
//表单数据
|
|
@@ -49,17 +59,28 @@ export const formSchema: FormSchema[] = [
|
|
|
{
|
|
|
label: '币种(currency)',
|
|
|
field: 'currency',
|
|
|
- component: 'Input',
|
|
|
+ component: 'JDictSelectTag',
|
|
|
+ componentProps:{
|
|
|
+ dictCode: 'currency',
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
label: '年度(year)',
|
|
|
field: 'year',
|
|
|
+ required: true,
|
|
|
component: 'Input',
|
|
|
+ componentProps:{
|
|
|
+ AutoComplete:'off'
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
label: '汇率(exchangeRate)',
|
|
|
field: 'exchangeRate',
|
|
|
component: 'InputNumber',
|
|
|
+ required: true,
|
|
|
+ componentProps:{
|
|
|
+ AutoComplete:'off'
|
|
|
+ },
|
|
|
},
|
|
|
// TODO 主键隐藏字段,目前写死为ID
|
|
|
{
|