|
|
@@ -10,6 +10,18 @@
|
|
|
<template #reckondate="{ value }">
|
|
|
{{ formatDate(value, 'YYYY-MM-DD') }}
|
|
|
</template>
|
|
|
+ <!-- 市场 -->
|
|
|
+ <template #marketid="{ value }">
|
|
|
+ {{ getTHJMarketName(value) }}
|
|
|
+ </template>
|
|
|
+ <!-- 吨数 -->
|
|
|
+ <template #tradeqty="{ row }">
|
|
|
+ {{ `${row.buytradeqty}/${row.selltradeqty}` }}
|
|
|
+ </template>
|
|
|
+ <!-- 笔数 -->
|
|
|
+ <template #tradelot="{ row }">
|
|
|
+ {{ `${row.buytradelot}/${row.selltradelot}` }}
|
|
|
+ </template>
|
|
|
<template #footer>
|
|
|
<app-pagination :total="total" v-model:page-size="pageSize" v-model:page-index="pageIndex"
|
|
|
@change="onRefresh" />
|
|
|
@@ -22,7 +34,7 @@
|
|
|
import { shallowRef } from 'vue'
|
|
|
import { ElMessage } from 'element-plus'
|
|
|
import { formatDate } from '@/filters'
|
|
|
-import { Market, getTHJMarketList } from '@/constants/market'
|
|
|
+import { Market, getTHJMarketList, getTHJMarketName } from '@/constants/market'
|
|
|
import { useDataFilter } from '@/hooks/datatable'
|
|
|
import { useQueryTHJTradeDataList } from '@/business/goods'
|
|
|
import AppTable from '@pc/components/base/table/index.vue'
|