109 lines
4.5 KiB
Plaintext
109 lines
4.5 KiB
Plaintext
@{
|
|
ViewBag.Title = "风险预警/禁止查询 | 规则设置";
|
|
Layout = "~/Views/Shared/_InfoLayout.cshtml";
|
|
var pageObj = new
|
|
{
|
|
clients = JsDataModel.GetClients(),
|
|
assetUnits = JsDataModel.GetAllAssetUnits()
|
|
};
|
|
}
|
|
@section JS{
|
|
<script>
|
|
const pageData = @Json.Serialize(pageObj);
|
|
</script>
|
|
<script src="~/Scripts/app/risk/quotaSetting.js?v=@HtmlUtil.JsVersion"></script>
|
|
<script src="~/Scripts/app/tradeHelper.js?v=@HtmlUtil.JsVersion"></script>
|
|
}
|
|
@section CSS{
|
|
<style>
|
|
.search-group {
|
|
display: inline-block;
|
|
padding: 10px;
|
|
}
|
|
|
|
input[type=text] {
|
|
width: 100px;
|
|
}
|
|
|
|
.quotaRange {
|
|
width: 152px !important;
|
|
text-align: center;
|
|
}
|
|
|
|
.btn-primary {
|
|
margin: 15px !important;
|
|
}
|
|
|
|
.fa-question {
|
|
border: solid 1px;
|
|
width: 15px;
|
|
text-align: center;
|
|
cursor: help;
|
|
}
|
|
</style>
|
|
}
|
|
|
|
<div id="quotaSettingPanel">
|
|
<div>
|
|
@*<div>*@
|
|
<div class="search-group" style="display:none">
|
|
<span class="search-label" for="BusinessTotalScale">业务合约总规模<i class="fa fa-question" title="该指标满足公司对业务的净资本等风控指标额度授权" aria-hidden="true"></i></span>
|
|
<input class="search-input" id="BusinessTotalScale" name="BusinessTotalScale" type="text" value="" autocomplete="off">
|
|
</div>
|
|
<div class="search-group">
|
|
<span class="search-label" for="BusinessAvailableFunds">业务投入资金</span>
|
|
<input class="search-input" id="BusinessAvailableFunds" name="BusinessAvailableFunds" type="text" value="" autocomplete="off">
|
|
</div>
|
|
@*</div>*@
|
|
<div class="search-group" style="display:none">
|
|
<span class="search-label" for="SingleUnderlyingRate">单标的品种合约总规模占业务合约总规模比例上限</span>
|
|
<input class="search-input" id="SingleUnderlyingRate" name="SingleUnderlyingRate" type="text" value="" autocomplete="off">
|
|
</div>
|
|
</div>
|
|
<div style="background-color: white;">
|
|
@Html.MyAceDropdownInput2("QuotaType", "限额维度", YLErp.Enums.QuotaTypeClass.GetQuotaTypeList().Select(O => new SelectListItem() { Text = O.Text, Value = O.Value }).ToList(), false)
|
|
@*<div class="search-group">
|
|
<input class="search-input" type="checkbox" name="Precheck" value="on" checked="" id="Precheck">
|
|
<span class="search-label" for="Precheck">包含事前检查</span>
|
|
</div>*@
|
|
<div class="search-group">
|
|
<label class="search-label">客户名称</label>
|
|
<input class="quotaRange" type="text" id="QuotaRange-ClienetId" placeholder="选择客户" />
|
|
</div>
|
|
<div class="search-group">
|
|
<span class="search-label">标的代码</span>
|
|
<input class="quotaRange" data-placeholder="请选择 标的代码" id="QuotaRange-UnderlyingId" name="QuotaRange-UnderlyingId" />
|
|
</div>
|
|
<div class="search-group">
|
|
<span class="search-label">簿记名称</span>
|
|
<input class="quotaRange" data-placeholder="请选择 簿记名称" id="QuotaRange-AssetUnitId" name="QuotaRange-AssetUnitId" />
|
|
</div>
|
|
<div class="search-group">
|
|
<span class="search-label">流动性计算(天)</span>
|
|
<input class="text-box quotaRange" type="text" value="" name="QuotaRange-PercentDays" id="QuotaRange-PercentDays">
|
|
</div>
|
|
<br />
|
|
<div class="search-group"><span class="search-label">空白表示不限制</span></div>
|
|
<div id="grid-Panel" class="search-label" style="width:100%">
|
|
<table id='listGrid1' class='scroll' cellpadding='0' cellspacing='0'></table>
|
|
</div>
|
|
<div class="search-group" style="width:100%">
|
|
<span class="search-label" style="display:block">变更备注:</span>
|
|
<textarea id="remark" class="search-input" style="width:100%"></textarea>
|
|
</div>
|
|
<div style="text-align: center;">
|
|
@if (CurUser.风险控制_限额规则维护)
|
|
{
|
|
@MyControls.Btn("保存", "save()")
|
|
}
|
|
else
|
|
{
|
|
<button class="btn btn-primary " type="button" onclick="return false;" disabled>
|
|
保存
|
|
</button>
|
|
}
|
|
@MyControls.Btn("关闭", "layer.closeMe();")
|
|
</div>
|
|
</div>
|
|
</div>
|