- 修改 CalcPayment 方法添加 useBondPriceScale 参数区分债券和股票/基金的金额计算口径 - 债券利息按每100元面值票息通过BondPriceConverter转为入库金额,股票基金分红直接计算 - 在BondPaymentService中添加详细的参数说明文档注释 - 更新SwapDealService中分红计算逻辑,根据标的类型自动选择合适的金额转换方式 - 新增CorporateActionEventLifecycleTest单元测试验证公司行为事件生命周期管理 - 添加SplitCorporateActionTddTest测试验证拆合股功能 - 优化FundCorporateActionRollbackAndUnwindTest扩展到股票类型测试 - 更新前端OperationHistory页面表格列宽和显示格式支持更长的说明信息
40 lines
1.2 KiB
Plaintext
40 lines
1.2 KiB
Plaintext
|
|
@{
|
|
ViewBag.Title = "交易操作历史";
|
|
Layout = "~/Views/Shared/_InfoLayout.cshtml";
|
|
}
|
|
@section JS
|
|
{
|
|
<script type="text/javascript">
|
|
var enid='@ViewBag.Enid';
|
|
</script>
|
|
<script src="~/Scripts/app/swaptrade/OperationHistory.js?v=@HtmlUtil.JsVersion"></script>
|
|
}
|
|
<div class="p-4" id="VueDiv">
|
|
<table class="table table-bordered">
|
|
<colgroup>
|
|
<col span="1" width="150" />
|
|
<col span="1" width="120" />
|
|
<col span="1" />
|
|
<col span="1" width="420" />
|
|
</colgroup>
|
|
<thead>
|
|
<tr>
|
|
<th>操作时间</th>
|
|
<th>操作人</th>
|
|
<th class="text-left" style="width:10%">操作内容</th>
|
|
<th class="text-left" style="width:50%">说明(含公司行为前后要素)</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr v-for="item in historyList">
|
|
<td>{{dateFormat(item.OptTime,'YYYY-MM-DD HH:mm:ss')}}</td>
|
|
<td>{{item.OptName}}</td>
|
|
<td>{{item.EventTypeName}}</td>
|
|
<td style="white-space:pre-line">{{item.EventReason}}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|