|
@@ -9,10 +9,14 @@
|
|
|
<el-button type="primary" size="small" @click="openComponent('clear')">快撤</el-button>
|
|
<el-button type="primary" size="small" @click="openComponent('clear')">快撤</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
- <!-- 类型' -->
|
|
|
|
|
|
|
+ <!-- 方向 -->
|
|
|
<template #buyorsell="{ value }">
|
|
<template #buyorsell="{ value }">
|
|
|
{{ getBuyOrSellName(value) }}
|
|
{{ getBuyOrSellName(value) }}
|
|
|
</template>
|
|
</template>
|
|
|
|
|
+ <!-- 类型 -->
|
|
|
|
|
+ <template #buildtype="{ value }">
|
|
|
|
|
+ {{ getBuildTypeName(value) }}
|
|
|
|
|
+ </template>
|
|
|
<!-- 挂牌类型 -->
|
|
<!-- 挂牌类型 -->
|
|
|
<template #orderstatus="{ value }">
|
|
<template #orderstatus="{ value }">
|
|
|
{{ getOrderStatusName(value) }}
|
|
{{ getOrderStatusName(value) }}
|
|
@@ -35,7 +39,7 @@
|
|
|
import { ref, defineAsyncComponent, onUnmounted } from 'vue'
|
|
import { ref, defineAsyncComponent, onUnmounted } from 'vue'
|
|
|
import { useRequest } from '@/hooks/request'
|
|
import { useRequest } from '@/hooks/request'
|
|
|
import { useLocalPagination } from '@/hooks/pagination'
|
|
import { useLocalPagination } from '@/hooks/pagination'
|
|
|
-import { getBuyOrSellName, getOrderStatusName } from '@/constants/order'
|
|
|
|
|
|
|
+import { getBuildTypeName, getBuyOrSellName, getOrderStatusName } from '@/constants/order'
|
|
|
import { queryTradeOrderDetail } from '@/services/api/order'
|
|
import { queryTradeOrderDetail } 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 } from '@/filters'
|
|
@@ -64,7 +68,8 @@ const { componentRef, componentId, openComponent, closeComponent } = useComponen
|
|
|
|
|
|
|
|
const tableColumns = ref<Model.TableColumn[]>([
|
|
const tableColumns = ref<Model.TableColumn[]>([
|
|
|
{ prop: 'goodsname', label: '订单合约' },
|
|
{ prop: 'goodsname', label: '订单合约' },
|
|
|
- { prop: 'buyorsell', label: '类型' },
|
|
|
|
|
|
|
+ { prop: 'buyorsell', label: '方向' },
|
|
|
|
|
+ { prop: 'buildtype', label: '类型' },
|
|
|
{ prop: 'orderprice', label: '委托价' },
|
|
{ prop: 'orderprice', label: '委托价' },
|
|
|
{ prop: 'orderqty', label: '委托数量' },
|
|
{ prop: 'orderqty', label: '委托数量' },
|
|
|
{ prop: 'tradeqty', label: '成交数量' },
|
|
{ prop: 'tradeqty', label: '成交数量' },
|