|
@@ -21,6 +21,10 @@
|
|
|
<template #buyorsell="{ value }">
|
|
<template #buyorsell="{ value }">
|
|
|
{{ getBuyOrSellName(value) }}
|
|
{{ getBuyOrSellName(value) }}
|
|
|
</template>
|
|
</template>
|
|
|
|
|
+ <!-- 成交对手 -->
|
|
|
|
|
+ <template #matchaccountid="{ value }">
|
|
|
|
|
+ {{ tmMatchAccountID(value) }}
|
|
|
|
|
+ </template>
|
|
|
<!-- 成交类型 -->
|
|
<!-- 成交类型 -->
|
|
|
<template #buildtype="{ value }">
|
|
<template #buildtype="{ value }">
|
|
|
{{ getBuildTypeName(value) }}
|
|
{{ getBuildTypeName(value) }}
|
|
@@ -42,7 +46,7 @@ import { useLocalPagination } from '@/hooks/pagination'
|
|
|
import { getBuyOrSellName, getBuildTypeName } from '@/constants/order'
|
|
import { getBuyOrSellName, getBuildTypeName } from '@/constants/order'
|
|
|
import { queryTradeDetail } from '@/services/api/order'
|
|
import { queryTradeDetail } from '@/services/api/order'
|
|
|
import AppTable from '@pc/components/base/table/index.vue'
|
|
import AppTable from '@pc/components/base/table/index.vue'
|
|
|
-import { formatDate } from '@/filters'
|
|
|
|
|
|
|
+import { formatDate, tmMatchAccountID } from '@/filters'
|
|
|
import eventBus from '@/services/bus'
|
|
import eventBus from '@/services/bus'
|
|
|
|
|
|
|
|
const { tableList, showLoadMore, initTableData, loadMore } = useLocalPagination<Model.TradeDetailRsp>()
|
|
const { tableList, showLoadMore, initTableData, loadMore } = useLocalPagination<Model.TradeDetailRsp>()
|
|
@@ -63,7 +67,7 @@ const tableColumns = ref<Model.TableColumn[]>([
|
|
|
{ prop: 'charge', label: '手续费' },
|
|
{ prop: 'charge', label: '手续费' },
|
|
|
{ prop: 'closepl', label: '平仓盈亏' },
|
|
{ prop: 'closepl', label: '平仓盈亏' },
|
|
|
{ prop: 'tradeid', label: '成交单号' },
|
|
{ prop: 'tradeid', label: '成交单号' },
|
|
|
- // { prop: 'matchaccountid', label: '成交对手' },
|
|
|
|
|
|
|
+ { prop: 'matchaccountid', label: '成交对手' },
|
|
|
{ prop: 'tradetime', label: '成交时间' }
|
|
{ prop: 'tradetime', label: '成交时间' }
|
|
|
])
|
|
])
|
|
|
|
|
|