|
@@ -1,35 +1,33 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <!-- 现货贸易 - 买卖大厅 - 买报价牌 -->
|
|
|
|
|
- <a-table
|
|
|
|
|
- :columns="handleColumn(columns)"
|
|
|
|
|
- :class="['sellHallTable', isBottom ? '' : 'sellHallTableHigh', tableList.length ? '' : 'noDataTable']"
|
|
|
|
|
- :scroll="{ x: '100%', y: isBottom ? 'calc(100vh- 378px)' : 'calc(100vh - 135px)' }"
|
|
|
|
|
- :pagination="false"
|
|
|
|
|
- :loading="loading"
|
|
|
|
|
- :expandedRowKeys="expandedRowKeys"
|
|
|
|
|
- :customRow="Rowclick"
|
|
|
|
|
- :expandIcon="expandIcon"
|
|
|
|
|
- :expandIconAsCell="false"
|
|
|
|
|
- rowKey="key"
|
|
|
|
|
- :data-source="tableList"
|
|
|
|
|
- >
|
|
|
|
|
- <!-- 额外的展开行 -->
|
|
|
|
|
- <template #expandedRowRender="{ record }">
|
|
|
|
|
- <BtnList :btnList="btnList" :record="record" @click="openComponent" />
|
|
|
|
|
- </template>
|
|
|
|
|
- <template #username="{text, record }">
|
|
|
|
|
- <span>{{record.userid + " " }}{{text}}</span>
|
|
|
|
|
- </template>
|
|
|
|
|
- </a-table>
|
|
|
|
|
- <component
|
|
|
|
|
- :is="componentId"
|
|
|
|
|
- v-if="componentId"
|
|
|
|
|
- :selectedRow="selectedRow"
|
|
|
|
|
- :enumName="enumName"
|
|
|
|
|
- :buyOrSell="BuyOrSell.sell"
|
|
|
|
|
- :parantSelectedRow="parantSelectedRow"
|
|
|
|
|
- @cancel="closeComponent"
|
|
|
|
|
- ></component>
|
|
|
|
|
|
|
+ <!-- 现货贸易 - 买卖大厅 - 买报价牌 -->
|
|
|
|
|
+ <a-table :columns="handleColumn(columns)"
|
|
|
|
|
+ :class="['sellHallTable', isBottom ? '' : 'sellHallTableHigh', tableList.length ? '' : 'noDataTable']"
|
|
|
|
|
+ :scroll="{ x: '100%', y: isBottom ? 'calc(100vh- 378px)' : 'calc(100vh - 135px)' }"
|
|
|
|
|
+ :pagination="false"
|
|
|
|
|
+ :loading="loading"
|
|
|
|
|
+ :expandedRowKeys="expandedRowKeys"
|
|
|
|
|
+ :customRow="Rowclick"
|
|
|
|
|
+ :expandIcon="expandIcon"
|
|
|
|
|
+ :expandIconAsCell="false"
|
|
|
|
|
+ rowKey="key"
|
|
|
|
|
+ :data-source="tableList">
|
|
|
|
|
+ <!-- 额外的展开行 -->
|
|
|
|
|
+ <template #expandedRowRender="{ record }">
|
|
|
|
|
+ <BtnList :btnList="btnList"
|
|
|
|
|
+ :record="record"
|
|
|
|
|
+ @click="openComponent" />
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <template #username="{text, record }">
|
|
|
|
|
+ <span>{{record.userid + " " }}{{text}}</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </a-table>
|
|
|
|
|
+ <component :is="componentId"
|
|
|
|
|
+ v-if="componentId"
|
|
|
|
|
+ :selectedRow="selectedRow"
|
|
|
|
|
+ :enumName="enumName"
|
|
|
|
|
+ :buyOrSell="BuyOrSell.sell"
|
|
|
|
|
+ :parantSelectedRow="parantSelectedRow"
|
|
|
|
|
+ @cancel="closeComponent"></component>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
<script lang="ts">
|
|
@@ -71,8 +69,8 @@ export default defineComponent({
|
|
|
},
|
|
},
|
|
|
components: {
|
|
components: {
|
|
|
BtnList,
|
|
BtnList,
|
|
|
- [ModalEnum.spot_trade_warehouse_delisting]: defineAsyncComponent(() => import('../delisting/index.vue')),
|
|
|
|
|
- [ModalEnum.spot_trade_warehouse_financing_delisting]: defineAsyncComponent(() => import('../financing_delisting/index.vue')),
|
|
|
|
|
|
|
+ warehouse_receipt_trade_price_spot_trade_warehouse_delisting_sell: defineAsyncComponent(() => import('../delisting/index.vue')),
|
|
|
|
|
+ warehouse_receipt_trade_price_spot_trade_warehouse_financing_delisting_sell: defineAsyncComponent(() => import('../financing_delisting/index.vue')),
|
|
|
},
|
|
},
|
|
|
setup(props, context) {
|
|
setup(props, context) {
|
|
|
const isBottom = getShowBottomValue();
|
|
const isBottom = getShowBottomValue();
|