Files
zszq-trs/YLErpWeb/Views/SwapTrade2/EventList.cshtml
T
张名锐 bf6b27ba19 fix(swaptrade): 互换开平仓事件流水 小数点精度调整
- 将事件列表中的价格字段格式化统一为两位小数或九位小数
- 替换原有的otcformat.trading.umprice格式化方法
- 在前端JavaScript中添加EventTwoDecimalFormat和EventNineDecimalFormat函数
- 修改后端C#代码中的OtcFormat调用改为OtcFormatMoney并调整精度参数
- 为事件列表脚本添加版本参数以确保缓存更新
2026-07-27 13:17:39 +08:00

32 lines
1.2 KiB
Plaintext

@{
ViewBag.Title = "互换开平仓事件流水";
ViewBag.Menu = "交易管理-互换开平仓事件流水";
Layout = "~/Views/Shared/_MainLayout.cshtml";
var valueDate = valuedateBLL.ValueDate.ToSqlDate();
}
@section JS{
<script>
var page = {
valueDate: '@valueDate'
}
</script>
<script src="~/front/calendar?v=@(HtmlUtil.JsVersion)"></script>
<script src="~/Scripts/app/tradeHelper.js?v=@HtmlUtil.JsVersion"></script>
<script src="~/Scripts/app/swaptrade/eventlist.js?v=@HtmlUtil.JsVersion&eventPriceFormatV=2"></script>
}
<div id="eventVue">
<div class="searchdiv">
@Html.SearchDateRange("event_date", "事件日期")
@Html.ShortInput("TradeNumber", "交易编码")
@Html.ShortInput("UnderlyingCode", "标的代码")
<button class="btn btn-primary" onclick="SearchClick()"><span class="glyphicon glyphicon-search"></span>查询</button>
<button class="btn btn-primary" onclick="ExportClick()"><span class="glyphicon"></span>导出</button>
</div>
<div style="width:98%">
@Html.Raw(JqGridSimple.OutTable())
</div>
</div>
<form target="_blank" method="post" id="exportForm" action="">
<input type="hidden" name="" value="" />
</form>