- 为 EodPositionRisks.cshtml 中的表格行设置固定高度 25px - 为 OptionTradeList.cshtml 中的表格行设置固定高度 25px - 为 tradeList.cshtml 中的表格行设置固定高度 25px - 统一所有表格单元格的行高、溢出隐藏和省略号显示 - 所有表格单元格设置为单行显示并截断多余文本 - 修复了三个页面中 jqGrid 表格的视觉一致性问题
128 lines
4.5 KiB
Plaintext
128 lines
4.5 KiB
Plaintext
@{
|
|
ViewBag.Title = "场内期权交易列表";
|
|
Layout = "~/Views/Shared/_MainLayout.cshtml";
|
|
var pageObj = new
|
|
{
|
|
IsOption = true,
|
|
configcolumn = configcolumn_data.场内成交记录
|
|
};
|
|
ViewBag.Menu = ViewBag.sourceType == 1 ? "交易管理-期权交易" : "交易管理-标的交易";
|
|
}
|
|
|
|
@section JS{
|
|
<script>
|
|
var page = @Json.Serialize(pageObj);
|
|
</script>
|
|
<script src="~/Scripts/app/tradeHelper.js?v=@HtmlUtil.JsVersion"></script>
|
|
<script src="~/Statics/libs/export/excellentexport.js?v=@(HtmlUtil.JsVersion)"></script>
|
|
<script src="~/Scripts/app/trade/exchange/tradeList.js?v=@(HtmlUtil.JsVersion)"></script>
|
|
}
|
|
|
|
@section CSS{
|
|
<style>
|
|
#listGrid tr.jqgrow {
|
|
height: 25px !important;
|
|
}
|
|
|
|
#listGrid tr.jqgrow > td {
|
|
height: 25px !important;
|
|
line-height: 20px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
</style>
|
|
}
|
|
|
|
<table id="excelTable" style="display:none"></table>
|
|
|
|
<a onfocus="this.blur();" style="display:none;" download="code.xls" id="createInvote2" class="ipt-todo hide">code</a>
|
|
|
|
<form class="searchdiv" id="form1" onsubmit="return false;">
|
|
<input type="hidden" name="TradeType" value="场内期权" />
|
|
@Html.MyAceDropdownInput("AssetBookIds", "簿记账户", AssetunitController.GetClientassetunit())
|
|
@Html.MyAceDropdownInput("AssetIdGroupList", "簿记账户组", AssetUnitModel.GetAllAssetUnitGroupItem())
|
|
<div class="search-group">
|
|
<span class="search-label">标的代码</span>
|
|
<select id="UnderlyingIds" name="UnderlyingIds" multiple></select>
|
|
</div>
|
|
<div class="search-group">
|
|
<span class="search-label">期权代码</span>
|
|
<input class="search-input" id="OptionCode" name="OptionCode" type="text" autocomplete="off">
|
|
</div>
|
|
<div class="search-group">
|
|
<span class="search-label">成交日期</span>
|
|
<input class="search-input datepicker" name="TradeDateFrom" type="text" autocomplete="off">
|
|
<span>-</span>
|
|
<input class="search-input datepicker" name="TradeDateTo" type="text" autocomplete="off">
|
|
</div>
|
|
<div class="search-group">
|
|
<span class="search-label">买卖方向</span>
|
|
<select name="TradeSide">
|
|
<option value="">全部</option>
|
|
<option value="多头开仓">多头开仓</option>
|
|
<option value="多头平仓">多头平仓</option>
|
|
<option value="空头开仓">空头开仓</option>
|
|
<option value="空头平仓">空头平仓</option>
|
|
</select>
|
|
</div>
|
|
</form>
|
|
|
|
<div class="searchdiv" style="background-color:white !important; border:0 !important; ">
|
|
<div class="row">
|
|
<div class="col">
|
|
@if (CurUser.交易管理_交易新增)
|
|
{
|
|
@MyControls.Btn("新增", "startAddtrade()")
|
|
}
|
|
 
|
|
@MyControls.SearchBtn()
|
|
@if (CurUser.交易管理_交易导入)
|
|
{
|
|
@MyControls.Btn("导入", "uploadTrade()")
|
|
}
|
|
@if (CurUser.交易管理_交易导出)
|
|
{
|
|
@MyControls.Btn("导出", "exportTradeChoose()")
|
|
}
|
|
 
|
|
<div style="width: 30px; display: inline;" onclick="showcolumnChooser();return false;">
|
|
<img src="~/Images/configure.png" />
|
|
</div>
|
|
</div>
|
|
@if (ViewBag.sourceType != 1)
|
|
{
|
|
<div class="col-auto">
|
|
@MyControls.Btn("批量调整", "batchTradeAdjustView()")
|
|
</div>
|
|
}
|
|
</div>
|
|
</div>
|
|
<div class="tabbable">
|
|
<ul id="myTab" class="nav-main">
|
|
@if (ViewBag.sourceType == 1)
|
|
{
|
|
<li>
|
|
<a href="/trade/tradeList?tabIndex=@((int)TradeTabIndexEnum.场外成交记录)">场外成交记录</a>
|
|
</li>
|
|
<li>
|
|
<a href="/trade/tradeList?tabIndex=@((int)TradeTabIndexEnum.场外了结记录)">场外了结记录</a>
|
|
</li>
|
|
}
|
|
else
|
|
{
|
|
<li>
|
|
<a href="/exchangetrade/positionList">持仓记录</a>
|
|
</li>
|
|
<li>
|
|
<a href="/exchangetrade/tradeList?IsFirstTime=false">标的成交记录</a>
|
|
</li>
|
|
}
|
|
<li class="active">
|
|
<a href="/trade/tradeList?tabIndex=@((int)TradeTabIndexEnum.场内成交记录)&sourceType=@ViewBag.sourceType">场内成交记录</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
@Html.Raw(JqGridSimple.OutTable())
|