重新生成币种和价格
This commit is contained in:
@ -6,39 +6,11 @@ export const formConfig = {
|
||||
};
|
||||
|
||||
export const searchFormSchema: FormSchema[] = [
|
||||
{
|
||||
field: 'code',
|
||||
label: '编码',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
field: 'fullName',
|
||||
label: '名称',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
field: 'currSymbol',
|
||||
label: '符号',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
field: 'localSign',
|
||||
label: '是否本币',
|
||||
component: 'XjrSelect',
|
||||
componentProps: {
|
||||
datasourceType: 'dic',
|
||||
params: { itemId: '1978056598125330433' },
|
||||
labelField: 'name',
|
||||
valueField: 'value',
|
||||
|
||||
getPopupContainer: () => document.body,
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'sort',
|
||||
label: '显示顺序',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
field: 'valid',
|
||||
label: '有效标志',
|
||||
@ -52,6 +24,24 @@ export const searchFormSchema: FormSchema[] = [
|
||||
getPopupContainer: () => document.body,
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'code',
|
||||
label: '编码',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
field: 'localSign',
|
||||
label: '是否本币',
|
||||
component: 'XjrSelect',
|
||||
componentProps: {
|
||||
datasourceType: 'dic',
|
||||
params: { itemId: '1978056598125330433' },
|
||||
labelField: 'name',
|
||||
valueField: 'value',
|
||||
|
||||
getPopupContainer: () => document.body,
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'note',
|
||||
label: '备注',
|
||||
@ -78,15 +68,6 @@ export const columns: BasicColumn[] = [
|
||||
sorter: true,
|
||||
},
|
||||
|
||||
{
|
||||
dataIndex: 'currSymbol',
|
||||
title: '符号',
|
||||
componentType: 'input',
|
||||
align: 'left',
|
||||
|
||||
sorter: true,
|
||||
},
|
||||
|
||||
{
|
||||
dataIndex: 'localSign',
|
||||
title: '是否本币',
|
||||
@ -96,15 +77,6 @@ export const columns: BasicColumn[] = [
|
||||
sorter: true,
|
||||
},
|
||||
|
||||
{
|
||||
dataIndex: 'sort',
|
||||
title: '显示顺序',
|
||||
componentType: 'input',
|
||||
align: 'left',
|
||||
|
||||
sorter: true,
|
||||
},
|
||||
|
||||
{
|
||||
dataIndex: 'valid',
|
||||
title: '有效标志',
|
||||
@ -117,7 +89,7 @@ export const columns: BasicColumn[] = [
|
||||
{
|
||||
dataIndex: 'note',
|
||||
title: '备注',
|
||||
componentType: 'input',
|
||||
componentType: 'textarea',
|
||||
align: 'left',
|
||||
|
||||
sorter: true,
|
||||
@ -193,7 +165,7 @@ export const formProps: FormProps = {
|
||||
size: 'default',
|
||||
schemas: [
|
||||
{
|
||||
key: '8bdc5b8468004f54904d30bf03e445cc',
|
||||
key: '216e1018f11a4d4aa5ad0879dd4d8209',
|
||||
field: 'code',
|
||||
label: '编码',
|
||||
type: 'input',
|
||||
@ -209,15 +181,14 @@ export const formProps: FormProps = {
|
||||
responsive: false,
|
||||
respNewRow: false,
|
||||
placeholder: '请输入编码',
|
||||
maxlength: null,
|
||||
prefix: '',
|
||||
suffix: '',
|
||||
addonBefore: '',
|
||||
addonAfter: '',
|
||||
disabled: false,
|
||||
allowClear: false,
|
||||
allowClear: true,
|
||||
showLabel: true,
|
||||
required: false,
|
||||
required: true,
|
||||
rules: [],
|
||||
events: {},
|
||||
isSave: false,
|
||||
@ -227,7 +198,7 @@ export const formProps: FormProps = {
|
||||
},
|
||||
},
|
||||
{
|
||||
key: '866d9f66d886441990702205e50214ae',
|
||||
key: '6074c6c1ac8b4f528fa421f8464e6e73',
|
||||
field: 'fullName',
|
||||
label: '名称',
|
||||
type: 'input',
|
||||
@ -243,15 +214,14 @@ export const formProps: FormProps = {
|
||||
responsive: false,
|
||||
respNewRow: false,
|
||||
placeholder: '请输入名称',
|
||||
maxlength: null,
|
||||
prefix: '',
|
||||
suffix: '',
|
||||
addonBefore: '',
|
||||
addonAfter: '',
|
||||
disabled: false,
|
||||
allowClear: false,
|
||||
allowClear: true,
|
||||
showLabel: true,
|
||||
required: false,
|
||||
required: true,
|
||||
rules: [],
|
||||
events: {},
|
||||
isSave: false,
|
||||
@ -261,41 +231,7 @@ export const formProps: FormProps = {
|
||||
},
|
||||
},
|
||||
{
|
||||
key: 'afe4e7d3e0f34542baa38a7201d987f0',
|
||||
field: 'currSymbol',
|
||||
label: '符号',
|
||||
type: 'input',
|
||||
component: 'Input',
|
||||
colProps: { span: 24 },
|
||||
defaultValue: '',
|
||||
componentProps: {
|
||||
width: '100%',
|
||||
span: '',
|
||||
defaultValue: '',
|
||||
labelWidthMode: 'fix',
|
||||
labelFixWidth: 120,
|
||||
responsive: false,
|
||||
respNewRow: false,
|
||||
placeholder: '请输入符号',
|
||||
maxlength: null,
|
||||
prefix: '',
|
||||
suffix: '',
|
||||
addonBefore: '',
|
||||
addonAfter: '',
|
||||
disabled: false,
|
||||
allowClear: false,
|
||||
showLabel: true,
|
||||
required: false,
|
||||
rules: [],
|
||||
events: {},
|
||||
isSave: false,
|
||||
isShow: true,
|
||||
scan: false,
|
||||
style: { width: '100%' },
|
||||
},
|
||||
},
|
||||
{
|
||||
key: '1270794f304d4a2dbc0f4b9428979900',
|
||||
key: '477dc52fa33b402f94146203c9ffcdc7',
|
||||
field: 'localSign',
|
||||
label: '是否本币',
|
||||
type: 'select',
|
||||
@ -314,13 +250,12 @@ export const formProps: FormProps = {
|
||||
showSearch: false,
|
||||
clearable: false,
|
||||
disabled: false,
|
||||
mode: 'multiple',
|
||||
mode: '',
|
||||
staticOptions: [
|
||||
{ key: 1, label: 'Option 1', value: 'Option 1' },
|
||||
{ key: 2, label: 'Option 2', value: 'Option 2' },
|
||||
{ key: 3, label: 'Option 3', value: 'Option 3' },
|
||||
],
|
||||
defaultSelect: null,
|
||||
datasourceType: 'dic',
|
||||
params: { itemId: '1978056598125330433' },
|
||||
labelField: 'name',
|
||||
@ -331,7 +266,7 @@ export const formProps: FormProps = {
|
||||
apiId: '93d735dcb7364a0f8102188ec4d77ac7',
|
||||
},
|
||||
dicOptions: [],
|
||||
required: false,
|
||||
required: true,
|
||||
rules: [],
|
||||
events: {},
|
||||
isShow: true,
|
||||
@ -340,41 +275,7 @@ export const formProps: FormProps = {
|
||||
},
|
||||
},
|
||||
{
|
||||
key: 'eaa4d5c8eda64cd897bd7fd99bc7c583',
|
||||
field: 'sort',
|
||||
label: '显示顺序',
|
||||
type: 'input',
|
||||
component: 'Input',
|
||||
colProps: { span: 24 },
|
||||
defaultValue: '',
|
||||
componentProps: {
|
||||
width: '100%',
|
||||
span: '',
|
||||
defaultValue: '',
|
||||
labelWidthMode: 'fix',
|
||||
labelFixWidth: 120,
|
||||
responsive: false,
|
||||
respNewRow: false,
|
||||
placeholder: '请输入显示顺序',
|
||||
maxlength: null,
|
||||
prefix: '',
|
||||
suffix: '',
|
||||
addonBefore: '',
|
||||
addonAfter: '',
|
||||
disabled: false,
|
||||
allowClear: false,
|
||||
showLabel: true,
|
||||
required: false,
|
||||
rules: [],
|
||||
events: {},
|
||||
isSave: false,
|
||||
isShow: true,
|
||||
scan: false,
|
||||
style: { width: '100%' },
|
||||
},
|
||||
},
|
||||
{
|
||||
key: '601920889e184a83b2838b9959afd477',
|
||||
key: '7940a5fbdf024f44b18d063c2023ee46',
|
||||
field: 'valid',
|
||||
label: '有效标志',
|
||||
type: 'select',
|
||||
@ -392,14 +293,13 @@ export const formProps: FormProps = {
|
||||
showLabel: true,
|
||||
showSearch: false,
|
||||
clearable: false,
|
||||
disabled: false,
|
||||
mode: 'multiple',
|
||||
disabled: true,
|
||||
mode: '',
|
||||
staticOptions: [
|
||||
{ key: 1, label: 'Option 1', value: 'Option 1' },
|
||||
{ key: 2, label: 'Option 2', value: 'Option 2' },
|
||||
{ key: 3, label: 'Option 3', value: 'Option 3' },
|
||||
],
|
||||
defaultSelect: null,
|
||||
datasourceType: 'dic',
|
||||
params: { itemId: '1978057078528327681' },
|
||||
labelField: 'name',
|
||||
@ -419,11 +319,11 @@ export const formProps: FormProps = {
|
||||
},
|
||||
},
|
||||
{
|
||||
key: '3c877465ed7c43239afbf22889098695',
|
||||
key: '45d20cfa03a747b2a1e1ebb0cb8198c5',
|
||||
field: 'note',
|
||||
label: '备注',
|
||||
type: 'input',
|
||||
component: 'Input',
|
||||
type: 'textarea',
|
||||
component: 'InputTextArea',
|
||||
colProps: { span: 24 },
|
||||
defaultValue: '',
|
||||
componentProps: {
|
||||
@ -433,22 +333,19 @@ export const formProps: FormProps = {
|
||||
labelWidthMode: 'fix',
|
||||
labelFixWidth: 120,
|
||||
responsive: false,
|
||||
respNewRow: false,
|
||||
respNewRow: true,
|
||||
placeholder: '请输入备注',
|
||||
maxlength: null,
|
||||
prefix: '',
|
||||
suffix: '',
|
||||
addonBefore: '',
|
||||
addonAfter: '',
|
||||
maxlength: 400,
|
||||
rows: 4,
|
||||
autoSize: false,
|
||||
showCount: true,
|
||||
disabled: false,
|
||||
allowClear: false,
|
||||
showLabel: true,
|
||||
allowClear: false,
|
||||
required: false,
|
||||
isShow: true,
|
||||
rules: [],
|
||||
events: {},
|
||||
isSave: false,
|
||||
isShow: true,
|
||||
scan: false,
|
||||
style: { width: '100%' },
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user