123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- <!DOCTYPE html>
- <html lang="zh" xmlns:th="http://www.thymeleaf.org" >
- <head>
- <th:block th:include="include :: header('积分调整表修改')" />
- </head>
- <body>
- <div class="ui-layout-center">
- <form id="form-SHyglJfglPointAdjustment-edit" class="customize-search-form">
- <div class="customize-form-group-container">
- </div>
- <div class="customize-form-group-container">
- </div>
- <div class="customize-form-group-container">
- <input type="hidden" id="id" name="id" th:value="${id}">
- <div class="customize-form-group">
- <label>申请单编号:</label>
- <input name="applicationNumber" placeholder="申请单编号" th:value="${applicationNumber}" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>调整数量:</label>
- <input name="adjustmentQuantity" placeholder="调整数量" th:value="${adjustmentQuantity}" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>申请人:</label>
- <input name="applicant" placeholder="申请人" th:value="${applicant}" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>申请时间:</label>
- <input name="applicationTime" placeholder="申请时间" th:value="${applicationTime}" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>审批人:</label>
- <input name="approver" placeholder="审批人" th:value="${approver}" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>审批时间:</label>
- <input name="approvalTime" placeholder="审批时间" th:value="${approvalTime}" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>审批状态:</label>
- <input name="approvalStatus" placeholder="审批状态:待审核,审核通过,驳回" th:value="${approvalStatus}" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>会员卡号:</label>
- <input name="memberCardNumber" placeholder="会员卡号" th:value="${memberCardNumber}" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>会员手机号:</label>
- <input name="memberPhone" placeholder="会员手机号" th:value="${memberPhone}" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>会员姓名:</label>
- <input name="memberName" placeholder="会员姓名" th:value="${memberName}" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>积分调整:</label>
- <input name="pointsAdjusted" placeholder="积分调整" th:value="${pointsAdjusted}" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>调整原因:</label>
- <input name="adjustmentReason" placeholder="调整原因" th:value="${adjustmentReason}" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>调整单类型:</label>
- <input name="adjustmentType" placeholder="调整单类型" th:value="${adjustmentType}" class="styled-input" type="text">
- </div>
- </div>
- </form>
- </div>
- <div class="main-content">
- <div class="col-sm-offset-5 col-sm-10">
- </div>
- </div>
- <th:block th:include="include :: footer" />
- </body>
- </html>
- <script>
- function edit() {
- var data = $("#form-SHyglJfglPointAdjustment-edit").serializeArray();
- $.ajax({
- cache : true,
- type : "POST",
- url : ctx + "hygl/shygljfglpointadjustment/sHyglJfglPointAdjustmentEdit",
- data : data,
- async : false,
- error : function(request) {
- $.modal.alertError("系统错误");
- },
- success : function(data) {
- $.operate.successCallback(data);
- }
- });
- }
- function submitHandler() {
- if ($.validate.form()) {
- edit();
- }
- }
- </script>
|