Files
zszq-trs/YLErpWeb/Views/clientbalance/TradeMarketXianJinLiuShui.cshtml
T
2024-05-09 14:06:26 +08:00

20 lines
2.0 KiB
Plaintext

@model List<ClientCashInCashOutExtend>
@{
Layout = null;
}
@if(Model!=null){
<text> 资金明细
---------------------------------------------------------------------------------------------------------------------------------------------
| 发生时间 | 收支方向 | 出入金 | 权利金 | 平仓行权 | 其他 |
|--------------------------------------------------------------------------------------------------------------------------------------------
</text>
foreach (ClientCashInCashOutExtend pos in Model)
{
<text>| @StringHelper.GetFixedStr2(pos.HappenDateString, " 发生时间 ") | @StringHelper.GetFixedStr2(@pos.DirectionType, " 收支方向 ") | @StringHelper.GetFixedStr2(@pos.MoneyInOut.ToString("N2"), " 出入金 ") | @StringHelper.GetFixedStr2(@pos.MoneyPrice.ToString("0.000"), " 权利金 ") | @StringHelper.GetFixedStr2(@pos.MoneyUnwindExer.ToString("0.000"), " 平仓行权 ") | @StringHelper.GetFixedStr2(@pos.MoneyOther.ToString("N2"), " 其他 ") |</text>
}
<text>
|--------------------------------------------------------------------------------------------------------------------------------------------
|共 @StringHelper.GetFixedStr2(Model.Count.ToString(), " ")条 | @StringHelper.GetFixedStr2(Model.Sum(x => x.MoneyToShow).ToString("N2"), " 收支方向 ") | @StringHelper.GetFixedStr2(Model.Sum(x => x.MoneyInOut).ToString("N2"), " 出入金 ") | @StringHelper.GetFixedStr2(Model.Sum(x => x.MoneyPrice).ToString("0.000"), " 权利金 ") | @StringHelper.GetFixedStr2(Model.Sum(x => x.MoneyUnwindExer).ToString("0.000"), " 平仓行权 ") | @StringHelper.GetFixedStr2(Model.Sum(x => x.MoneyOther).ToString("N2"), " 其他 ") |
---------------------------------------------------------------------------------------------------------------------------------------------
</text>
}