|
|
@@ -1,28 +1,28 @@
|
|
|
<template>
|
|
|
- <!-- 仓单贸易 浮动价挂牌-->
|
|
|
- <div class="topTableHeight">
|
|
|
- <Filter :enumName="name" @search="search" @buy="buyOpen" />
|
|
|
- <a-table
|
|
|
- :columns="columns"
|
|
|
- :class="['srcollYTable', isBottom ? 'condSecondTabTable' : 'condSecondTabTableNoBottom', tableList.length ? 'noPlaceHolder' : 'hasPlaceHolder']"
|
|
|
- :scroll="{ x: '100%', y: isBottom ? 'calc(100vh- 443px)' : 'calc(100vh - 196px)' }"
|
|
|
- :pagination="false"
|
|
|
- :loading="loading"
|
|
|
- :expandedRowKeys="expandedRowKeys"
|
|
|
- :customRow="Rowclick"
|
|
|
- rowKey="key"
|
|
|
- :data-source="tableList"
|
|
|
- ></a-table>
|
|
|
- <!-- 右键 -->
|
|
|
- <contextMenu :contextMenu="contextMenu" @cancel="closeContext" :list="firstBtn"></contextMenu>
|
|
|
- <component
|
|
|
- :is="componentId"
|
|
|
- v-if="componentId"
|
|
|
- :enumName="name"
|
|
|
- :selectedRow="selectedRow"
|
|
|
- @cancel="closeComponent"
|
|
|
- ></component>
|
|
|
- </div>
|
|
|
+ <!-- 仓单贸易 浮动价挂牌-->
|
|
|
+ <div class="topTableHeight">
|
|
|
+ <Filter :enumName="name"
|
|
|
+ @search="search"
|
|
|
+ @buy="buyOpen" />
|
|
|
+ <a-table :columns="columns"
|
|
|
+ :class="['srcollYTable', isBottom ? 'condSecondTabTable' : 'condSecondTabTableNoBottom', tableList.length ? 'noPlaceHolder' : 'hasPlaceHolder']"
|
|
|
+ :scroll="{ x: '100%', y: isBottom ? 'calc(100vh- 443px)' : 'calc(100vh - 196px)' }"
|
|
|
+ :pagination="false"
|
|
|
+ :loading="loading"
|
|
|
+ :expandedRowKeys="expandedRowKeys"
|
|
|
+ :customRow="Rowclick"
|
|
|
+ rowKey="key"
|
|
|
+ :data-source="tableList"></a-table>
|
|
|
+ <!-- 右键 -->
|
|
|
+ <contextMenu :contextMenu="contextMenu"
|
|
|
+ @cancel="closeContext"
|
|
|
+ :list="firstBtn"></contextMenu>
|
|
|
+ <component :is="componentId"
|
|
|
+ v-if="componentId"
|
|
|
+ :enumName="name"
|
|
|
+ :selectedRow="selectedRow"
|
|
|
+ @cancel="closeComponent"></component>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
|
|
|
<script lang="ts">
|
|
|
@@ -34,6 +34,7 @@ import { handleComposeTable } from '@/views/market/spot_trade/setup';
|
|
|
import Filter from '../../components/filter/index.vue';
|
|
|
import { Goods } from '@/services/go/ermcp/goodsInfo/interface';
|
|
|
import { getShowBottomValue } from '@/common/config/constrolBottom';
|
|
|
+import Bus from '@/utils/eventBus/index';
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: EnumRouterName.warehouse_receipt_trade_floating_price,
|
|
|
@@ -57,6 +58,7 @@ export default defineComponent({
|
|
|
};
|
|
|
queryTable(queryOrderQuote, param);
|
|
|
};
|
|
|
+ Bus.$on('spotTrade', queryTableAction);
|
|
|
// 表格通用逻辑
|
|
|
const param: ComposeTableParam = {
|
|
|
queryFn: queryTableAction,
|