Files
zszq-trs/YLErpWeb/Views/margin_template/margin_templateView.cshtml
T
2024-05-09 14:06:26 +08:00

24 lines
972 B
Plaintext

@model margin_template
@{
ViewBag.Title = "预付金模板 | 查看";
Layout = "~/Views/Shared/_InfoLayout.cshtml";
}
@section JS{
<script type="text/javascript">
</script>
}
<div class="toolbarDiv">
@MyControls.Btn("修改", "window.location.href=('/margin_template/margin_templateEdit/?enid=" + Model.EncryptId + "');")
@MyControls.Btn("关闭", "layer.closeMe();")
</div> @Html.HiddenFor(model => model.id)
<div class="yc-panel">
<table class="table table-bordered">
<tr>@Html.MyDisplayFor(m => m.Name)</tr>
<tr>@Html.MyDisplayFor(m => m.MarginType, margin_templateController.GetMarginType(Model.MarginType))</tr>
<tr><th class='tdRight'>初始预付金率</th><td>@(Model.InitialMarginRatio.OtcFormatPercent())</td></tr>
<tr><th class='tdRight'>持仓预付金率</th><td>@(Model.PositionMarginRatio.OtcFormatPercent())</td></tr>
<tr>@Html.MyDisplayFor(m => m.Comments)</tr>
</table>
</div>