<template>
  <!-- 仓单贸易 贸易圈挂牌-->
  <div class="topTableHeight">
    <!-- <Filter :enumName="name"
            @search="search"
            @buy="buyOpen" /> -->

    <div>
      <Sell />
      <Buy />

    </div>

  </div>
</template>

<script lang="ts">
import { EnumRouterName } from '@/common/constants/enumRouterName';
import { queryTableList, BtnList, contextMenu, defineAsyncComponent, defineComponent, ModalEnum, ComposeTableParam } from '@/common/export/commonTable';
import { QueryOrderQuoteReq, WrOrderQuote } from '@/services/go/wrtrade/interface';
import { queryOrderQuote } from '@/services/go/wrtrade';
import { handleComposeTable } from '@/views/market/spot_trade/setup';
import Bus from '@/utils/eventBus/index';
import Filter from '../../components/filter/index.vue';
import { getShowBottomValue } from '@/common/config/constrolBottom';
import { getBuyData } from './setup';
import { formatTime } from '@/common/methods';
import Buy from './components/buy/index.vue';
import Sell from './components/sell/index.vue';

export default defineComponent({
    name: 'warehouse_receipt_trade_blocs',
    components: {
        contextMenu,
        Filter,
        Buy,
        Sell,
        // [ModalEnum.spot_trade_warehouse_detail]: defineAsyncComponent(() => import('../../components/detail/index.vue')),
        // [ModalEnum.spot_trade_warehouse_post_buying]: defineAsyncComponent(() => import('../../components/post_buying/index.vue')),
        // buyAndSell: defineAsyncComponent(() => import('../../components/buy-sell-market/index.vue')),
        // postBuying: defineAsyncComponent(() => import('../../components/post_buying/index.vue')),
    },
    setup() {
        const isBottom = getShowBottomValue();

        return {
            isBottom,
            formatTime,
        };
    },
});
</script>
<style lang="less">
</style>