106 lines
4.1 KiB
Plaintext
106 lines
4.1 KiB
Plaintext
@{
|
|
ViewBag.Title = "互换预付金监控";
|
|
Layout = "~/Views/Shared/_MainLayout.cshtml";
|
|
var pageObj = new
|
|
{
|
|
canEdit = CurUser.基础参数管理.互换预付金率修改,
|
|
configcolumn_name = configcolumn_data.互换预付金监控,
|
|
};
|
|
}
|
|
|
|
@section CSS{
|
|
<style>
|
|
.waring-line {
|
|
background-color: #facd91 !important;
|
|
}
|
|
|
|
.close-position-line {
|
|
background-color: #ef949f !important;
|
|
}
|
|
|
|
.credit-coverage {
|
|
background-color: #81d3f8 !important;
|
|
}
|
|
</style>
|
|
}
|
|
@section JS{
|
|
<script src="~/Statics/libs/v1/jqGridExtensions.js?v=@(HtmlUtil.JsVersion)"></script>
|
|
<script src="~/Scripts/app/tradeHelper.js?v=@HtmlUtil.JsVersion"></script>
|
|
<script>
|
|
var page = @Json.Serialize(pageObj);
|
|
$(function () {
|
|
let underlyingCtrl = new tradeHelper.UnderlyingSelectCtrl('#UnderlyingId').setFlag(tradeHelper.UnderlyingSelectFlag.OtcTrade);
|
|
});
|
|
</script>
|
|
<script src="~/Scripts/app/marginRate/marginRateSwapMonitor.js"></script>
|
|
<script type="text/javascript">
|
|
</script>
|
|
}
|
|
<div class="searchdiv">
|
|
<div class="first-wrap-gtja">
|
|
@Html.MyAceDropdownInput("WarnningType", "提醒类型", TradeSwapMarginMonitorModel.GetWarnningTypes())
|
|
@Html.MyAceDropdownInput("ClientId", "客户名称", ClientDataModel.GetAllClient(), true, true, null, false)
|
|
@Html.MyAceDropdownInput("VarietyId", "品种名", varietyController.GetAllvarietyCode(), true, true, null, false)
|
|
@Html.SearchDateRange("TradeDate", "交易日期")
|
|
@Html.MyAceDropdownInput("AssetId", "簿记账户", AssetunitController.GetClientassetunit())
|
|
<div class="search-group">
|
|
<span class="search-label">标的代码</span>
|
|
<select class="" data-placeholder="请选择 标的代码" id="UnderlyingId" name="UnderlyingId" multiple></select>
|
|
</div>
|
|
@Html.MyAceDropdownInput("SwapType", "互换类型", ClientDataModel.GetSwapTypes(),true,true,null,false)
|
|
@Html.ShortInput("TradeNumber", "交易编号")
|
|
</div>
|
|
</div>
|
|
<div class="searchdiv">
|
|
@MyControls.SearchBtn()
|
|
@MyControls.Btn("预警显示设置", "OpenSetMonitor()")
|
|
@MyControls.Btn("导出", "execExport()")
|
|
<div title="配置显示列" style="width:30px;display:inline;cursor:pointer;" onclick="showcolumnChooser();return false;">
|
|
<img alt="配置显示列" src="~/Images/configure.png" />
|
|
</div>
|
|
</div>
|
|
|
|
@Html.Raw(JqGridSimple.OutTable())
|
|
|
|
@* 导出面板 *@
|
|
<template id="detailDiv">
|
|
<table id='listGrid_1' class='scroll' cellpadding='0' cellspacing='0'></table>
|
|
<div id='pagerGrid_1'></div>
|
|
</template>
|
|
|
|
@* 预警显示设置 *@
|
|
<template id="setMonitor">
|
|
<table class="table table-form mt-4">
|
|
<colgroup>
|
|
<col span="1" width="130" />
|
|
</colgroup>
|
|
<tbody>
|
|
<tr>
|
|
<th>预警线颜色提示</th>
|
|
<td>
|
|
<select class="" data-placeholder="请选择 标的代码" id="OpenWaringLineMonitor" name="OpenWaringLineMonitor">
|
|
<option value="true">开启</option>
|
|
<option value="false">关闭</option>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>平仓线颜色提示</th>
|
|
<td>
|
|
<select class="" data-placeholder="请选择 标的代码" id="OpenCloseLineMonitor" name="OpenCloseLineMonitor">
|
|
<option value="true">开启</option>
|
|
<option value="false">关闭</option>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<div style="margin:6px 6px 6px 20px; ">
|
|
<b>说明:</b><span style=" background-color: lightgray;margin-left:5px;">可配置预警线和平仓线是否需要颜色提示!</span>
|
|
</div>
|
|
<div style="padding-left:100px">
|
|
<button type="button" class="btn btn-primary" onclick="setMonitor()">确定</button>
|
|
<button type="button" class="btn btn-primary" onclick="layer.closeAll()">取消</button>
|
|
</div>
|
|
</template>
|