@using YLErp; @using YLErp.Model.Enum; @{ ViewBag.Title = "互换观察日"; ViewBag.Menu = "风险管理-观察事件"; Layout = "~/Views/Shared/_MainLayout.cshtml"; } @section CSS{ } @section JS{ }
@Html.MyAceDropdownInput("ClientId", "交易对手方", ClientDataModel.GetAllOpenClient())
标的代码
@Html.ShortInput("TradeNumber", "交易编号") @Html.MyAceDropdownInput("TraderName", "交易员", GlobalData.GetAllTrader()) @Html.SearchDateRange("ExerciseDate", "到期日期") @Html.SearchDateRange("TradeDate", "成交日期") @Html.MyAceDropdownInput("TradeStatus", "交易状态", GlobalData.GetSelectItems(ConsTrade.TradeStatusAfterAndWithOutConfirmed), true) @Html.MyAceDropdownInput("AssetId", "簿记账户", AssetunitController.GetClientassetunit()) @Html.MyAceDropdownInput("GroupId", "簿记账户组", AssetUnitModel.GetAllAssetUnitGroupItem())
@MyControls.SearchBtn()
@Html.SearchDate("ValueDate", "选择日期")
@Html.Raw(JqGridSimple.OutTable())

记录颜色区分:

(1)今日到期(不包括已到期或已平仓):红色

(2)已了结:灰色