Edit.cshtml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. @model EMIS.ViewModel.ChargeManage.ChargeSituation.ChargeProjectView
  2. @using EMIS.Web.Controls;
  3. @using Bowin.Web.Controls.Mvc;
  4. @{
  5. ViewBag.Title = "Edit";
  6. }
  7. @section scripts{
  8. <script src="~/Scripts/Business/ChargeManage/ChargeSituation/ChargeProjectEdit.js" type="text/javascript"></script>
  9. }
  10. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  11. @using (Ajax.BeginForm(new AjaxOptions
  12. {
  13. OnSuccess = "EMISFunction.FormSuccess",
  14. OnBegin = "EMISFunction.FormSubmit",
  15. OnComplete = "EMISFunction.FormComplete"
  16. }))
  17. {
  18. <div class="p_title">
  19. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;"></div>
  20. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("Edit")</div>
  21. </div>
  22. <div class="search_list">
  23. @Html.HiddenFor(x => x.ChargeProjectID)
  24. <table >
  25. <tr>
  26. <td>
  27. @Html.LabelFor(x => x.ChrageProjectName):
  28. </td>
  29. <td>
  30. @Html.TextBoxFor(x => x.ChrageProjectName, new Dictionary<string, object> { { "style", "width:150px;" } })
  31. </td>
  32. </tr>
  33. <tr>
  34. <td>
  35. @Html.LabelFor(x => x.Remark):
  36. </td>
  37. <td>
  38. @Html.TextAreaFor(x => x.Remark, new Dictionary<string, object> { { "style", "width:280px;" } })
  39. </td>
  40. </tr>
  41. </table>
  42. </div>
  43. }
  44. </div>