加仓 减仓状态
This commit is contained in:
		| @ -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" | ||||
|  | ||||
| @ -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" | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 shilin
					shilin