53 lines
2.4 KiB
Plaintext
53 lines
2.4 KiB
Plaintext
@model ServiceRepresentativeConfig
|
|
@{
|
|
ViewBag.Title = "服务商配置|查看";
|
|
Layout = "~/Views/Shared/_InfoLayout.cshtml";
|
|
}
|
|
@section JS{
|
|
<script type="text/javascript">
|
|
function deleteservicerepresentativeconfig(id) {
|
|
if (confirm("确定删除吗?")) {
|
|
$.ajax({
|
|
type: "Post",
|
|
url: "/servicerepresentativeconfig/Deleteservicerepresentativeconfig",
|
|
data: { id: id, d: new Date() },
|
|
success: function (data) {
|
|
alert(data.msg);
|
|
if (data.success == true) {
|
|
window.parent.location = window.parent.location;
|
|
window.close();
|
|
}
|
|
},
|
|
error: function (msg) {
|
|
alert("error:" + msg);
|
|
}
|
|
});
|
|
}
|
|
}
|
|
</script>
|
|
}
|
|
|
|
<div class="toolbarDiv">
|
|
@MyControls.Btn("修改", "window.location.href=('/servicerepresentativeconfig/servicerepresentativeconfigEdit/?enid=" + Model.EncryptId + "');")
|
|
@MyControls.Btn("关闭", "layer.closeMe();")
|
|
</div> @Html.HiddenFor(model => model.id)
|
|
|
|
<div class="ui-corner-all">
|
|
<table class="table table-bordered">
|
|
<tr>
|
|
@Html.MyDisplayFor(m => m.ServiceName)
|
|
</tr>
|
|
<tr>@Html.MyDisplayFor(m => m.Alias)</tr>
|
|
<tr><td class="tdRight">加成费率</td><td>@(Model.PremiumRateVariation * 10000)(万分之)</td></tr>
|
|
<tr>@Html.MyDisplayFor(m => m.DefaultTradeInstruction)</tr>
|
|
<tr>@Html.MyDisplayFor(m => m.StockBuyContractVersion)</tr>
|
|
<tr>@Html.MyDisplayFor(m => m.StockSellContractVersion)</tr>
|
|
<tr>@Html.MyDisplayFor(m => m.FutureBuyContractVersion)</tr>
|
|
<tr>@Html.MyDisplayFor(m => m.FutureSellContractVersion)</tr>
|
|
<tr>@Html.MyDisplayFor(m => m.SellerRightDeliveryDayType, servicerepresentativeconfigController.GetSellerRightDeliveryDayTypeByID(Model.SellerRightDeliveryDayType))</tr>
|
|
<tr>@Html.MyDisplayFor(m => m.ContractNoLength)</tr>
|
|
<tr>@Html.MyDisplayFor(m => m.ContractSubNoStyle)</tr>
|
|
<tr>@Html.MyDisplayFor(m => m.ExerciseRule, servicerepresentativeconfigController.GetExerciseRuleName(Model.ExerciseRule))</tr>
|
|
<tr>@Html.MyDisplayFor(m => m.ValidState, ConsGlobal.GetValidDesc(Model.ValidState))</tr>
|
|
</table>
|
|
</div> |