|
@@ -713,14 +713,11 @@ const Expenses: React.FC = () => {
|
|
|
name="exchangeRate"
|
|
name="exchangeRate"
|
|
|
label="汇率"
|
|
label="汇率"
|
|
|
initialValue={1}
|
|
initialValue={1}
|
|
|
- rules={[
|
|
|
|
|
- { type: 'number', message: '汇率必须是数字' },
|
|
|
|
|
- { min: 0.0001, message: '汇率必须大于0' }
|
|
|
|
|
- ]}
|
|
|
|
|
>
|
|
>
|
|
|
- <Input
|
|
|
|
|
- type="number"
|
|
|
|
|
- step="0.0001"
|
|
|
|
|
|
|
+ <InputNumber
|
|
|
|
|
+ min={0.0001}
|
|
|
|
|
+ precision={4}
|
|
|
|
|
+ step={0.0001}
|
|
|
placeholder="请输入汇率"
|
|
placeholder="请输入汇率"
|
|
|
style={{ width: '100%' }}
|
|
style={{ width: '100%' }}
|
|
|
/>
|
|
/>
|