<!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="id"  type="hidden"  th:value="${orderIds}" />
        <div class="form-group">
            <label class="col-sm-3 control-label">保险：</label>
            <div class="col-sm-8">
                <select id="insuranceId" name="insuranceId" class="form-control control-label" required>
                    <option th:each="insurance:${insurances}" th:value="${insurance.id}" th:text="${insurance.insuranceName}" ></option>
                </select>
            </div>
        </div>
    </form>
</div>
<th:block th:include="include :: footer" />
<script type="text/javascript">
    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save(ctx + "order/master/pcOrderWorker/changeInsurance",  $('#form-change-insurance').serialize());
        }
    }
</script>
</body>

</html>
