Files
zszq-trs/YLErpWeb/Views/SwapTrade2/TradeMarketReport_EodPosition.cshtml
T
2025-04-23 10:31:04 +08:00

118 lines
5.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@{
ViewBag.Title = "每日估值报告";
ViewBag.Menu = "结算财务-每日估值报告";
Layout = "~/Views/Shared/_MainLayout.cshtml";
var pageObj = new
{
EndTime = ViewBag.EndTime?.ToString(),
StartTime = ViewBag.StartTime?.ToString(),
valueDate = valuedateBLL.ValueDate.ToString("yyyy-MM-dd"),
configcolumn = configcolumn_data.互换估值,
StructureType = ViewBag.StructureType
};
}
@section CSS{
<link href="~/Style/Css/TradeMarketReport.css" rel="stylesheet" />
<style>
.chosen-container {
width: 250px !important;
}
.chosen-container .chosen-drop {
width: 250px !important;
}
#ValueDateFrom, #ValueDate {
width: 152px !important;
font-size: 1rem !important;
}
.ui-jqgrid {
margin: 0 !important;
}
.data-error {
background-color: #EE7280 !important;
}
</style>
}
@section JS{
<script src="~/Scripts/app/tradeHelper.js?v=@HtmlUtil.JsVersion"></script>
<script type="text/javascript">
var page = @Json.Serialize(pageObj);
if ("@ViewBag.ParentFlag" == "True")
$("#ParentFlag").attr("checked", true);
else
$("#ParentFlag").attr("checked", false);
</script>
<script src="~/Scripts/app/swaptrade/TradeMarketReport_EodPosition.js?v=@HtmlUtil.JsVersion"></script>
}
<div class="searchdiv">
@Html.MyAceDropdownInput("ClientId", "客户名称", ClientDataModel.GetAllClient(), false, true, null, false)
@Html.CheckBox("ParentFlag", false) @Html.Label(null,"包含子级", new { @style = "font-size:12px;" })
@Html.ShortInput("ValueDateFrom", "起始日期:")
@Html.ShortInput("ValueDate", "结束日期:")
@MyControls.SearchBtn()
@if (CurUser.结算管理_每日估值报告邮件发送)
{
@MyControls.Btn("配置报告", "PopDesc()")
@MyControls.Btn("发送报告", "SendReport()")
}
</div>
<br />
<fieldset id="fieldsetgbox_listGrid" style="margin-bottom: 20px;">
<div class="tabbable">
<ul id="myTab" class="nav nav-tabs nav-main">
<li class="nav-item">
<a class="nav-link" onclick='locationChange("/clientbalance/TradeMarketReport")'>账户状况</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="#" id="positionTab">互换估值</a>
</li>
<li class="nav-item">
<a class="nav-link" onclick='locationChange("/clientbalance/TradeMarketReport_HistoricalPositionSwapFlow")' id="historySwapTab">互换交易流水</a>
</li>
<li class="nav-item">
<a class="nav-link" onclick='locationChange("/clientbalance/TradeMarketReport_BalanceStatement")'>资金明细</a>
</li>
</ul>
<div style="width:30px;display:inline;margin-left: 20px;" onclick="showChiCang();return false;">
<img src="~/Images/configure.png" />
</div>
</div>
<div id="tableContent" class="yc-panel my-0 p-0">
@Html.Raw(JqGridSimple.OutTable())
</div>
</fieldset>
<fieldset id="fieldsetgbox_listGrid" class="ml-3">
@if (PS.Config.Company == CompanyEnum.浙商)
{
<span style="color:gray">
<p><span style="font-size: 12px;">1.【期初结存】:观察期初即上期期末的结存;</span></p>
<p><span style="font-size: 12px;">2.【出金入金】:观察区间内的入金(正)和出金(负)的净额;</span></p>
<p><span style="font-size: 12px;">3.【其他收支】:观察区间内的调整项;</span></p>
<p><span style="font-size: 12px;">4.【期末结存】:期末结存 =&nbsp; 期初结存+出金入金+已实现盈亏+其他收支;</span></p>
<p><span style="font-size: 12px;">5.【保证金占用】:根据观察期末的持仓交易按特定算法计算的盯市保证金额,即观察期末不可使用需要暂时冻结的资金;</span></p>
<p><span style="font-size: 12px;">6.【可用资金】:观察期末可用于达成新交易的资金规模,可用资金=期末结存-保证金占用;</span></p>
<p><span style="font-size: 12px;">7.【追保金额】:期末结存抵扣保证金占用后不足以抵扣的部分,追保金额=Max(0-可用资金,0; </span></p>
<p><span style="font-size: 12px;">8.【可取资金】:扣掉持仓亏损后(持仓盈利则不计算在内),观察期末被占用的可出金取出的资金,可取资金=期末结存-持仓亏损-保证金占用;</span></p>
<p><span style="font-size: 12px;">9.【已实现盈亏】:观察区间内平仓了结交易的盈亏;</span></p>
<p><span style="font-size: 12px;">10.【持仓盈亏】:观察期末存续交易的浮动盈亏;</span></p>
<p><span style="font-size: 12px;">11.【持仓市值】:观察期末存续交易的估值;</span></p>
<p><span style="font-size: 12px;">12.【总&nbsp; 资&nbsp; 产】:观察期末归属交易对手方的资产总额,总资产=期末结存+持仓市值 </span></p>
</span>
}
else
{
<span style="color:gray">
@Html.Raw(DBCacheManager.Single.GetStr(CacheTable.DingShiDesc))
</span>
}
</fieldset>