ChangeActualAmount.cshtml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. @model EMIS.ViewModel.ChargeManage.ChargeSituation.StudentChargeView
  2. @using EMIS.Web.Controls;
  3. @using Bowin.Web.Controls.Mvc;
  4. @{
  5. ViewBag.Title = "ChangeActualAmount";
  6. }
  7. @section scripts{
  8. <script src="~/Scripts/Business/ChargeManage/ChargeSituation/StudentChargeEdit.js" type="text/javascript"></script>
  9. <script type="text/javascript">
  10. $(document).ready(function () {
  11. var JsonDate = top.$("#@(Request["WindowID"])").data("inputData");
  12. $("#hid_JsonStr").val(JsonDate);//将json字符串赋值给隐藏域
  13. });
  14. </script>
  15. }
  16. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  17. @using (Ajax.BeginForm(new AjaxOptions
  18. {
  19. Url = "/StudentCharge/ChangeActualAmount",
  20. OnSuccess = "EMISFunction.FormSuccess",
  21. OnBegin = "EMISFunction.FormSubmit",
  22. OnComplete = "EMISFunction.FormComplete"
  23. }))
  24. {
  25. <div class="p_title">
  26. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  27. </div>
  28. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("PayEdit")</div>
  29. </div>
  30. <div class="search_list">
  31. @Html.Hidden("hid_JsonStr")
  32. <table cellpadding="0" cellspacing="0">
  33. <tr>
  34. <td>
  35. @Html.LabelFor(x => x.ActualAmount):
  36. </td>
  37. <td>
  38. @Html.TextBoxFor(x => x.ActualAmount)
  39. </td>
  40. </tr>
  41. <tr>
  42. <td>
  43. @Html.LabelFor(x => x.ChargeTag):
  44. </td>
  45. <td>
  46. @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.EC_ChargeTag, (x => x.ChargeTag))
  47. </td>
  48. </tr>
  49. <tr>
  50. <td>
  51. @Html.LabelFor(x => x.Remark):
  52. </td>
  53. <td>
  54. @Html.TextAreaFor(x => x.Remark, new Dictionary<string, object> { { "style", "width: 90%;min-height: 60px" } })
  55. </td>
  56. </tr>
  57. </table>
  58. </div>
  59. }
  60. </div>