95 lines
4.2 KiB
Plaintext
95 lines
4.2 KiB
Plaintext
@{
|
|
ViewBag.Title = "除权除息交易";
|
|
ViewBag.Menu = "数据管理-除权除息交易";
|
|
|
|
Layout = "~/Views/Shared/_MainLayout.cshtml";
|
|
var valueDate = ViewBag.valueDate;
|
|
}
|
|
<style>
|
|
.formlabel { width: 150px; }
|
|
|
|
.ratioSetting { float: right; margin: 0 5px; }
|
|
</style>
|
|
<script type="text/javascript">
|
|
var sysdate = '@valueDate';
|
|
$(function () {
|
|
init();
|
|
});
|
|
</script>
|
|
<script src="~/Scripts/app/tradeHelper.js?v=@HtmlUtil.JsVersion"></script>
|
|
<script src="~/Scripts/app/trade/dividendTradeList.js?v=@HtmlUtil.JsVersion"></script>
|
|
|
|
<div class="searchdiv">
|
|
<div class="first-wrap-gtja client">
|
|
@Html.ShortInput("TradeNumber", "交易编号")
|
|
@Html.MyAceDropdownInput("ClientId", "交易对手方", ClientDataModel.GetAllClient())
|
|
@Html.MyAceDropdownInput("TraderName", "交易员", GlobalData.GetAllTrader())
|
|
@Html.SearchDateRange("TradeDate", "成交日期")
|
|
@Html.SearchDateRange("ExerciseDate", "到期日期")
|
|
@Html.MyAceDropdownInput("AssetId", "簿记账户", AssetunitController.GetClientassetunit())
|
|
@Html.MyAceDropdownInput("GroupId", "簿记账户组", AssetUnitModel.GetAllAssetUnitGroupItem())
|
|
@{ var types = ConsTrade.OptionTradeTypes.Concat(new[] { /*"结构化交易",*/ "收益互换" }).ToList();}
|
|
@Html.MyAceDropdownInput("TradeTypes", "结构类型", GlobalData.GetTradeTypes(types, true))
|
|
<div class="search-group">
|
|
<span class="search-label">标的代码</span>
|
|
<select class="" data-placeholder="请选择 标的代码" id="UnderlyingId" name="UnderlyingId" multiple></select>
|
|
</div>
|
|
@Html.MyAceDropdownInput("DividendStatus", "除权除息状态", GlobalData.GetSelectItems(new Dictionary<string, string> { { "已除权", "true" }, { "未除权", "false" } }))
|
|
</div>
|
|
</div>
|
|
<div class="searchdiv">
|
|
<div>
|
|
@MyControls.SearchBtn()
|
|
@*@MyControls.Btn("设置除权除息系数", "setDividendRatio()")*@
|
|
@MyControls.Btn("导出", "exportTradeChoose()")
|
|
|
|
<div style="float: right;">
|
|
@Html.SearchDate("ValueDate", "股权登记日")
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
@Html.Raw(JqGridSimple.OutTable())
|
|
|
|
<div id="dividendRatioPanel" style="display:none;padding: 10px;">
|
|
<div class="yc-panel">
|
|
<div class="form-group">
|
|
<label class="formlabel">股权登记日收盘价:</label>
|
|
<input class="text-box" type="text" name="calcRatio" id="closePrice" />
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="formlabel">税率:</label>
|
|
<input class="text-box" type="text" name="calcRatio" id="dividRate" />
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="formlabel">分红(每10股):</label>
|
|
<input class="text-box" type="text" name="calcRatio" id="giveCash" />
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="formlabel">送股数(每10股):</label>
|
|
<input class="text-box" type="text" name="calcRatio" id="giveShare" />
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="formlabel">配股数(每10股):</label>
|
|
<input class="text-box" type="text" name="calcRatio" id="rationedSharesAmount" />
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="formlabel">配股价(每1股):</label>
|
|
<input class="text-box" type="text" name="calcRatio" id="rationedSharesPrice" />
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="formlabel">除权除息系数:</label>
|
|
<input class="text-box" type="text" id="dividendRatio" />
|
|
</div>
|
|
<span style="color: red;">注:1.该页面仅除权除息系数会被保存进系统,其他字段仅做为调整系数的辅助字段;</span>
|
|
<br />
|
|
<span style="color: red;">2.除权除息系数=登记日收盘价/((登记日收盘价*10-(分红*(1-税率))+配股数*配股价)/(10+送股数+配股数));</span>
|
|
</div>
|
|
</div>
|
|
<div id="exportPanel" style="display:none;padding: 10px;" class="yc-panel searchdiv">
|
|
@Html.SearchDateRange("DividendDate", "股权登记日")
|
|
</div>
|
|
<form target="_blank" method="post" id="exportForm" action="">
|
|
<input type="hidden" name="" value="" />
|
|
</form>
|