43 lines
1.8 KiB
Plaintext
43 lines
1.8 KiB
Plaintext
@{
|
|
ViewBag.Title = "情景分析";
|
|
Layout = "~/Views/Shared/_MainLayout.cshtml";
|
|
var pageObj = new
|
|
{
|
|
valueDate = valuedateBLL.ValueDate.ToString("yyyy-MM-dd"),
|
|
IsUseDisplayNotional = PS.Config.IsUseDisplayNotional
|
|
};
|
|
}
|
|
@section CSS{
|
|
<style>
|
|
.ui-jqgrid tr.jqgrow td { height: 25px !important; }
|
|
</style>
|
|
}
|
|
@section JS{
|
|
<script>
|
|
const page = @Json.Serialize(pageObj);
|
|
</script>
|
|
<script src="~/Scripts/app/tradeHelper.js?v=@HtmlUtil.JsVersion"></script>
|
|
<script src="~/Scripts/app/scenario/tradeScenario.js?v=@HtmlUtil.JsVersion"></script>
|
|
}
|
|
|
|
<div class="searchdiv">
|
|
@Html.MyAceDropdownInput("ClientIds", "客户名称", ClientDataModel.GetAllOpenClient())
|
|
@Html.MyAceDropdownInput("AssetIds", "簿记账户", AssetunitController.GetClientassetunit())
|
|
@Html.MyAceDropdownInput("AssetGroupIds", "簿记账户组", AssetUnitModel.GetAllAssetUnitGroupItem())
|
|
<div class="search-group">
|
|
<span class="search-label">标的代码</span>
|
|
<select class="" data-placeholder="请选择 标的代码" id="UnderlyingIds" name="UnderlyingIds" multiple></select>
|
|
</div>
|
|
@Html.MyAceDropdownInput("VarietyIds", "标的品种", GetRolevariety())
|
|
@Html.MyAceDropdownInput("TradeTypes", "交易类型", GlobalData.GetSelectItems(new List<string>() { "场外期权", "场内期权", "商品期货", "商品现货", "股票" }))
|
|
@Html.ShortInput("PositionDate", "查看日期:")
|
|
@MyControls.SearchBtn()
|
|
<label class="mx-3"><input type="checkbox" name="CheckboxAll" value="是" id="CheckboxAll">选中所有</label>
|
|
@MyControls.Btn("开始计算", "scenarioCalc()")
|
|
@if (CurUser.交易管理_情景配置)
|
|
{
|
|
@MyControls.Btn("情景分析配置", "openConfig()")
|
|
}
|
|
</div>
|
|
|
|
@Html.Raw(JqGridSimple.OutTable()) |