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

82 lines
4.9 KiB
Plaintext

@using YLErp.Modules.ReportModule;
@model ClientDingShiReport
@{
Layout = null;
List<EodPositionReportModel> czmx_List = Model.eod_positionList == null ? new List<EodPositionReportModel>() : Model.eod_positionList;
List<trade_contract_group_simple> lzjy_List = Model.trade_contract_groupList==null?new List<trade_contract_group_simple>() : Model.trade_contract_groupList;
List<ClientCashInCashOutExtend> xjls_List = Model.ClientCashInCashOutExtendList == null ? new List<ClientCashInCashOutExtend>() : Model.ClientCashInCashOutExtendList;
List<clientcashincashout_productLinq> dyp_List = Model.clientcashincashout_productLinq == null ? new List<clientcashincashout_productLinq>() : Model.clientcashincashout_productLinq;
}
@(YLErp.PS.Config.CompanyName)
制表时间:@DateTime.Now.ToString("yyyyMMdd")
-------------------------------------------------------------------------------------------------------------------------
交易结算单(盯市)
客户编号: @Model.client.Number 客户名称: @Model.client.Name 报告时段:@Utilities.ShowValidDatetime(@Model.ReportFrom) - @Utilities.ShowValidDatetime(@Model.ReportEnd)
@if(Model.FundReportModel!=null){
<text> 账户状况
-------------------------------------------------------------------------------------------------------------------------
@StringHelper.GetFixedStr("期初结存 :", Model.FundReportModel.LastDayRemainFundString)@StringHelper.GetFixedStr("实现盈亏 :", Model.FundReportModel.WinLossString)
@StringHelper.GetFixedStr("出 入 金 :", Model.FundReportModel.CashInCashOutChangeString)@StringHelper.GetFixedStr("持仓期权费净额 :", Model.FundReportModel.PositionPremiumNetCashString)
@StringHelper.GetFixedStr("权利金收支 :", Model.FundReportModel.OptionPremiumString)@StringHelper.GetFixedStr("持仓市值 :", Model.FundReportModel.PositionPvString)
@StringHelper.GetFixedStr("平仓/行权收支 :", Model.FundReportModel.SettlementBalanceString)@StringHelper.GetFixedStr("持仓盈亏 :", Model.FundReportModel.PositionPnlString)
@StringHelper.GetFixedStr("其他收支 :", Model.FundReportModel.CashInCashOutOtherString)@StringHelper.GetFixedStr("市值权益 :", Model.FundReportModel.AmountString)
@StringHelper.GetFixedStr("期末结存 :", Model.FundReportModel.TodayRemianFundString)@StringHelper.GetFixedStr("追保金额 :", Model.FundReportModel.MarginString)
@StringHelper.GetFixedStr("质押市值 :", Model.FundReportModel.GuaranteesTotalAmountString)@StringHelper.GetFixedStr(PS.Config.Is申万 ? "" : "应付已了结交易款 :", PS.Config.Is申万 ? "" : Model.FundReportModel.ClosedTradePayableFundString)
@StringHelper.GetFixedStr("预付金占用 :", Model.FundReportModel.WorstCastClientPayableString)@StringHelper.GetFixedStr(PS.Config.Is申万 ? "" : "应付未了结交易款 :", PS.Config.Is申万 ? "" : Model.FundReportModel.PositionTradePayableFundString)
@if (PS.Config.Is申万)
{
@StringHelper.GetFixedStr("授信额度 :", Model.FundReportModel.CreditString)@StringHelper.GetFixedStr("", "")
<text>
@if (PS.Config.ClientElement.TradeMarketShowTotalNetSettlement)
{
@StringHelper.GetFixedStr("总盈亏 :", Model.FundReportModel.TotalNetSettlementString)@StringHelper.GetFixedStr("可取资金 :", Model.FundReportModel.DesirableFundString)
}
else
{
@StringHelper.GetFixedStr("", "")@StringHelper.GetFixedStr("可取资金 :", Model.FundReportModel.DesirableFundString)
}
</text>
}
else
{
@StringHelper.GetFixedStr("可用资金 :", Model.FundReportModel.AvailableFundString)@StringHelper.GetFixedStr("应付资金总额 :", Model.FundReportModel.PayableFundString)
<text>
@StringHelper.GetFixedStr("授信额度 :", Model.FundReportModel.CreditString)@StringHelper.GetFixedStr("可取资金 :", Model.FundReportModel.DesirableFundString)
@if (PS.Config.ClientElement.TradeMarketShowTotalNetSettlement)
{
@StringHelper.GetFixedStr("总盈亏 :", Model.FundReportModel.TotalNetSettlementString)
}
</text>
}
</text>
}
@if (Model.eod_positionList != null)
{
@await Html.PartialAsync("~/Views/clientbalance/TradeMarketChiCang.cshtml", Model.eod_positionList)
}
@if (Model.trade_contract_groupList != null)
{
@await Html.PartialAsync("~/Views/clientbalance/TradeMarketLiShiJiaoYi.cshtml", Model.trade_contract_groupList)
}
@if (Model.ClientCashInCashOutExtendList != null)
{
@await Html.PartialAsync("~/Views/clientbalance/TradeMarketXianJinLiuShui.cshtml", Model.ClientCashInCashOutExtendList)
}
@if (Model.clientcashincashout_productLinq != null)
{
@await Html.PartialAsync("~/Views/clientbalance/TradeMarketDiYaPin.cshtml", Model.clientcashincashout_productLinq)
}
@foreach (var desc in Model.descList)
{
<text>@desc</text>
}
经办方:@(YLErp.PS.Config.CompanyName)
日期:@Utilities.ShowValidDatetime(DateTime.Now)