This commit is contained in:
2025-02-07 14:58:56 +08:00
parent 427db35d10
commit 4e734ec086
2 changed files with 6 additions and 31 deletions

View File

@ -334,32 +334,6 @@
prop="desc"
:show-overflow-tooltip="true"
/>
<el-table-column
label="对冲状态"
align="center"
prop="status"
width="100"
:show-overflow-tooltip="true"
>
<template #default="{row}">
<el-tag v-if="row.pid===0" size="mini" :type="row.hedgeStatus===1?'success':'danger'">
{{ ['未对冲','已对冲'][row.hedgeStatus] }}
</el-tag>
</template>
</el-table-column>
<el-table-column
label="加仓状态"
align="center"
prop="status"
width="100"
:show-overflow-tooltip="true"
>
<template #default="{row}">
<el-tag v-if="row.pid===0" size="mini" :type="row.addPositionStatus===1?'success':'danger'">
{{ ['未加仓','已加仓'][row.addPositionStatus] }}
</el-tag>
</template>
</el-table-column>
<el-table-column
label="计价货币"
align="center"
@ -459,6 +433,7 @@
<!-- 添加或修改对话框 -->
<el-dialog :title="title" :visible.sync="open" width="700px" :close-on-click-modal="false">
<el-form ref="form" :model="form" :rules="rules" label-width="120px" style="height: 600px;overflow: hidden auto;">
<el-form />
<el-form-item label="订单类型" prop="order_type">
<el-radio-group v-model="form.order_type">
<el-radio label="1">现货</el-radio>

View File

@ -11,14 +11,14 @@
width="210"
:show-overflow-tooltip="true"
/>
<el-table-column
<!-- <el-table-column
label="主账号加仓溢价百分比"
align="center"
prop="scaleOrderTypeARate"
width="210"
:show-overflow-tooltip="true"
/>
<el-table-column
/> -->
<!-- <el-table-column
label="副账号加仓溢价百分比"
align="center"
prop="scaleOrderTypeBRate"
@ -78,7 +78,7 @@
align="center"
prop="protectHedgeRate"
width="80"
/>
/> -->
<el-table-column
label="创建时间"
align="center"
@ -162,7 +162,7 @@
<el-radio :label="1">开启</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item label="加仓账户类型" prop="scaleSubordinate">
<el-radio-group v-model="form.scaleSubordinate">
<el-radio :label="1">主账号</el-radio>