23 lines
1.4 KiB
TypeScript
23 lines
1.4 KiB
TypeScript
export const transferTypeOptions = [
|
|
{ label: '内部转账', value: 'internal' },
|
|
{ label: '第三方转账', value: 'external' },
|
|
]
|
|
export const internalFormItem = [
|
|
// 转出账号
|
|
{ prop: 'transferOutAccount', label: '转出账号', type: 'select' as const, placeholder: '请选择转出账号', width: '150px', labelPosition: 'top' as const },
|
|
// 转入账号
|
|
{ prop: 'transferInAccount', label: '转入账号', type: 'select' as const, placeholder: '请选择转入账号', width: '150px', labelPosition: 'top' as const },
|
|
// 转账金额
|
|
{ prop: 'transferAmount', label: '转账金额', type: 'input' as const, placeholder: '请输入转账金额', width: '150px', labelPosition: 'top' as const },
|
|
// 备注
|
|
{ prop: 'remark', label: '备注', type: 'input' as const, placeholder: '请输入备注', width: '150px', labelPosition: 'top' as const },
|
|
]
|
|
|
|
export const externalFormItem = [
|
|
// 转入账号
|
|
{ prop: 'transferInAccount', label: '转入账号', type: 'select' as const, placeholder: '请选择转入账号', width: '150px', labelPosition: 'top' as const },
|
|
// 转账金额
|
|
{ prop: 'transferAmount', label: '转账金额', type: 'input' as const, placeholder: '请输入转账金额', width: '150px', labelPosition: 'top' as const },
|
|
// 备注
|
|
{ prop: 'remark', label: '备注', type: 'input' as const, placeholder: '请输入备注', width: '150px', labelPosition: 'top' as const },
|
|
] |