@{ ViewBag.Title = "客户盈亏试算"; ViewBag.Menu = "风险管理-客户盈亏试算"; Layout = "~/Views/Shared/_MainLayout.cshtml"; var pageObj = new { isTradeVol = PS.Config.IsTradeVol, isPvRounded = PS.Config.IsPVRounded, g_volMoreAccurate = YLErp.PS.Config.ErpElement.VolMoreAccurate, calcDate = valuedateBLL.ValueDate.ToString("yyyy-MM-dd"), valueDate = ViewBag.ValueDate?.ToString(), configcolumn = configcolumn_data.客户盈亏持仓明细, ParentFlag = ViewBag.ParentFlag, IsUseDisplayNotional = PS.Config.IsUseDisplayNotional }; } @section CSS{ } @section JS{ }
试算目标: @Html.MyAceDropdownInput("ClientId", "客户名称", ClientDataModel.GetAllClient(), false, true, null, false) @Html.ShortInput("ValueDate", "估值日期:") @Html.MyAceDropdownInput2("ParentFlag", "包含子客户", GlobalData.GetBoolList(false), false)
筛选条件: @Html.ShortInput("TradeNumber", "交易编号") @Html.MyAceDropdownInput("AssetId", "簿记账户", AssetunitController.GetClientassetunit()) @Html.MyAceDropdownInput("GroupId", "簿记账户组", AssetUnitModel.GetAllAssetUnitGroupItem(), false) @{ var types = ConsTrade.OptionTradeTypes.Concat(new[] { "黑箱结构", "远期" }).ToList(); } @Html.MyAceDropdownInput("TradeTypes", "结构类型", GlobalData.GetSelectItems(types))
标的代码
@Html.SearchDateRange("TradeDate", "交易日期") @Html.SearchDateRange("ExerciseDate", "到期日期") @MyControls.SearchBtn()
试算结果:
持仓市值
持仓盈亏
@Html.Raw(JqGridSimple.OutTable())