加仓 减仓状态

This commit is contained in:
shilin
2025-02-20 14:44:55 +08:00
parent 77b683f3c9
commit 555f854031
2 changed files with 25 additions and 2 deletions

View File

@ -309,13 +309,14 @@
{{ orderTypes[row.orderType] ? orderTypes[row.orderType].l : '' }}
</template>
</el-table-column>
<el-table-column
<!-- <el-table-column
label="补仓百分比"
align="center"
prop="coverRate"
width="100"
:show-overflow-tooltip="true"
/><el-table-column
/> -->
<el-table-column
label="状态"
align="center"
prop="status"

View File

@ -342,6 +342,28 @@
<span :style="comStatusStyle(row)">{{ status[row.status] ? status[row.status].l : '' }}</span>
</template>
</el-table-column>
<el-table-column
label="加仓状态"
align="center"
prop="add_position_status"
width="100"
:show-overflow-tooltip="true"
>
<template #default="{row}">
<el-tag v-if="row.pid===0" size="mini" :type="['danger','success'][row.add_position_status]">{{ ['未加仓','已加仓'][row.add_position_status] }}</el-tag>
</template>
</el-table-column>
<el-table-column
label="减仓状态"
align="center"
prop="reduce_status"
width="100"
:show-overflow-tooltip="true"
>
<template #default="{row}">
<el-tag v-if="row.pid===0" size="mini" :type="['danger','success'][row.reduce_status]">{{ ['未减仓','已减仓'][row.reduce_status] }}</el-tag>
</template>
</el-table-column>
<el-table-column
label="订单描述"
align="center"