<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:sptg="http://www.thymeleaf.org/sptg">
    <head >
        <script th:replace="common/head"></script>
        <!-- 省市区样式 -->
        <link rel="stylesheet" th:href="@{'/layui257/css/layui.css'}">
        <style>
            .layui-form-item .layui-input-inline{
                width: 100px;
            }
        </style>
    </head>
    <body style="position: absolute;top: 0;bottom: 0;left: 0;right: 0;">
    <input type="hidden" id="residentialId" th:value="${residentialId}" />
        <div class="layui-fluid" style="padding: 10px">
            <div class="layui-form">
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label"><span class="must">*</span>楼栋区间</label>
                        <div class="layui-input-inline">
                            <input type="tel" name="buildingBegin" lay-verify="required" placeholder="起始楼栋" autocomplete="off" class="layui-input">
                        </div>
                        <div class="layui-input-inline">
                            <input type="tel" name="buildingEnd" lay-verify="required" placeholder="结束楼栋" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">前后缀规则</label>
                        <div class="layui-input-inline">
                            <input type="text" name="buildingPrefix" placeholder="楼栋前缀" autocomplete="off" class="layui-input">
                        </div>
                        <div class="layui-input-inline">
                            <input type="text" name="buildingSuffix" placeholder="楼栋后缀" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label"><span class="must">*</span>单元区间</label>
                        <div class="layui-input-inline">
                            <input type="tel" name="unitBegin" lay-verify="required" placeholder="起始单元" autocomplete="off" class="layui-input">
                        </div>
                        <div class="layui-input-inline">
                            <input type="tel" name="unitEnd" lay-verify="required" placeholder="结束单元" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">前后缀规则</label>
                        <div class="layui-input-inline">
                            <input type="text" name="unitPrefix" placeholder="单元前缀" autocomplete="off" class="layui-input">
                        </div>
                        <div class="layui-input-inline">
                            <input type="text" name="unitSuffix" placeholder="单元后缀" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label"><span class="must">*</span>楼层区间</label>
                        <div class="layui-input-inline">
                            <input type="tel" name="floorBegin" lay-verify="required" placeholder="起始楼层" autocomplete="off" class="layui-input">
                        </div>
                        <div class="layui-input-inline">
                            <input type="tel" name="floorEnd" lay-verify="required" placeholder="结束楼层" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">前后缀规则</label>
                        <div class="layui-input-inline">
                            <input type="text" name="floorPrefix" placeholder="楼层前缀" autocomplete="off" class="layui-input">
                        </div>
                        <div class="layui-input-inline">
                            <input type="text" name="floorSuffix" placeholder="楼层后缀" autocomplete="off" class="layui-input">
                        </div>
                        <label class="layui-form-label">排除楼层</label>
                        <div class="layui-input-inline">
                            <input type="text" name="floorExclude" placeholder="排除楼层" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label"><span class="must">*</span>房屋区间</label>
                        <div class="layui-input-inline">
                            <input type="tel" name="roomBegin" lay-verify="required" placeholder="起始房屋" autocomplete="off" class="layui-input">
                        </div>
                        <div class="layui-input-inline">
                            <input type="tel" name="roomEnd" lay-verify="required" placeholder="结束房屋" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">前后缀规则</label>
                        <div class="layui-input-inline">
                            <input type="text" name="roomPrefix" placeholder="房屋前缀" autocomplete="off" class="layui-input">
                        </div>
                        <div class="layui-input-inline">
                            <input type="text" name="roomSuffix" placeholder="房屋后缀" autocomplete="off" class="layui-input">
                        </div>
                        <label class="layui-form-label">排除房屋</label>
                        <div class="layui-input-inline">
                            <input type="text" name="roomExclude" placeholder="排除房屋" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button type="submit" class="layui-btn" lay-submit lay-filter="add_batch">立即提交</button>
                    </div>
                </div>
            </div>

        </div>

        <!-- javascript -->
        <script th:src="@{'/layui257/layui.js'}"></script>
        <script>
            layui.config({
                base: '/' //静态资源所在路径
            });
        </script>

        <script th:src="@{'/js/estate/batch-add.js'}"></script>

    </body>
</html>