|
@@ -86,6 +86,8 @@ const { global: { t } } = i18n
|
|
|
const customerTypeEnum = useEnum('customerType')
|
|
const customerTypeEnum = useEnum('customerType')
|
|
|
const feetypeEnum = useEnum('feetype')
|
|
const feetypeEnum = useEnum('feetype')
|
|
|
const scfRiskMode = useEnum('SCFRiskMode')
|
|
const scfRiskMode = useEnum('SCFRiskMode')
|
|
|
|
|
+const traderule = useEnum('traderule')
|
|
|
|
|
+const tradefee = useEnum('tradefee')
|
|
|
|
|
|
|
|
const treeRef = ref()
|
|
const treeRef = ref()
|
|
|
const nodeList = ref<(Member.CreateTreeRsp & { children: Member.CreateTreeRsp[]; })[]>([])
|
|
const nodeList = ref<(Member.CreateTreeRsp & { children: Member.CreateTreeRsp[]; })[]>([])
|
|
@@ -171,20 +173,20 @@ const { data, run: getDetails } = useRequest(OrganDetailTradeConfigView, {
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
const detailProps = computed<CellProp[]>(() => [
|
|
const detailProps = computed<CellProp[]>(() => [
|
|
|
- { prop: 'userName', formatLabel: () => (data.value?.tradetype === 1 ? 'member.institution.tradecfg.userName' : 'member.institution.tradecfg.userName1') + 'member.institution.tradecfg.userName2' },
|
|
|
|
|
|
|
+ { prop: 'userName', formatLabel: () => (data.value?.tradetype === 1 ? 'member.institution.tradecfg.userName' : 'member.institution.tradecfg.userName1') },
|
|
|
{ prop: 'accountName', label: 'member.institution.tradecfg.accountName' },
|
|
{ prop: 'accountName', label: 'member.institution.tradecfg.accountName' },
|
|
|
{ prop: 'goodsName', label: 'member.institution.tradecfg.goodsName' },
|
|
{ prop: 'goodsName', label: 'member.institution.tradecfg.goodsName' },
|
|
|
{ prop: 'customerType', label: 'member.institution.tradecfg.customerType', formatValue: () => customerTypeEnum.getEnumTypeName(data.value?.paramid) },
|
|
{ prop: 'customerType', label: 'member.institution.tradecfg.customerType', formatValue: () => customerTypeEnum.getEnumTypeName(data.value?.paramid) },
|
|
|
])
|
|
])
|
|
|
|
|
|
|
|
const ruleColumns = computed<Model.TableColumn[]>(() => [
|
|
const ruleColumns = computed<Model.TableColumn[]>(() => [
|
|
|
- { field: 'rulename', label: 'member.institution.tradecfg.rulename' },
|
|
|
|
|
|
|
+ { field: 'ruleid', label: 'member.institution.tradecfg.rulename', formatValue: (val) => traderule.getEnumTypeName(val) },
|
|
|
{ field: 'paramvalue', label: 'member.institution.tradecfg.paramvalue' },
|
|
{ field: 'paramvalue', label: 'member.institution.tradecfg.paramvalue' },
|
|
|
{ field: 'cvalue', label: 'member.institution.tradecfg.cvalue' },
|
|
{ field: 'cvalue', label: 'member.institution.tradecfg.cvalue' },
|
|
|
])
|
|
])
|
|
|
|
|
|
|
|
const feeColumns = computed<Model.TableColumn[]>(() => [
|
|
const feeColumns = computed<Model.TableColumn[]>(() => [
|
|
|
- { field: 'tradefeename', label: 'member.institution.tradecfg.tradefeename' },
|
|
|
|
|
|
|
+ { field: 'tradefeeid', label: 'member.institution.tradecfg.tradefeename', formatValue: (val) => tradefee.getEnumTypeName(val) },
|
|
|
{ field: 'exchangevalue', label: 'member.institution.tradecfg.exchangevalue' },
|
|
{ field: 'exchangevalue', label: 'member.institution.tradecfg.exchangevalue' },
|
|
|
{ field: 'cvalue', label: 'member.institution.tradecfg.cvalue' },
|
|
{ field: 'cvalue', label: 'member.institution.tradecfg.cvalue' },
|
|
|
])
|
|
])
|