|
@@ -24,7 +24,7 @@
|
|
|
import { useI18n } from '/@/hooks/web/useI18n';
|
|
|
import { uploadApi } from '/@/api/product/index';
|
|
|
import { ResultEnum } from '/@/enums/httpEnum';
|
|
|
- import { DetailsApi, dincrementList, AddUserIncrementApi, getAddUserIncrementTime } from '/@/api/account';
|
|
|
+ import { DetailsApi, dincrementList, AddUserIncrementApi, getAddUserIncrementTime, currencyList } from '/@/api/account';
|
|
|
import dayjs from 'dayjs';
|
|
|
import { otherInfoStore } from '/@/store/modules/other';
|
|
|
|
|
@@ -195,7 +195,24 @@
|
|
|
precision: 2,
|
|
|
step: 1
|
|
|
},
|
|
|
- }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: 'currencySymbol',
|
|
|
+ component: 'ApiSelect',
|
|
|
+ required: true,
|
|
|
+ label: '币种',
|
|
|
+ componentProps: {
|
|
|
+ // filterOption: onFilterOption,
|
|
|
+ // showSearch: true,
|
|
|
+ api: currencyList,
|
|
|
+ labelField: 'name',
|
|
|
+ valueField: 'symbol',
|
|
|
+ immediate: true,
|
|
|
+ },
|
|
|
+ colProps: {
|
|
|
+ span: 20,
|
|
|
+ },
|
|
|
+ },
|
|
|
];
|
|
|
|
|
|
const [registerForm, { validate, getFieldsValue, resetFields, setFieldsValue, updateSchema }] = useForm({
|