|
|
@@ -10,10 +10,6 @@
|
|
|
<template #balance>
|
|
|
{{ accountInfo.balance?.toFixed(2) }}
|
|
|
</template>
|
|
|
- <!-- 持仓市值 -->
|
|
|
- <template #curamount>
|
|
|
- {{ accountInfo.curamount?.toFixed(2) }}
|
|
|
- </template>
|
|
|
<!-- 占用资金 -->
|
|
|
<template #oriusedmargin>
|
|
|
{{ accountInfo.oriusedmargin?.toFixed(2) }}
|
|
|
@@ -26,6 +22,14 @@
|
|
|
<template #freezeMargin>
|
|
|
{{ freezeMargin.toFixed(2) }}
|
|
|
</template>
|
|
|
+ <!-- 今日入金 -->
|
|
|
+ <template #inamount="{ value }">
|
|
|
+ {{ value.toFixed(2) }}
|
|
|
+ </template>
|
|
|
+ <!-- 今日出金 -->
|
|
|
+ <template #outamount="{ value }">
|
|
|
+ {{ value.toFixed(2) }}
|
|
|
+ </template>
|
|
|
<!-- 状态 -->
|
|
|
<template #tradestatus="{ value }">
|
|
|
{{ getTradeStatusName(value) }}
|
|
|
@@ -66,12 +70,13 @@ const { accountInfo, freezeMargin, avaiableMoney } = accountStore.$toRefs()
|
|
|
|
|
|
const tableColumns = shallowRef<Model.TableColumn[]>([
|
|
|
{ prop: 'accountid', label: '资金账号' },
|
|
|
- { prop: 'balance', label: '净值' },
|
|
|
- { prop: 'curamount', label: '持仓市值' },
|
|
|
- { prop: 'currentbalance', label: '余额' },
|
|
|
+ { prop: 'balance', label: '期初余额' },
|
|
|
+ { prop: 'currentbalance', label: '期末余额' },
|
|
|
{ prop: 'avaiableMoney', label: '可用资金' },
|
|
|
- { prop: 'freezeMargin', label: '冻结资金' },
|
|
|
{ prop: 'oriusedmargin', label: '占用资金' },
|
|
|
+ { prop: 'freezeMargin', label: '冻结资金' },
|
|
|
+ { prop: 'inamount', label: '今日入金' },
|
|
|
+ { prop: 'outamount', label: '今日出金' },
|
|
|
{ prop: 'tradestatus', label: '状态' },
|
|
|
])
|
|
|
</script>
|