@using DataCacheProvider = YLErp.Modules.DataCacheProvider; @model SyntheticUnderlyingDto @{ ViewBag.Title = "组合标的设置"; Layout = "~/Views/Shared/_InfoLayout.cshtml"; ViewData[(Model.UpDownLimit ?? "%").EndsWith("%") ? "百分比" : "绝对值"] = "selected"; string syntheticUnderlyingName = ViewBag.syntheticUnderlyingName; } @section CSS{ } @if (ViewData["canEdit"] != null && CurUser.基础参数管理.标的资产编辑) {
修改
}

标的名称- (@(Model.UnderlyingTipsInfo))

组合序号
组合系数
标的品种
标的代码
标的价格
合约乘数
标的到期日
@{ var coefficients = new[] { Model.Coefficient1, Model.Coefficient2, Model.Coefficient3, Model.Coefficient4 }; var index = 1; foreach (var item in Model.UnderlyingList) {
S@(index++)
@(coefficients[index-2])
@(DataCacheProvider.GetVarietyDataSource().GetData(item.UnderlyingTypeId)?.VarietyName)
@(item.UnderlyingCode)
@(item.Price)
@(item.ContractSize)
@(item.MaturityDate?.OtcFormatDate())
} }
@if (CurUser.基础参数管理.标的资产编辑) { } @if (CurUser.基础参数管理.标的资产编辑) { }
常数 合约乘数 波动率变化 预付金比例 涨跌停板幅度
@(Model.Constant) @(Model.ContractSize)
@section JS { }