#
luxiaotao1123
2021-01-19 f74bb3a0d31392a2ea06ac231a854c38df060e65
src/main/webapp/views/area/area_detail.html
@@ -9,6 +9,11 @@
    <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="../../static/css/cool.css" media="all">
    <link rel="stylesheet" href="../../static/css/common.css" media="all">
    <style>
        .layui-form-select dl {
            max-height: 200px;
        }
    </style>
</head>
<body>
@@ -24,21 +29,28 @@
        <div class="layui-inline"  style="width:85%;">
            <label class="layui-form-label form-required">编号:</label>
            <div class="layui-input-inline">
                <input id="uuid" class="layui-input" type="text" autocomplete="off">
                <input id="uuid" class="layui-input" type="text" autocomplete="off" lay-verify="required">
            </div>
        </div>
        <div class="layui-inline"  style="width:85%;">
            <label class="layui-form-label form-required">名称:</label>
            <div class="layui-input-inline">
                <input id="name" class="layui-input" type="text"  autocomplete="off">
                <input id="name" class="layui-input" type="text" autocomplete="off" lay-verify="required">
            </div>
        </div>
        <div class="layui-inline"  style="width:31%;;display: none">
            <label class="layui-form-label">父  级:</label>
        <div class="layui-inline" style="width:85%;">
            <label class="layui-form-label form-required">所属仓库:</label>
            <div class="layui-input-inline">
                <input id="parentId" class="layui-input" type="text" lay-verify="number" >
                <select id="parentId" lay-verify="required" lay-search="">
                </select>
            </div>
        </div>
<!--        <div class="layui-inline"  style="width:31%;;display: none">-->
<!--            <label class="layui-form-label">父  级:</label>-->
<!--            <div class="layui-input-inline">-->
<!--                <input id="parentId" class="layui-input" type="text" lay-verify="number" >-->
<!--            </div>-->
<!--        </div>-->
        <div class="layui-inline"  style="width:31%;;display: none">
            <label class="layui-form-label">父级名称:</label>
            <div class="layui-input-inline">
@@ -170,6 +182,13 @@
<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
<script type="text/javascript" src="../../static/js/handlebars/handlebars-v4.5.3.js"></script>
<script type="text/javascript" src="../../static/js/area/area.js" charset="utf-8"></script>
<script type="text/template" id="parentNodeGroup">
    <option value="">选择仓库</option>
    {{#each data}}
    <option value="{{this.key}}">{{this.val}}</option>
    {{/each}}
</script>
</html>