|
|
@@ -11,7 +11,7 @@
|
|
|
</template>
|
|
|
<!-- 商品代码/名称 -->
|
|
|
<template #goodsname="{ row }">
|
|
|
- {{ row.goodscode }}
|
|
|
+ {{ goodsdisplay(row.goodscode) }}
|
|
|
</template>
|
|
|
<!-- 方向 -->
|
|
|
<template #buyorsell="{ value }">
|
|
|
@@ -48,7 +48,7 @@ import { queryTradeOrderDetail } from '@/services/api/order'
|
|
|
import { useComponent } from '@/hooks/component'
|
|
|
import { useComposeTable } from '@pc/components/base/table'
|
|
|
import { getWRTradeOrderStatusName, getBuyOrSellName } from '@/constants/order'
|
|
|
-import { useTableColumnsStore, i18n } from '@/stores'
|
|
|
+import { useTableColumnsStore, i18n, useFuturesStore } from '@/stores'
|
|
|
import AppTable from '@pc/components/base/table/index.vue'
|
|
|
import eventBus from '@/services/bus'
|
|
|
|
|
|
@@ -60,6 +60,8 @@ const componentMap = new Map<string, unknown>([
|
|
|
const { tableList, showLoadMore, initTableData, loadMore } = useLocalPagination<Model.TradeOrderDetailRsp>()
|
|
|
const { rowKey, expandKeys } = useComposeTable<Model.TradeOrderDetailRsp>({ rowKey: 'orderid' })
|
|
|
|
|
|
+const { goodsdisplay } = useFuturesStore()
|
|
|
+
|
|
|
const tableRef = ref()
|
|
|
const selectedRows = ref<Model.TradeOrderDetailRsp[]>([])
|
|
|
const { t } = i18n.global
|