Confirm.cshtml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. @using Bowin.Web.Controls.Mvc;
  2. @using EMIS.Entities;
  3. @using EMIS.Web.Controls;
  4. @{
  5. ViewBag.Title = "List";
  6. }
  7. @section scripts{
  8. <script type="text/javascript">
  9. var EMIS_CampusLabel = '@EMIS.Utility.RSL.Get("Campus")';
  10. function Confirm_Save() {
  11. var d = $('#Distributer').val();
  12. if (d == "") {
  13. $.messager.alert("系统信息", "请输入领取人。");
  14. return;
  15. }
  16. var windowID = $.SystemGeneral.getUrlParam("WindowID"); ;
  17. top.$('#' + windowID).data("resultData", d);
  18. top.$('#' + windowID).window('close');
  19. }
  20. </script>
  21. }
  22. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  23. @using (Ajax.BeginForm(new AjaxOptions
  24. {
  25. }))
  26. {
  27. <div class="p_title">
  28. <div style="margin-right: 10px; line-height: 30px; font-size: 12px; float:right">
  29. <a class="easyui-linkbutton l-btn l-btn-plain" href="javascript:Confirm_Save()"
  30. data-options="iconCls:'icon-save',plain:'true'">保存</a>
  31. </div>
  32. </div>
  33. <div class="search_list">
  34. <table cellpadding="0" cellspacing="0" id="BatchInitPassword">
  35. <tr>
  36. <td style="width:90px; text-align:right">
  37. 领取人:
  38. </td>
  39. <td>@Html.TextBox(new TextBoxOptions() { ID = "Distributer", Name = "Distributer", })
  40. </td>
  41. </tr>
  42. </table>
  43. </div>
  44. }
  45. </div>