@model trade_swap_flow @{ ViewBag.Title = "互换交易流水 | 编辑"; Layout = "~/Views/Shared/_InfoLayout.cshtml"; } @section CSS{ } @section JS { } @using (Html.BeginForm("tradeFlowEdit", "trade_swap_flow", FormMethod.Post, new { id = "tradeFlowEditForm" })) {
@Html.HiddenFor(model => model.EncryptId) @Html.HiddenFor(model => model.Number) @Html.MyTextFor(model => model.TradeNumber) @Html.MyDropdownFor1(model => model.AssetUnitName, AssetunitController.GetAllassetunitname(), appendBlank: true) @Html.MyTextFor(model => model.ClientNumber) @Html.MyTextFor(model => model.ClientShortName) @Html.MyTextFor(model => model.UnderlyingCode, true) @Html.MyTextFor(model => model.BuySell, true) @Html.MyDateFor(model => model.TradeDate, true) @Html.MyDateFor(model => model.StartDate, true) @Html.MyDateFor(model => model.ExerciseDate) @Html.MyDateFor(model => model.SettlementDate) @Html.MyDecimalFor(model => model.Lots, true) @Html.MyDecimalFor(model => model.SpotPrice, true) @Html.MyDecimalFor(model => model.SingleFee)
%
@Html.MyDropdownFor1(model => model.ClearingAgency, new List() { new SelectListItem() { Text = "甲方", Value = "甲方"}, new SelectListItem() { Text = "乙方", Value = "乙方"}, new SelectListItem() { Text = "报价系统", Value = "报价系统"}, new SelectListItem() { Text = "中债登", Value = "中债登"}, new SelectListItem() { Text = "上清所", Value = "上清所"}, new SelectListItem() { Text = "其他", Value = "其他"}, }) @Html.MyDropdownFor1(model => model.IsTradePriceWhenOpen, GlobalData.GetBoolList(), appendBlank: false) @Html.MyDropdownFor1(model => model.NeedCostFee, GlobalData.GetBoolList(), appendBlank: false) @Html.MyDropdownFor1(model => model.IsNight, GlobalData.GetBoolList(), appendBlank: false) @Html.MyTextFor(model => model.Comments)
@MyControls.Btn("保存", "saveTradeFlow()") @MyControls.Btn("关闭", "closeTradeFlowEditWindow()")
}