<!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-account-edit">
            <input id="comId" name="comId" th:value="${comBhAccount.comId}"  type="hidden">
            <div class="form-group">	
                <label class="col-sm-3 control-label is-required">开户名称：</label>
                <div class="col-sm-8">
                    <input th:value="${comBhAccount.comName}" class="form-control" type="text" readonly>
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label is-required">证件号码：</label>
                <div class="col-sm-8">
                    <input th:value="${comBhAccount.comCerNo}" class="form-control" type="text" readonly>
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label is-required">发薪账户号：</label>
                <div class="col-sm-8">
                    <input th:value="${comBhAccount.bhVirlAcctNo}" class="form-control" type="text" readonly>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label is-required">账户状态：</label>
                <div class="col-sm-8">
                    <input th:value="${comBhAccount.accountStatus}" class="form-control" type="text" readonly>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label is-required">绑定账号：</label>
                <div class="col-sm-8">
                    <input th:value="${comBhAccount.bankCardNo}" class="form-control" type="text" readonly>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label is-required">绑定账号开户行：</label>
                <div class="col-sm-8">
                    <input th:value="${comBhAccount.bankOutlets}" class="form-control" type="text" readonly>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label is-required">绑定手机号：</label>
                <div class="col-sm-8">
                    <input th:value="${comBhAccount.mobilePhone}" class="form-control" type="text" readonly>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label is-required">发薪权限：</label>
                <div class="col-sm-8">
                    <select class="form-control" id="isOpenSalaryAuth" name="isOpenSalaryAuth">
                        <option value="0" th:selected="${comBhAccount.isOpenSalaryAuth eq '0'}">否</option>
                        <option value="1" th:selected="${comBhAccount.isOpenSalaryAuth eq '1'}">是</option>
                    </select>
                </div>
            </div>
    	</form>
    </div>
    <th:block th:include="include :: footer" />
    <script type="text/javascript">
	    var prefix = ctx + "manage/bh-account";


	    function submitHandler() {
            $.operate.save(prefix + "/update-open-salary-auth", $('#form-account-edit').serialize());
	    }
    </script>
</body>
</html>
