transfer.jsp 4.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <!doctype html>
  3. <html>
  4. <head>
  5. <meta charset="utf-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <%@ include file="../../common/head.jsp"%>
  8. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  9. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  10. <link href="../res/css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet" />
  11. <script src="../res/js/plugins/bootstrap-table/bootstrap-table.js"></script>
  12. <script src="../res/js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
  13. <script src="../res/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
  14. <cs:initFile/>
  15. <script>
  16. var index=0;
  17. function transferOder(id){
  18. $.openDlg({
  19. url:'transferOder.cs?id=' + id,
  20. title:'指派销售员',
  21. width:'60%',
  22. height:'95%'
  23. });
  24. }
  25. </script>
  26. </head>
  27. <body>
  28. <div class="wrapper wrapper-content">
  29. <div class="row">
  30. <div class="col-sm-12">
  31. <cs:form_validate formId="editUserForm"/>
  32. <form class="form-horizontal" action="transferAction.cs" id="editUserForm" method="POST">
  33. <input type="hidden" value="${mgmOrder.id }" name="orderId" id="orderId">
  34. <div class="form-group">
  35. <label class="col-sm-3 control-label">转单类型:</label>
  36. <div class="col-sm-6">
  37. <select class="form-control m-b" validate="{required:true}" validateMessage="{required:'请选择转单类型'}" name="type" id="type">
  38. <option value="" selected>请选择转单类型</option>
  39. <option value="离职">离职</option>
  40. <option value="换人">换人</option>
  41. </select>
  42. </div>
  43. </div>
  44. <div class="form-group">
  45. <label class="col-sm-3 control-label">原销售人员:</label>
  46. <div class="col-sm-6">
  47. <input id="fromUsename" name="fromUsename" class="form-control" validate="{required:false}" value="${mgmSalerUser.name }" validateMessage="{required:'请输入名称'}" >
  48. <input type="hidden" value="${mgmSalerUser.id }" name="fromUserid" id="fromUserid">
  49. </div>
  50. </div>
  51. <div class="form-group">
  52. <label class="col-sm-3 control-label">现销售人员:</label>
  53. <div class="col-sm-6">
  54. <input id="toUsername" name="toUsername" class="form-control" validate="{required:true}" readonly value="" validateMessage="{required:'请输入现销售人员'}" onclick="transferOder('${mgmOrder.id }')">
  55. <input type="hidden" value="" name="toUserid" id="toUserid">
  56. </div>
  57. </div>
  58. <div class="form-group">
  59. <label class="col-sm-3 control-label">转单原因 :</label>
  60. <div class="col-sm-6">
  61. <textarea id="reason" name="reason" validate="{required:true}" validateMessage="{required:'请输入转单原因'}" class="form-control" style="height: 310px;"></textarea>
  62. </div>
  63. </div>
  64. <div class="form-group">
  65. <div class="col-sm-4 col-sm-offset-3 pull-left">
  66. <button class="btn btn-default btn-dlg-close">取消</button>
  67. <button class="btn btn-primary" type="submit">提交</button>
  68. </div>
  69. </div>
  70. </form>
  71. </div>
  72. </div>
  73. </div>
  74. </body>
  75. </html>