20 lines
2.0 KiB
Plaintext
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>
|
|
} |