@model trade_swap_flow_more @{ ViewBag.Title = "互换交易流水 | 编辑"; Layout = "~/Views/Shared/_InfoLayout.cshtml"; } @section CSS{ } @section JS { }
@Html.HiddenFor(model => model.EncryptId) @Html.MyTextFor(model => model.ClientNumber, true) @Html.MyDropdownFor1(model => model.BuySell, new List() { new SelectListItem() { Text = "开仓", Value = "开仓"}, new SelectListItem() { Text = "平仓", Value = "平仓"}, }, new { @onchange = "changeBuySell()" }, "", false) @Html.MyTextFor(model => model.TradeNumber, true) @Html.MyDateFor(model => model.TradeDate, true) @Html.MyDecimalFor(model => model.Price, true) @Html.MyDecimalFor(model => model.AnnualRate, false) @Html.MyDecimalFor(model => model.MargeRate, true) @Html.MyDateFor(model => model.UnwindDate) @Html.MyDecimalFor(model => model.UnwindPrice)
@Html.MyDropdownFor1(model => model.TraderId, GlobalData.GetAllTrader(), appendBlank: false) @Html.MyDropdownFor1(model => model.AssetBookName, AssetunitController.GetAllassetunitname(), appendBlank: false) @Html.MyTextFor(model => model.UnderlyingCode, true) @Html.MyDateFor(model => model.ExerciseDate, true) @Html.MyDecimalFor(model => model.Notional, true) @Html.MyDecimalFor(model => model.CurrencyRate, false) @Html.MyDecimalFor(model => model.TotalFee) @Html.MyDecimalFor(model => model.UnwindNotional) @Html.MyDecimalFor(model => model.Amount)
@MyControls.Btn("保存", "saveTradeFlow()") @MyControls.Btn("关闭", "closeTradeFlowEditWindow()")