@using YieldChain.Security @model TradeViewModel @{ Layout = null; var tradeModel = Model.Trade; var trade_swap = tradeModel.trade_swap; var salesNames = String.Join(",", Model.SalesCommission.Select(n => n.SalesmanName).ToArray()); var isJd = tradeModel.UnderlyingCode?.Trim().ToUpper().StartsWith("JD") ?? false; tradeModel.TradeUnit = PS.Config.IsUseDisplayNotional ? (tradeModel.QuoteUnit == "500千克" ? "半吨" : (isJd ? "吨" : tradeModel.QuoteUnit)) : tradeModel.TradeUnit; }
@if (tradeModel.trade_swap.SwapType == "多空组合") { @if (tradeModel.trade_swap.IsGetFloatingProfit) { } else { } @if (tradeModel.trade_swap.IsPayFloatingProfit) { } else { } @if (tradeModel.trade_swap.IsGetFloatingProfit) { } else { } @if (tradeModel.trade_swap.IsPayFloatingProfit) { } else { } @if (tradeModel.trade_swap.IsGetFloatingProfit) { } else { } @if (tradeModel.trade_swap.IsPayFloatingProfit) { } else { } @if (tradeModel.trade_swap.IsGetFloatingProfit) { } else { } @if (tradeModel.trade_swap.IsPayFloatingProfit) { } else { } if (!string.IsNullOrEmpty(Model.OriginalStockEqvNotionalV2MultipleExchangeRate)) { } } else if (tradeModel.trade_swap.IsPayFloatingProfit) { @{ tradeModel.MetaDic.TryGetValue(YLErp.DBModels.Consts.ConsTradeMetaKey.chargeCycle, out var chargeCycle); } @if (!string.IsNullOrEmpty(chargeCycle)) { if (chargeCycle == "TERM") { } else { } } else { } @if (!PS.Config.ErpElement.SecuritiesEnvironment) { } else { } @if (!PS.Config.ErpElement.SecuritiesEnvironment) { } else { } if (!string.IsNullOrEmpty(Model.OriginalStockEqvNotionalV2MultipleExchangeRate)) { } @if (!PS.Config.ErpElement.SecuritiesEnvironment) { } else { } } else { @{ tradeModel.MetaDic.TryGetValue(YLErp.DBModels.Consts.ConsTradeMetaKey.paymentCycle, out var paymentCycle); } @if (!string.IsNullOrEmpty(paymentCycle)) { if (paymentCycle == "TERM") { } else { } } else { } @if (!PS.Config.ErpElement.SecuritiesEnvironment) { } else { } @if (!PS.Config.ErpElement.SecuritiesEnvironment) { } else { if (!string.IsNullOrEmpty(Model.OriginalStockEqvNotionalV2MultipleExchangeRate)) { } } if (PS.Config.ErpElement.SecuritiesEnvironment && !string.IsNullOrEmpty(Model.OriginalStockEqvNotionalV2MultipleExchangeRate)) { } @if (!PS.Config.ErpElement.SecuritiesEnvironment) { } else { } } @if (CurUser.交易管理_交易标签查看权限) { }
互换类型 @(tradeModel.trade_swap.SwapType) 交易员收取 @(tradeModel.trade_swap.IsGetFloatingProfit ? "浮动收益" : "利息") 交易员支付 @(tradeModel.trade_swap.IsPayFloatingProfit ? "浮动收益" : "利息")
簿记账户 @(tradeModel.AssetBookName)标的代码 @(trade_swap.GetUnderlyingCode)互换利率(年化) 标的代码 @(trade_swap.PayUnderlyingCode)互换利率(年化)
交易对手方 交易对手方 @(tradeModel.ClientName) @if (!PS.Config.IsGuoJun && !PS.Config.Is润和) { (@(tradeModel.OpponentRole ?? "乙方")) } 增强收益(年化) @(tradeModel.trade_swap.GetSwapRate.OtcFormatPercent())交易费用 @(trade_swap.GetTradePrice.OtcFormatMoney())增强收益(年化) @(tradeModel.trade_swap.PaySwapRate.OtcFormatPercent())交易费用 @(trade_swap.PayTradePrice.OtcFormatMoney())
交易员 @(tradeModel.TraderName)交易费用 @(trade_swap.GetTradePrice.OtcFormatMoney())初始预付金率 @(trade_swap.GetMarginRate.OtcFormat(OtcFormatFlag.premiumRateP))交易费用 @(trade_swap.PayTradePrice.OtcFormatMoney())初始预付金率 @(trade_swap.PayMarginRate.OtcFormat(OtcFormatFlag.premiumRateP))
成交日期 @(tradeModel.TradeDate.OtcFormatDate())初始预付金率 @(trade_swap.GetMarginRate.OtcFormat(OtcFormatFlag.premiumRateP)) 初始预付金率 @(trade_swap.PayMarginRate.OtcFormat(OtcFormatFlag.premiumRateP))
自然日 @(tradeModel.StartDate.OtcFormatDate()) @if (tradeModel.get_trade_swap_details.Count >= 1) {
@**@ @foreach (var item in tradeModel.get_trade_swap_details) { @**@ }
操作交易编号 标的代码 多空方向 期初价格 数量
@if (item.Notional > 0) { 平仓 } @item.ChildTradeNumber @item.UnderlyingCode @item.LongShort @item.SpotPrice @item.Notional / @tradeModel.trade_swap.GetCountRatio
@*开仓*@ }
@if (tradeModel.pay_trade_swap_details.Count >= 1) {
@**@ @foreach (var item in tradeModel.pay_trade_swap_details) { @**@ }
操作交易编号 标的代码 多空方向 期初价格 数量
@if (item.Notional > 0) { 平仓 } @item.ChildTradeNumber @item.UnderlyingCode @item.LongShort @item.SpotPrice @item.Notional / @tradeModel.trade_swap.PayCountRatio
@*开仓*@ }
到期日期 @(tradeModel.ExerciseDate.OtcFormatDate())
名义本金 @(tradeModel.OriginalStockEqvNotional.OtcFormat(OtcFormatFlag.StockEqvNotional))
名义本金(结算币种) @Model.OriginalStockEqvNotionalV2MultipleExchangeRate
交易编号 @(tradeModel.TradeNumber)
浮动收益年化 @(tradeModel.trade_swap.AnnualVarIncome ? "是" : "否")
年化天数 @(trade_swap.AnnualDays)
计息方式 @(TradeViewModel.GetSwapRateCalcModeDesc(tradeModel.trade_swap.RateCalcMode))
计价货币 @(tradeModel.QuoteCurrency)
结算日期 @((tradeModel.SettlementDate ?? tradeModel.ExerciseDate).OtcFormatDate())
是否延期结算 @(tradeModel.SettlementFlag == 1 ? "是" : "否")
是否开仓时收取手续费 @(tradeModel.trade_swap.IsTradePriceWhenOpen ? "是" : "否")
收费基本单位 @(tradeModel.trade_swap.IsShare ? "按手数收费" : "按份额收费")
簿记账户 @(tradeModel.AssetBookName) 互换利率(年化) 多空方向 @(trade_swap.PayLongShort)
交易对手方 @(tradeModel.ClientName) @if (!PS.Config.IsGuoJun && !PS.Config.Is润和) { (@(tradeModel.OpponentRole ?? "乙方")) } 单位交易费用 @(trade_swap.GetUnAnnualRate > 0 ? (trade_swap.GetUnAnnualRate ?? 0).OtcFormat(OtcFormatFlag.premiumRateP) : (trade_swap.IsShare ? (trade_swap.GetSingleFee ?? 0) : ((trade_swap.GetSingleFee ?? 0) / trade_swap.PayContractSize)).OtcFormat(OtcFormatFlag.tradeSinglePrice)) 标的代码 @(trade_swap.PayUnderlyingCode)
交易员 @(tradeModel.TraderName) 交易费用 @(trade_swap.GetTradePrice.OtcFormatMoney()) 期初标的价格 @if (PS.Config.IsGuoJun) { @trade_swap.PaySpotPrice.OtcFormatFlex(6, 6); } else { @trade_swap.PaySpotPrice.OtcFormat(OtcFormatFlag.umprice) }
成交日期 @(tradeModel.TradeDate.OtcFormatDate()) 初始预付金率 @(trade_swap.GetMarginRate.OtcFormat(OtcFormatFlag.premiumRateP)) 开仓价格 @if (PS.Config.IsGuoJun) { @trade_swap.PayOpenPrice.OtcFormatFlex(6, 6); } else { @trade_swap.PayOpenPrice.OtcFormat(OtcFormatFlag.umprice) }
自然日 @(tradeModel.StartDate.OtcFormatDate())收取周期到期支付 @(!string.IsNullOrEmpty(chargeCycle) && chargeCycle.IndexOf("|")>=0 ? "每" + chargeCycle.Substring(0, chargeCycle.IndexOf('|')).Replace('D', '天').Replace('W', '周').Replace('M', '月').Replace('Y', '年').Replace("TERM", "到期支付") : "到期支付")收取周期 到期支付交易手数 @if (PS.Config.IsGuoJun) { @trade_swap.PayLot.OtcFormatFlex(6, 6); } else { @(trade_swap.PayLot.OtcFormatNotional()) }
到期日期 @(tradeModel.ExerciseDate.OtcFormatDate())中央对手方清算 @{ tradeModel.MetaDic.TryGetValue(YLErp.DBModels.Consts.ConsTradeMetaKey.IsCentralClearing, out var isCentralClearing); } @(isCentralClearing=="Y"?"是": isCentralClearing == "I"? "计划中央对手方清算" : "否") 交易数量 @if (PS.Config.IsGuoJun) { @((PS.Config.IsUseDisplayNotional ? trade_swap.PayTradeAmount * trade_swap.PayCountRatio : trade_swap.PayTradeAmount).OtcFormatFlex(6, 6)); } else { @(trade_swap.PayTradeAmount.OtcFormatNotional((int)trade_swap.PayCountRatio,PS.Config.IsUseDisplayNotional)) }
名义本金 @(tradeModel.OriginalStockEqvNotional.OtcFormat(OtcFormatFlag.StockEqvNotional))中央清算平台 @{ tradeModel.MetaDic.TryGetValue(YLErp.DBModels.Consts.ConsTradeMetaKey.CentralClearingPaltform, out var centralClearingPaltform); } @centralClearingPaltform 增强收益(年化) @(tradeModel.trade_swap.PaySwapRate.OtcFormatPercent())
名义本金(结算币种) @Model.OriginalStockEqvNotionalV2MultipleExchangeRate
交易编号 @(tradeModel.TradeNumber)交易平台 @{ tradeModel.MetaDic.TryGetValue(YLErp.DBModels.Consts.ConsTradeMetaKey.TradingPaltform, out var tradingPaltform); } @tradingPaltform 初始预付金率 @(trade_swap.PayMarginRate.OtcFormat(OtcFormatFlag.premiumRateP))
浮动收益年化 @(tradeModel.trade_swap.AnnualVarIncome ? "是" : "否") 报送收取周期频率 @{ @(!string.IsNullOrEmpty(chargeCycle) && chargeCycle.IndexOf("|") >= 0? chargeCycle.Substring(chargeCycle.IndexOf('|')+1).Replace("DAIL", " 日度").Replace("WEEK", " 周度").Replace("MNTH", " 月度").Replace("YEAR", " 年度").Replace("OTHER", "其他").Replace("TERM", "到期支付") : "到期支付") } 持仓数量 @tradeModel.TradeAmount.OtcFormatNotional()
年化天数 @(trade_swap.AnnualDays)
计息方式 @(TradeViewModel.GetSwapRateCalcModeDesc(tradeModel.trade_swap.RateCalcMode))
计价货币 @(tradeModel.QuoteCurrency)
汇率 @(tradeModel.MetaDic.ContainsKey("ExchangeRate") ? tradeModel.MetaDic["ExchangeRate"] : "")
结算日期 @((tradeModel.SettlementDate ?? tradeModel.ExerciseDate).OtcFormatDate())
是否延期结算 @(tradeModel.SettlementFlag == 1 ? "是" : "否")
是否开仓时收取手续费 @(tradeModel.trade_swap.IsTradePriceWhenOpen ? "是" : "否")
收费基本单位 @(tradeModel.trade_swap.IsShare ? "按手数收费" : "按份额收费")
簿记账户 @(tradeModel.AssetBookName) 多空方向 @(trade_swap.GetLongShort) 互换利率(年化)
交易对手方 @(tradeModel.ClientName) @if (!PS.Config.IsGuoJun && !PS.Config.Is润和) { (@(tradeModel.OpponentRole ?? "乙方")) } 标的代码 @(trade_swap.GetUnderlyingCode) 单位交易费用 @(trade_swap.PayUnAnnualRate > 0 ? (trade_swap.PayUnAnnualRate ?? 0).OtcFormat(OtcFormatFlag.premiumRateP) : (trade_swap.IsShare ? (trade_swap.PaySingleFee ?? 0) : ((trade_swap.PaySingleFee ?? 0) / trade_swap.GetContractSize)).OtcFormat(OtcFormatFlag.tradeSinglePrice))
交易员 @(tradeModel.TraderName) 期初标的价格 @if (PS.Config.IsGuoJun) { @trade_swap.GetSpotPrice.OtcFormatFlex(6, 6); } else { @(trade_swap.GetSpotPrice.OtcFormat(OtcFormatFlag.umprice)) } 交易费用 @(trade_swap.PayTradePrice.OtcFormatMoney())
成交日期 @(tradeModel.TradeDate.OtcFormatDate()) 开仓价格 @if (PS.Config.IsGuoJun) { @trade_swap.GetOpenPrice.OtcFormatFlex(6, 6); } else { @(trade_swap.GetOpenPrice.OtcFormat(OtcFormatFlag.umprice)) } 初始预付金率 @(trade_swap.PayMarginRate.OtcFormat(OtcFormatFlag.premiumRateP))
自然日 @(tradeModel.StartDate.OtcFormatDate()) 交易手数 @if (PS.Config.IsGuoJun) { @trade_swap.GetLot.OtcFormatFlex(6, 6); } else { @(trade_swap.GetLot.OtcFormatNotional()) } 支付周期到期支付 @(!string.IsNullOrEmpty(paymentCycle) && paymentCycle.IndexOf("|")>=0 ? "每" + paymentCycle.Substring(0, paymentCycle.IndexOf('|')).Replace('D', '天').Replace('W', '周').Replace('M', '月').Replace('Y', '年').Replace("TERM", "到期支付") : "到期支付")支付周期 到期支付
到期日期 @(tradeModel.ExerciseDate.OtcFormatDate()) 交易数量 @if (PS.Config.IsGuoJun) { @((PS.Config.IsUseDisplayNotional? trade_swap.GetTradeAmount* trade_swap.PayCountRatio: trade_swap.GetTradeAmount).OtcFormatFlex(6, 6)); } else { @(trade_swap.GetTradeAmount.OtcFormatNotional((int)trade_swap.GetCountRatio, PS.Config.IsUseDisplayNotional)) } 中央对手方清算 @{ tradeModel.MetaDic.TryGetValue(YLErp.DBModels.Consts.ConsTradeMetaKey.IsCentralClearing, out var isCentralClearing); } @(isCentralClearing=="Y"?"是":"否")
名义本金 @(tradeModel.OriginalStockEqvNotional.OtcFormat(OtcFormatFlag.StockEqvNotional))中央清算平台 @{ tradeModel.MetaDic.TryGetValue(YLErp.DBModels.Consts.ConsTradeMetaKey.CentralClearingPaltform, out var centralClearingPaltform); } @centralClearingPaltform 名义本金(结算币种) @Model.OriginalStockEqvNotionalV2MultipleExchangeRate增强收益(年化) @(tradeModel.trade_swap.GetSwapRate.OtcFormatPercent())
名义本金(结算币种) @Model.OriginalStockEqvNotionalV2MultipleExchangeRate
交易编号 @(tradeModel.TradeNumber) 初始预付金率 @(trade_swap.GetMarginRate.OtcFormat(OtcFormatFlag.premiumRateP))交易平台 @{ tradeModel.MetaDic.TryGetValue(YLErp.DBModels.Consts.ConsTradeMetaKey.TradingPaltform, out var tradingPaltform); } @tradingPaltform
浮动收益年化 @(tradeModel.trade_swap.AnnualVarIncome ? "是" : "否") 持仓数量 @tradeModel.TradeAmount.OtcFormatNotional() 报送支付周期频率 @{ @(!string.IsNullOrEmpty(paymentCycle) && paymentCycle.IndexOf("|") >= 0? paymentCycle.Substring(paymentCycle.IndexOf('|')+1).Replace("DAIL", " 日度").Replace("WEEK", " 周度").Replace("MNTH", " 月度").Replace("YEAR", " 年度").Replace("OTHER", "其他").Replace("TERM", "到期支付") : "到期支付") }
年化天数 @(trade_swap.AnnualDays)
计息方式 @(TradeViewModel.GetSwapRateCalcModeDesc(tradeModel.trade_swap.RateCalcMode))
计价货币 @(tradeModel.QuoteCurrency)
结算日期 @((tradeModel.SettlementDate ?? tradeModel.ExerciseDate).OtcFormatDate())
是否延期结算 @(tradeModel.SettlementFlag == 1 ? "是" : "否")
是否开仓时收取手续费 @(tradeModel.trade_swap.IsTradePriceWhenOpen ? "是" : "否")
收费基本单位 @(tradeModel.trade_swap.IsShare ? "按手数收费" : "按份额收费")
备注 @if (tradeModel.RemarkInfo != null && tradeModel.RemarkInfo.StartsWith("http://")) { @(tradeModel.RemarkInfo) } else { @(tradeModel.RemarkInfo) }
标签
@if (Model.Tags != null && Model.Tags.Any()) { foreach (var tag in Model.Tags) { @tag.Name @if (CurUser.交易管理_交易标签调整权限) { x } } } @if (CurUser.交易管理_交易标签调整权限) { + }
@if (PS.Config.Company == CompanyEnum.国海) { tradeModel.MetaDic.TryGetValue(YLErp.DBModels.Consts.ConsTradeMetaKey.CCR_K, out var ccr_k); tradeModel.MetaDic.TryGetValue(YLErp.DBModels.Consts.ConsTradeMetaKey.ignoreRiskExposure, out var ignoreRiskExposure); } @if (PS.Config.ErpElement.SecuritiesEnvironment) { tradeModel.MetaDic.TryGetValue(YLErp.DBModels.Consts.ConsTradeMetaKey.ClearingAgency, out var clearingAgency); tradeModel.MetaDic.TryGetValue(YLErp.DBModels.Consts.ConsTradeMetaKey.TradingPlace, out var tradingPlace); tradeModel.MetaDic.TryGetValue(YLErp.DBModels.Consts.ConsTradeMetaKey.MainProtocolCode, out var mainProtocolCode); tradeModel.MetaDic.TryGetValue(YLErp.DBModels.Consts.ConsTradeMetaKey.SupProtocolCode, out var supProtocolCode); if (!PS.Config.Is润和) { } } @if (AppHelper.UseFutureVersion("销售提成", "V2")) { }
CCR指标k值 @ccr_k 信用风险敞口 @(ignoreRiskExposure != "1" ? "参与计算" : "忽略")
交易场所 @(tradingPlace) 清算机构 @(clearingAgency)
主协议编号 @(mainProtocolCode) 补充协议编号 @(supProtocolCode)
@(PS.Config.ErpElement.SaleMode == YLErp.Configuration.Enums.SaleMode.SaleMen ?"销售员":"客户经理") @(salesNames) 销售提成 @(Model.SalesCommission.FirstOrDefault()?.CommissionString())
@if (Model.unWindTradeCashList != null) { var index = 1;
@foreach (var tc in Model.unWindTradeCashList) { var tc_swap = tc.trade_cash_swap; @if (tc.UnwindMethod == 1) { } else { } @if (PS.Config.IsGuoJun) { } @if (tc.UnwindMethod != 1) { @if (PS.Config.IsGuoJun) { } @**@ } else { if (PS.Config.IsGuoJun) { } } @if (!PS.Config.IsGuoJun) { }
提前终止序号 @(index++)
平仓数量 @((PS.Config.IsUseDisplayNotional ? tc.UnwindTradeAmount * (tradeModel.CountRatio ?? 1) : tc.UnwindTradeAmount).OtcFormatNotional()) 返还预付金 @(tc.AdvanceMoney.OtcFormatMoney())平仓比例 @(tc.UnwindPercentRate.OtcFormatPercent()) 平仓名义本金 @(tc.UnwindStockEqvNotional.OtcFormatFlex(6,4))
起始日期 @(tc_swap.StartDate.OtcFormatDate()) 平仓日期 @(tc.ValueDate.OtcFormatDate())
平仓总额(计价货币) @(tc.QuoteAmount.OtcFormatMoney()) 实现盈亏(计价货币) @(tc.QuoteWinloss)
平仓总额 @(tc.Amount.OtcFormatMoney()) 实现盈亏 @(tc.WinLoss)
结算汇率 @(tc.CurrencyRate)平仓费用 @(tc.ExtraAmount.OtcFormatMoney())返还预付金 @(tc.AdvanceMoney.OtcFormatMoney())
结算汇率 @(tc.CurrencyRate)
收取 支付
标的代码 @(trade_swap.GetUnderlyingCode) 标的代码 @(trade_swap.PayUnderlyingCode)
多头空头 @(trade_swap.GetLongShort) 多头空头 @(trade_swap.PayLongShort)
年化利率 @(tc_swap.GetSwapRate.OtcFormatPercent()) 年化利率 @(tc_swap.PaySwapRate.OtcFormatPercent())
基准价格 @(tc_swap.GetStartPrice.OtcFormat(OtcFormatFlag.umprice)) 基准价格 @(tc_swap.PayStartPrice.OtcFormat(OtcFormatFlag.umprice))
标的价格 @(tc_swap.GetFinalPrice.OtcFormat(OtcFormatFlag.umprice)) 标的价格 @(tc_swap.PayFinalPrice.OtcFormat(OtcFormatFlag.umprice))
手续费 @(tc_swap.GetCostFee.OtcFormatMoney()) 手续费 @(tc_swap.PayCostFee.OtcFormatMoney())
利息金额 @(tc_swap.GetExtraAmount.OtcFormatMoney()) 利息金额 @(tc_swap.PayExtraAmount.OtcFormatMoney())
收益金额 @(tc_swap.GetInitialAmount.OtcFormatMoney()) 收益金额 @(tc_swap.PayInitialAmount.OtcFormatMoney())
互换金额 @(tc_swap.GetAmount.OtcFormatMoney()) 互换金额 @(tc_swap.PayAmount.OtcFormatMoney())
}
} @if (Model.swapTradeCashList != null) { var index = 1;
@foreach (var tc in Model.swapTradeCashList) { var tc_swap = tc.trade_cash_swap; if (tc_swap != null) { @if (PS.Config.Company == CompanyEnum.中金) { } else { }
互换序号 @(index++) 互换名义本金 @(tc.StockEqvNotional.ToString("F2"))
起始日期 @(tc_swap.StartDate.OtcFormatDate()) 互换日期 @((tc.HappenedDate??tc.ValueDate).OtcFormatDate())
互换净额 @(tc.Amount.OtcFormatMoney()) 实现盈亏 @(tc.WinLoss)
收取 支付
标的代码 @(trade_swap.GetUnderlyingCode) 标的代码 @(trade_swap.PayUnderlyingCode)
多头空头 @(trade_swap.GetLongShort) 多头空头 @(trade_swap.PayLongShort)
年化利率 @(tc_swap.GetSwapRate.OtcFormatPercent()) 年化利率 @(tc_swap.PaySwapRate.OtcFormatPercent())
基准价格 @(tc_swap.GetStartPrice.OtcFormat(OtcFormatFlag.umprice)) 基准价格 @(tc_swap.PayStartPrice.OtcFormat(OtcFormatFlag.umprice))
标的价格 @(tc_swap.GetFinalPrice.OtcFormat(OtcFormatFlag.umprice)) 标的价格 @(tc_swap.PayFinalPrice.OtcFormat(OtcFormatFlag.umprice))
手续费 @(tc_swap.GetCostFee.OtcFormatMoney()) 手续费 @(tc_swap.PayCostFee.OtcFormatMoney())
手续费 @(tc_swap.GetCostFee.OtcFormatMoney()) 手续费 @(tc_swap.PayCostFee.OtcFormatMoney())
利息金额 @(tc_swap.GetExtraAmount.OtcFormatMoney()) 利息金额 @(tc_swap.PayExtraAmount.OtcFormatMoney())
收益金额 @(tc_swap.GetInitialAmount.OtcFormatMoney()) 收益金额 @(tc_swap.PayInitialAmount.OtcFormatMoney())
互换金额 @(tc_swap.GetAmount.OtcFormatMoney()) 互换金额 @(tc_swap.PayAmount.OtcFormatMoney())
} }
} @if (Model.tradeMarginTemplates != null && Model.tradeMarginTemplates.Any()) {
@foreach (var tradeMarginTemplate in Model.tradeMarginTemplates) { }
模板名称 预付金规则 规则类型 生效日期 操作时间 规则说明
@(tradeMarginTemplate.MarginTemplateName) @(tradeMarginTemplate.MarginRuleTypeName) @(tradeMarginTemplate.MarginTypeName) @(tradeMarginTemplate.ValueDate.ToString("yyyy-MM-dd")) @(tradeMarginTemplate.OptDate) @(tradeMarginTemplate.Comments)
}