@using System.Linq; @using YLErp.Commons; @using YLErp.Modules.TradeModule.QueryModule; @using System; @model TradeSwapDetailsReport @{ //该文档要经过RazorEngine渲染,目前RazorEngine不支持 ?.语法糖,该文档应避免使用 Layout = null; var rowindwx = 0; var rowstyle = "highlight"; }
@if (Model.TradeFlowListAll != null) {| 交易类型 | 交易编号 | 收益金额支付类型 | 交易标的 | 交易起始日 | 交易到期日 | 标的期初价格(计价货币) | 交易数量 | 名义本金(计价货币) | 固定收益率 | 期末价格(计价货币) | 交易终止日 | 终止数量 | 浮动收益(结算货币) | 固定收益(结算货币) | 期末汇率 | 结算金额(结算货币) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @tr.TradeType | @tr.TradeNumber |
@{
string PayType = tr.PayType.Replace("\r\n", "");
@PayType.Substring(0, 4);
@PayType.Substring(4); } |
@tr.UnderlyingCode | @tr.TradeDate.OtcFormatDate() | @tr.ExerciseDate.OtcFormatDate() | @tr.Price.OtcFormatFlex(6, 6) | @tr.Notional.OtcFormatFlex(6, 6) | @tr.StockEqvNotional.OtcFormatFlex(2, 2) | @tr.AnnualRate | @tr.UnwindPrice.OtcFormatFlex(6, 6) | @tr.UnwindDate.OtcFormatDate() | @tr.UnwindNotional.OtcFormatFlex(6, 6) | @tr.FloatIncome.OtcFormatFlex(2, 2) | @tr.FixedIncome.OtcFormatFlex(2, 2) | @tr.CurrencyRate | @tr.Amount.OtcFormatFlex(2, 2) |
| @Model.TradeFlowListSum.FloatIncomeSum.OtcFormatFlex(2, 2) | @Model.TradeFlowListSum.FixedIncomeSum.OtcFormatFlex(2, 2) | @Model.TradeFlowListSum.AmountSum.OtcFormatFlex(2, 2) |