|
|
@@ -118,6 +118,8 @@ import { i18n } from '@/stores'
|
|
|
const customerTypeEnum = useEnum('customerType')
|
|
|
const feetypeEnum = useEnum('feetype')
|
|
|
const scfRiskMode = useEnum('SCFRiskMode')
|
|
|
+const traderule = useEnum('traderule')
|
|
|
+const tradefee = useEnum('tradefee')
|
|
|
|
|
|
const { global: { t } } = i18n
|
|
|
|
|
|
@@ -200,15 +202,15 @@ const detailProps = computed<CellProp[]>(() => [
|
|
|
])
|
|
|
|
|
|
const ruleColumns = computed<Model.TableColumn[]>(() => [
|
|
|
- { field: 'rulename', label: 'investor.custom.accountcfg.rulename' },
|
|
|
- { field: 'paramvalue', label: 'investor.custom.accountcfg.paramvalue' },
|
|
|
+ { field: 'ruleid', label: 'investor.custom.accountcfg.rulename' },
|
|
|
+ { field: 'paramvalue', label: 'investor.custom.accountcfg.paramvalue', formatValue: (val) => traderule.getEnumTypeName(val) },
|
|
|
{ field: 'dvalue', label: 'investor.custom.accountcfg.dvalue' },
|
|
|
{ field: 'gvalue', label: 'investor.custom.accountcfg.gvalue' },
|
|
|
{ field: 'cvalue', label: 'investor.custom.accountcfg.cvalue' },
|
|
|
])
|
|
|
|
|
|
const feeColumns = computed<Model.TableColumn[]>(() => [
|
|
|
- { field: 'tradefeename', label: 'investor.custom.accountcfg.tradefeename' },
|
|
|
+ { field: 'tradefeeid', label: 'investor.custom.accountcfg.tradefeename', formatValue: (val) => tradefee.getEnumTypeName(val) },
|
|
|
{ field: 'exchangevalue', label: 'investor.custom.accountcfg.exchangevalue' },
|
|
|
{ field: 'dvalue', label: 'investor.custom.accountcfg.dvalue' },
|
|
|
{ field: 'gvalue', label: 'investor.custom.accountcfg.gvalue' },
|