|
|
@@ -12,19 +12,25 @@
|
|
|
rowKey="key"
|
|
|
:data-source="tableList">
|
|
|
|
|
|
- <!-- 持仓方向 -->
|
|
|
- <template #buyorsell="{ record }">
|
|
|
- <a>{{ record.buyorsell === 1 ? "卖出" : "买入" }}</a>
|
|
|
- </template>
|
|
|
+ <!-- 持仓方向 -->
|
|
|
+ <template #buyorsell="{ record }">
|
|
|
+ <a>{{ record.buyorsell === 1 ? "卖出" : "买入" }}</a>
|
|
|
+ </template>
|
|
|
|
|
|
</a-table>
|
|
|
<!-- 明细 -->
|
|
|
<Description v-if="visible"
|
|
|
@close="closeDrawer"
|
|
|
@changeTab="changeTab"
|
|
|
- :columns="columnsDetail"
|
|
|
- :tabList="tabList"
|
|
|
- :tableList="detailTableList" />
|
|
|
+ :tabList="tabList">
|
|
|
+ <a-table :columns="columnsDetail"
|
|
|
+ class="topTable"
|
|
|
+ :pagination="false"
|
|
|
+ rowKey="key"
|
|
|
+ :data-source="detailTableList"
|
|
|
+ :scroll="{ x: '100%', y: 'calc(100vh - 163px)' }">
|
|
|
+ </a-table>
|
|
|
+ </Description>
|
|
|
</div>
|
|
|
</template>
|
|
|
|