@using YLErp; @using YLErp.Model.Enum; @{ ViewBag.Title = "当日交易(收益结算)"; ViewBag.Menu = "交易管理-当日交易(收益结算)"; Layout = "~/Views/Shared/_InfoLayout.cshtml"; var pageObj = new { tabIndexSelect = ViewBag.TabIndex, trade_yizhixing = ConsTrade.已执行, trade_yidaoqi = ConsTrade.已到期, trade_yipingcang = ConsTrade.已平仓, IsTradeVol = YLErp.PS.Config.IsTradeVol, volType = ViewBag.VolType ?? string.Empty, generateAmendDoc = PS.Config.TradeElement.IsGenerateAmendDoc, needSendChangeEmail = PS.Config.TradeElement.IsAmendableAfterConfirm && PS.Config.TradeElement.IsGenerateAmendDoc, valueDate = valuedateBLL.ValueDate.ToString("yyyy-MM-dd"), buttonStr = YLErp.PS.Config.Company == CompanyEnum.天风 ? "交易录入" : "交易特批", IsUseDisplayNotional = PS.Config.IsUseDisplayNotional }; var isFirstTab = string.IsNullOrWhiteSpace(Context.Request.Query["tabIndex"]) || Context.Request.Query["tabIndex"] == "1"; var istoEndTab = !string.IsNullOrWhiteSpace(Context.Request.Query["tabIndex"]) && Context.Request.Query["tabIndex"] == "3"; } @section CSS{ } @section JS{ }
@Html.MyAceDropdownInput("ClientId", "交易对手方", ClientDataModel.GetAllOpenClient())
标的代码
@Html.ShortInput("TradeNumber", "交易编号") @Html.MyAceDropdownInput("TraderId", "交易员", GlobalData.GetAllTrader()) @*到期日期---当日到期tab、明日到期tab不显示*@
@Html.SearchDateRange("ExerciseDate", "到期日期")
@Html.MyAceDropdownInput("TradeStatus", "交易状态", GlobalData.GetSelectItems(ConsTrade.AllTradeStatus), true) @Html.MyAceDropdownInput("GroupId", "簿记账户组", AssetUnitModel.GetAllAssetUnitGroupItem()) @Html.MyAceDropdownInput("AssetId", "簿记账户", AssetunitController.GetClientassetunit())
@MyControls.SearchBtn() @if (isFirstTab) { } @if (istoEndTab && CurUser.交易管理_交易延期结算) { @MyControls.Btn("延期结算", "delaySettlement()") }
@Html.Raw(JqGridSimple.OutTable())