|
@@ -11,45 +11,51 @@
|
|
|
:customRow="Rowclick"
|
|
:customRow="Rowclick"
|
|
|
rowKey="key"
|
|
rowKey="key"
|
|
|
:data-source="tableList">
|
|
:data-source="tableList">
|
|
|
- <template #curaverageprice="{ record }">
|
|
|
|
|
- <span>{{ record.curaverageprice.toFixed(2) }}</span>
|
|
|
|
|
- </template>
|
|
|
|
|
- <template #oriaverageprice="{ record }">
|
|
|
|
|
- <span>{{ record.oriaverageprice.toFixed(2) }}</span>
|
|
|
|
|
- </template>
|
|
|
|
|
- <template #oriamount="{ record }">
|
|
|
|
|
- <span>{{ record.oriamount.toFixed(2) }}</span>
|
|
|
|
|
- </template>
|
|
|
|
|
- <template #todaybuyamount="{ record }">
|
|
|
|
|
- <span>{{ record.todaybuyamount.toFixed(2) }}</span>
|
|
|
|
|
- </template>
|
|
|
|
|
- <template #todaybuyaverageprice="{ record }">
|
|
|
|
|
- <span>{{ record.todaybuyaverageprice.toFixed(2) }}</span>
|
|
|
|
|
- </template>
|
|
|
|
|
- <template #todaysellaverageprice="{ record }">
|
|
|
|
|
- <span>{{ record.todaysellaverageprice.toFixed(2) }}</span>
|
|
|
|
|
- </template>
|
|
|
|
|
- <template #actualpl="{ record }">
|
|
|
|
|
- <span>{{ record.actualpl.toFixed(2) }}</span>
|
|
|
|
|
- </template>
|
|
|
|
|
- <template #curspotprice="{ record }">
|
|
|
|
|
- <span>{{ record.curspotprice.toFixed(2) }}</span>
|
|
|
|
|
- </template>
|
|
|
|
|
- <template #floatpl="{ record }">
|
|
|
|
|
- <span>{{ record.floatpl.toFixed(2) }}</span>
|
|
|
|
|
- </template>
|
|
|
|
|
- <template #curmarketvalue="{ record }">
|
|
|
|
|
- <span>{{ record.curmarketvalue.toFixed(2) }}</span>
|
|
|
|
|
- </template>
|
|
|
|
|
|
|
+ <template #curaverageprice="{ record }">
|
|
|
|
|
+ <span>{{ record.curaverageprice.toFixed(2) }}</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <template #oriaverageprice="{ record }">
|
|
|
|
|
+ <span>{{ record.oriaverageprice.toFixed(2) }}</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <template #oriamount="{ record }">
|
|
|
|
|
+ <span>{{ record.oriamount.toFixed(2) }}</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <template #todaybuyamount="{ record }">
|
|
|
|
|
+ <span>{{ record.todaybuyamount.toFixed(2) }}</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <template #todaybuyaverageprice="{ record }">
|
|
|
|
|
+ <span>{{ record.todaybuyaverageprice.toFixed(2) }}</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <template #todaysellaverageprice="{ record }">
|
|
|
|
|
+ <span>{{ record.todaysellaverageprice.toFixed(2) }}</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <template #actualpl="{ record }">
|
|
|
|
|
+ <span>{{ record.actualpl.toFixed(2) }}</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <template #curspotprice="{ record }">
|
|
|
|
|
+ <span>{{ record.curspotprice.toFixed(2) }}</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <template #floatpl="{ record }">
|
|
|
|
|
+ <span>{{ record.floatpl.toFixed(2) }}</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <template #curmarketvalue="{ record }">
|
|
|
|
|
+ <span>{{ record.curmarketvalue.toFixed(2) }}</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
|
|
|
</a-table>
|
|
</a-table>
|
|
|
<!-- 明细 -->
|
|
<!-- 明细 -->
|
|
|
<Description v-if="visible"
|
|
<Description v-if="visible"
|
|
|
@close="closeDrawer"
|
|
@close="closeDrawer"
|
|
|
@changeTab="changeTab"
|
|
@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>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|