|
@@ -35,6 +35,15 @@
|
|
|
<template #wrtradetype="{ record }">
|
|
<template #wrtradetype="{ record }">
|
|
|
<a>{{ getWrOrderTypeName(record.buyorsell, record.wrtradetype) }}</a>
|
|
<a>{{ getWrOrderTypeName(record.buyorsell, record.wrtradetype) }}</a>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
+ <template #applystatus="{ text }">
|
|
|
|
|
+ <span>{{ getBarmaginApplyStatus(text) }}</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <template #applytime="{ text }">
|
|
|
|
|
+ <span>{{ formatTime(text) }}</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <template #marginvalue="{ text }">
|
|
|
|
|
+ <span>{{ (text * 100).toFixed(2) }}%</span>
|
|
|
|
|
+ </template>
|
|
|
<!-- 挂牌价格 -->
|
|
<!-- 挂牌价格 -->
|
|
|
</a-table>
|
|
</a-table>
|
|
|
<component :is="componentId"
|
|
<component :is="componentId"
|
|
@@ -52,7 +61,7 @@ import { QueryWrOrderDetailReq, QueryWrTradeBargainApplyQsp, QueryWrTradeBargain
|
|
|
import { getRecordItemTab } from '@/common/setup/order/orderData';
|
|
import { getRecordItemTab } from '@/common/setup/order/orderData';
|
|
|
import { handleComposeOrderTable } from '@/common/setup/table/compose';
|
|
import { handleComposeOrderTable } from '@/common/setup/table/compose';
|
|
|
import { ComposeOrderTableParam } from '@/common/setup/table/interface';
|
|
import { ComposeOrderTableParam } from '@/common/setup/table/interface';
|
|
|
-import { getWrOrderTypeName, getWrTradeOrderStatusName } from '@/common/constants/enumsName';
|
|
|
|
|
|
|
+import { getWrOrderTypeName, getWrTradeOrderStatusName, getBarmaginApplyStatus } from '@/common/constants/enumsName';
|
|
|
import { BtnListType } from '@/common/components/btnList/interface';
|
|
import { BtnListType } from '@/common/components/btnList/interface';
|
|
|
import { expandIcon } from '@/common/setup/table/clolumn';
|
|
import { expandIcon } from '@/common/setup/table/clolumn';
|
|
|
import { getSpotWarrantBargainColumns } from './setup';
|
|
import { getSpotWarrantBargainColumns } from './setup';
|
|
@@ -77,7 +86,6 @@ export default defineComponent({
|
|
|
// 表格通用逻辑
|
|
// 表格通用逻辑
|
|
|
const param: ComposeOrderTableParam = {
|
|
const param: ComposeOrderTableParam = {
|
|
|
queryFn: queryTableAction,
|
|
queryFn: queryTableAction,
|
|
|
- tableName: 'table_pcweb_spot_trade_bottom_spot_warrant_pending_order',
|
|
|
|
|
recordList: getRecordItemTab(),
|
|
recordList: getRecordItemTab(),
|
|
|
};
|
|
};
|
|
|
const {
|
|
const {
|
|
@@ -111,6 +119,7 @@ export default defineComponent({
|
|
|
getWrOrderTypeName,
|
|
getWrOrderTypeName,
|
|
|
expandIcon,
|
|
expandIcon,
|
|
|
formatTime,
|
|
formatTime,
|
|
|
|
|
+ getBarmaginApplyStatus,
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
});
|
|
});
|