Edit.cshtml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. @model EMIS.ViewModel.MinorManage.MinorSetting.MinorConditionView
  2. @using Bowin.Web.Controls.Mvc;
  3. @using EMIS.Web.Controls;
  4. @{
  5. ViewBag.Title = "Edit";
  6. }
  7. @section scripts{
  8. <script src="~/Scripts/Business/MinorManage/MinorSetting/MinorConditionEdit.js"
  9. type="text/javascript"></script>
  10. <script type="text/javascript">
  11. </script>
  12. }
  13. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  14. @using (Ajax.BeginForm(new AjaxOptions
  15. {
  16. OnSuccess = "EMISFunction.FormSuccess",
  17. OnBegin = "EMISFunction.FormSubmit",
  18. OnComplete = "EMISFunction.FormComplete"
  19. }))
  20. {
  21. <div class="p_title">
  22. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  23. </div>
  24. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("Edit")</div>
  25. </div>
  26. <div class="search_list" style=" min-width:0px">
  27. @Html.HiddenFor(x => x.MinorConditionID)
  28. <table cellpadding="0" cellspacing="0" id="minorConditiontable">
  29. <tr>
  30. <td>
  31. @Html.LabelFor(x => x.Title):
  32. </td>
  33. <td colspan="3">
  34. @Html.TextBoxFor(x => x.Title, new TextBoxOptions()
  35. {
  36. IsRequired = true
  37. },
  38. new Dictionary<string, string> { { "style", "width:75%;" } })
  39. </td>
  40. </tr>
  41. <tr>
  42. <td>
  43. @Html.LabelFor(x => x.RecordStatus):
  44. </td>
  45. <td colspan="3">
  46. @Html.CheckBoxFor(x => x.IsEnable)
  47. </td>
  48. </tr>
  49. </table>
  50. </div>
  51. }
  52. </div>