@{ ViewBag.Title = "标的资产"; Layout = "~/Views/Shared/_MainLayout.cshtml"; } @section CSS{ } @section JS{ }
@Html.MyAceDropdownInput2("MarketCode", "市场", MarketController.GetAllmarket()) @Html.ShortInput("UnderlyingCode", "标的资产码") @Html.MyAceDropdownInput("UnderlyingInstrumentType", "资产类型", ConsGlobal.InstrumentType.SelectItems()) @Html.MyAceDropdownInput("UnderlyingTypeId", "品种类型", GetRolevariety(true)) @Html.SearchDateRange("MaturityDate", "标的到期日") @Html.MyAceDropdownInput2("LaunchState", "启用", GlobalData.QiYongTypes(),defaultvalue:"1") @Html.MyAceDropdownInput2("UnderlyingState", "标的状态", GlobalData.GetSelectItems(underlying_manager.UnderlyingStates), true) @Html.MyAceDropdownInput2("UnderlyingStatus", "交易状态", GlobalData.GetSelectItems(underlying_manager.UnderlyingStatusList), true)
@MyControls.SearchBtn()
@if (CurUser.基础参数管理.标的资产编辑) { @MyControls.Btn("新增", "startAddunderlying_manager()") @MyControls.Btn("新增篮子组合", "startAddBasketunderlying_manager()") @MyControls.Btn("新增组合标的", "startAddsSyntheticUnderlyingManager()") }
@Html.Raw(JqGridSimple.OutTable()) @await Html.PartialAsync("/Views/Common/_importFiles.cshtml", new ImportFileModel() { Title = "上传标的", Accept = ".*", Buttons = new Dictionary() { ["上传"] = new BtnReq() { OnClick = "uploadUnderlying()" }, ["下载模板"] = new BtnReq() { OnClick = "downTemplate()" }, }, })