57 lines
2.1 KiB
Plaintext
57 lines
2.1 KiB
Plaintext
@model BondPayment
|
|
@{
|
|
ViewBag.Title = "债券期间付息 | 编辑";
|
|
Layout = "~/Views/Shared/_InfoLayout.cshtml";
|
|
}
|
|
@section JS
|
|
{
|
|
<script type="text/javascript">
|
|
$(function () {
|
|
$(".datepicker").datepicker({ changeMonth: true, changeYear: true, showButtonPanel: true, showOtherMonths: true, selectOtherMonths: true });
|
|
$(".form-group").addClass("col-md-6");
|
|
});
|
|
|
|
function checkSubmitData() {
|
|
var pass = $('#form1').valid();
|
|
return pass;
|
|
}
|
|
|
|
function saveeod_bond_price() {
|
|
if (!checkSubmitData()) return false;
|
|
var data = $("#form1").serialize();
|
|
main.post("/BondPayment/BondPaymentEditJson", data).done(function (res) {
|
|
window.location.href = "/BondPayment/BondPaymentView?enid=" + res.obj.EncryptId;
|
|
main.parentReloadData();
|
|
});
|
|
}
|
|
|
|
</script>
|
|
}
|
|
<form class="yc-panel" id="form1" method="post" onsubmit="return false;">
|
|
|
|
@Html.HiddenFor(model => model.id)
|
|
@Html.HiddenFor(model => model.jsid)
|
|
@Html.HiddenFor(model => model.coupon_rate)
|
|
@Html.HiddenFor(model => model.payment_parvalue)
|
|
@Html.HiddenFor(model => model.paying_price)
|
|
@Html.HiddenFor(model => model.channel_source)
|
|
<h4>债券期间付息修改</h4>
|
|
|
|
<div style="margin-top:20px;">
|
|
<div class='form-group col-md-6'>
|
|
<label class='formlabel'>债券名称</label>
|
|
<input class='text-box' type='text' value='@(Model.symbol)' readonly=readonly />
|
|
</div>
|
|
<div class='form-group col-md-6'>
|
|
<label class='formlabel'>债券代码</label>
|
|
<input class='text-box' type='text' value='@(Model.security_id)' readonly=readonly />
|
|
</div>
|
|
@Html.MyDateFor(model => model.payment_date)
|
|
@Html.MyTextFor(model => model.payment_interest)
|
|
</div>
|
|
<div style="padding:10px;padding-left:130px;">
|
|
<button class="btn btn-primary" type="button" onclick="saveeod_bond_price();">保存</button>
|
|
<button class="btn btn-primary" type="button" onclick="layer.closeMe();">关闭</button>
|
|
|
|
</div>
|
|
</form> |