78 lines
2.9 KiB
Plaintext
78 lines
2.9 KiB
Plaintext
@{
|
|
ViewBag.Title = "交易审批";
|
|
Layout = "~/Views/Shared/_MainLayout.cshtml";
|
|
|
|
var list = CurUser.Roles.Select(s => s.Id).ToList();
|
|
var pageObj = new
|
|
{
|
|
rolesStr = string.Join(",", list),
|
|
CloseReApprove = valuedateBLL.SystemDate.CloseReApprove == 1,
|
|
hasRight1 = CurUser.交易管理_平仓审核,
|
|
hasRight2 = CurUser.交易管理_行权审核,
|
|
hasHistory = CurUser.交易管理_交易操作历史,
|
|
IsTradeCheckInfo = PS.Config.TradeElement.IsTradeCheckInfo
|
|
};
|
|
}
|
|
@section CSS{
|
|
<style>
|
|
.tooltip-inner {
|
|
max-width: none !important;
|
|
}
|
|
|
|
.ui-jqgrid tr.jqgrow td {
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
#listGrid tr [aria-describedby="listGrid_Comments"] {
|
|
overflow: hidden !important;
|
|
text-overflow: ellipsis !important;
|
|
white-space: nowrap !important;
|
|
}
|
|
|
|
.trade-wrap {
|
|
margin-left: 68px;
|
|
}
|
|
|
|
.time-wrap {
|
|
margin-left: 205px;
|
|
}
|
|
</style>
|
|
}
|
|
|
|
@section JS{
|
|
<script type="text/javascript">
|
|
const page = @Json.Serialize(pageObj);
|
|
</script>
|
|
<script src="~/Scripts/app/tradeHelper.js?v=@HtmlUtil.JsVersion"></script>
|
|
<script src="~/Scripts/app/trade/tradeApproval.js?v=@HtmlUtil.JsVersion"></script>
|
|
}
|
|
|
|
<div class="searchdiv">
|
|
@Html.ShortInput("TradeNumber", "交易编号")
|
|
@Html.MyAceDropdownInput("ClientId", "客户名称", ClientDataModel.GetAllOpenClient())
|
|
@Html.MyAceDropdownInput("AssetId", "簿记账户", AssetunitController.GetClientassetunit())
|
|
@Html.MyAceDropdownInput("GroupId", "簿记账户组", AssetUnitModel.GetAllAssetUnitGroupItem())
|
|
@Html.MyAceDropdownInput("TraderName", "交易员", GlobalData.GetAllTrader())
|
|
@Html.MyAceDropdownInput("TradeTypes", "结构类型", GlobalData.GetTradeTypes(ConsTrade.AllTradeTypes, true))
|
|
<div class="search-group">
|
|
<span class="search-label">标的代码</span>
|
|
<select class="" data-placeholder="请选择 标的代码" id="UnderlyingId" name="UnderlyingId" multiple></select>
|
|
</div>
|
|
@Html.MyAceDropdownInput("GroupName", "按组查询", trade_groupController.GetAlltrade_group())
|
|
<br />
|
|
<div style="height:10px"></div>
|
|
@Html.MyAceDropdownInput2("ExerciseMode", "行权方式", ConsTrade.ExerciseType.GetSelectItems())
|
|
@Html.SearchDateRange("MaturityDate", "到期日")
|
|
@Html.SearchDateRange("TradeDate", "交易日期")
|
|
|
|
@Html.SearchDateRange("StartDate", "开始日期")
|
|
<br />
|
|
<div style="height:10px"></div>
|
|
@Html.MyAceDropdownInput2("BuySell", "交易方向", GlobalData.GetSelectItems(new List<string> { "买入", "卖出" }))
|
|
@Html.MyAceDropdownInput("OptIds", "操作者", GlobalData.GetAllUser())
|
|
@Html.SearchDateRange("OptDate", "操作时间")
|
|
<div style="text-align: left;margin-left: 20px;margin-top:20px">
|
|
@MyControls.SearchBtn()
|
|
</div>
|
|
</div>
|
|
@Html.Raw(JqGridSimple.OutTable()) |