12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <!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-notice-add">
- <div class="form-group" id="chargeErBanNo">
- <label class="col-sm-2 control-label">卿卿号:</label>
- <div class="col-sm-10">
- <input name="uid" id="uid" class="form-control" type="text" placeholder="请输入卿卿号"/>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">卡号:</label>
- <div class="col-sm-10">
- <input id="bankCard" name="bankCard" class="form-control" type="text" placeholder="请输入卡号" required/>
- </div>
- </div>
- <div class="form-group" id="chargeBlockIp">
- <label class="col-sm-2 control-label">姓名:</label>
- <div class="col-sm-10">
- <input id="bankCardName" name="bankCardName" class="form-control" type="text" placeholder="请输入姓名"/>
- </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}"></option>
- </select>
- </div>
- </div>
- </form>
- </div>
- <th:block th:include="include :: footer" />
- <th:block th:include="include :: summernote-js" />
- <script type="text/javascript">
- var prefix = ctx + "users/bank/card";
- $("#form-notice-add").validate({
- focusCleanup: true
- });
- function submitHandler() {
- if ($.validate.form()) {
- $.operate.save(prefix + "/add", $('#form-notice-add').serialize());
- }
- }
- </script>
- </body>
- </html>
|