SHyglJfglPointAdjustmentEdit.html 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <!DOCTYPE html>
  2. <html lang="zh" xmlns:th="http://www.thymeleaf.org" >
  3. <head>
  4. <th:block th:include="include :: header('积分调整表修改')" />
  5. </head>
  6. <body>
  7. <div class="ui-layout-center">
  8. <form id="form-SHyglJfglPointAdjustment-edit" class="customize-search-form">
  9. <div class="customize-form-group-container">
  10. </div>
  11. <div class="customize-form-group-container">
  12. </div>
  13. <div class="customize-form-group-container">
  14. <input type="hidden" id="id" name="id" th:value="${id}">
  15. <div class="customize-form-group">
  16. <label>申请单编号:</label>
  17. <input name="applicationNumber" placeholder="申请单编号" th:value="${applicationNumber}" class="styled-input" type="text">
  18. </div>
  19. <div class="customize-form-group">
  20. <label>调整数量:</label>
  21. <input name="adjustmentQuantity" placeholder="调整数量" th:value="${adjustmentQuantity}" class="styled-input" type="text">
  22. </div>
  23. <div class="customize-form-group">
  24. <label>申请人:</label>
  25. <input name="applicant" placeholder="申请人" th:value="${applicant}" class="styled-input" type="text">
  26. </div>
  27. <div class="customize-form-group">
  28. <label>申请时间:</label>
  29. <input name="applicationTime" placeholder="申请时间" th:value="${applicationTime}" class="styled-input" type="text">
  30. </div>
  31. <div class="customize-form-group">
  32. <label>审批人:</label>
  33. <input name="approver" placeholder="审批人" th:value="${approver}" class="styled-input" type="text">
  34. </div>
  35. <div class="customize-form-group">
  36. <label>审批时间:</label>
  37. <input name="approvalTime" placeholder="审批时间" th:value="${approvalTime}" class="styled-input" type="text">
  38. </div>
  39. <div class="customize-form-group">
  40. <label>审批状态:</label>
  41. <input name="approvalStatus" placeholder="审批状态:待审核,审核通过,驳回" th:value="${approvalStatus}" class="styled-input" type="text">
  42. </div>
  43. <div class="customize-form-group">
  44. <label>会员卡号:</label>
  45. <input name="memberCardNumber" placeholder="会员卡号" th:value="${memberCardNumber}" class="styled-input" type="text">
  46. </div>
  47. <div class="customize-form-group">
  48. <label>会员手机号:</label>
  49. <input name="memberPhone" placeholder="会员手机号" th:value="${memberPhone}" class="styled-input" type="text">
  50. </div>
  51. <div class="customize-form-group">
  52. <label>会员姓名:</label>
  53. <input name="memberName" placeholder="会员姓名" th:value="${memberName}" class="styled-input" type="text">
  54. </div>
  55. <div class="customize-form-group">
  56. <label>积分调整:</label>
  57. <input name="pointsAdjusted" placeholder="积分调整" th:value="${pointsAdjusted}" class="styled-input" type="text">
  58. </div>
  59. <div class="customize-form-group">
  60. <label>调整原因:</label>
  61. <input name="adjustmentReason" placeholder="调整原因" th:value="${adjustmentReason}" class="styled-input" type="text">
  62. </div>
  63. <div class="customize-form-group">
  64. <label>调整单类型:</label>
  65. <input name="adjustmentType" placeholder="调整单类型" th:value="${adjustmentType}" class="styled-input" type="text">
  66. </div>
  67. </div>
  68. </form>
  69. </div>
  70. <div class="main-content">
  71. <div class="col-sm-offset-5 col-sm-10">
  72. </div>
  73. </div>
  74. <th:block th:include="include :: footer" />
  75. </body>
  76. </html>
  77. <script>
  78. function edit() {
  79. var data = $("#form-SHyglJfglPointAdjustment-edit").serializeArray();
  80. $.ajax({
  81. cache : true,
  82. type : "POST",
  83. url : ctx + "hygl/shygljfglpointadjustment/sHyglJfglPointAdjustmentEdit",
  84. data : data,
  85. async : false,
  86. error : function(request) {
  87. $.modal.alertError("系统错误");
  88. },
  89. success : function(data) {
  90. $.operate.successCallback(data);
  91. }
  92. });
  93. }
  94. function submitHandler() {
  95. if ($.validate.form()) {
  96. edit();
  97. }
  98. }
  99. </script>