12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <!DOCTYPE html>
- <html lang="zh" xmlns:th="http://www.thymeleaf.org" >
- <head>
- <th:block th:include="include :: header('修改银行信息')" />
- </head>
- <body class="white-bg">
- <div class="wrapper wrapper-content animated fadeInRight ibox-content">
- <form class="form-horizontal m" id="form-dict-edit" th:object="${bankCard}">
- <input name="id" type="hidden" th:field="*{id}" />
- <div class="form-group">
- <label class="col-sm-2 control-label">卿卿号:</label>
- <div class="col-sm-10">
- <input class="form-control" readonly="readonly" type="text" th:field="*{erbanNo}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">卡号:</label>
- <div class="col-sm-10">
- <input class="form-control" type="text" name="bankCard" id="bankCard" th:field="*{bankCard}" required>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">姓名:</label>
- <div class="col-sm-10">
- <input class="form-control" type="text" name="bankCardName" id="bankCardName" th:field="*{bankCardName}"/>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">银行:</label>
- <div class="col-sm-10">
- <select name="openBankCode" id="openBankCode" class="form-control m-b" th:with="type=${@dict.getType('bank_card_type')}">
- <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{openBankCode}"></option>
- </select>
- </div>
- </div>
- </form>
- </div>
- <th:block th:include="include :: footer" />
- <script type="text/javascript">
- var prefix = ctx + "users/bank/card";
-
- $("#form-dict-edit").validate({
- focusCleanup: true
- });
-
- function submitHandler() {
- if ($.validate.form()) {
- $.operate.save(prefix + "/edit", $('#form-dict-edit').serialize());
- }
- }
- </script>
- </body>
- </html>
|