|
|
@@ -11,35 +11,41 @@
|
|
|
:customRow="Rowclick"
|
|
|
rowKey="key"
|
|
|
:data-source="tableList">
|
|
|
- <!-- 出现浮点失真 强行处理-->
|
|
|
- <template #spotactualpl="{ record }">
|
|
|
- <a>{{ record.spotactualpl.toFixed(2) }}</a>
|
|
|
- </template>
|
|
|
+ <!-- 出现浮点失真 强行处理-->
|
|
|
+ <template #spotactualpl="{ record }">
|
|
|
+ <a>{{ record.spotactualpl.toFixed(2) }}</a>
|
|
|
+ </template>
|
|
|
|
|
|
- <template #spotfloatpl="{ record }">
|
|
|
- <a>{{ record.spotfloatpl.toFixed(2) }}</a>
|
|
|
- </template>
|
|
|
+ <template #spotfloatpl="{ record }">
|
|
|
+ <a>{{ record.spotfloatpl.toFixed(2) }}</a>
|
|
|
+ </template>
|
|
|
|
|
|
- <template #futureactualpl="{ record }">
|
|
|
- <a>{{ record.futureactualpl.toFixed(2) }}</a>
|
|
|
- </template>
|
|
|
+ <template #futureactualpl="{ record }">
|
|
|
+ <a>{{ record.futureactualpl.toFixed(2) }}</a>
|
|
|
+ </template>
|
|
|
|
|
|
- <template #sumactualpl="{ record }">
|
|
|
- <a>{{ record.sumactualpl.toFixed(2) }}</a>
|
|
|
- </template>
|
|
|
+ <template #sumactualpl="{ record }">
|
|
|
+ <a>{{ record.sumactualpl.toFixed(2) }}</a>
|
|
|
+ </template>
|
|
|
|
|
|
- <template #sumpl="{ record }">
|
|
|
- <a>{{ record.sumpl.toFixed(2) }}</a>
|
|
|
- </template>
|
|
|
+ <template #sumpl="{ record }">
|
|
|
+ <a>{{ record.sumpl.toFixed(2) }}</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>
|
|
|
|