<!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-change-insurance">
        <input name="customerId"  type="hidden"  th:value="${customerId}" />
        <div class="form-group">
            <label class="col-sm-3 control-label">上级分销：</label>
            <div class="col-sm-8">
                <select id="customerPlace" name="customerPlace" class="form-control control-label" required>
                    <option th:each="customerPlace:${customerPlaces}" th:value="${customerPlace.customerId}" th:text="${customerPlace.phone} + ${customerPlace.placeName}" ></option>
                </select>
            </div>
        </div>
    </form>
</div>
<th:block th:include="include :: footer" />
<script type="text/javascript">
    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save(ctx + "customer/changePlace",  $('#form-change-insurance').serialize());
        }
    }
</script>
</body>

</html>
