懒羊羊
2023-08-30 1ac2bc1590406d9babec036e154d8d08f34a6aa1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
@layout("/common/_form.html",{js:["/assets/modular/system/dictType/dictType_add.js"]}){
 
<form class="layui-form" id="dictTypeForm" lay-filter="dictTypeForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="dictTypeId" type="hidden"/>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">名称<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="name" name="name" placeholder="请输入字典类型名称,例如:状态标识" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">类型编码<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="code" name="code" placeholder="请输入字典类型编码,例如:STATUS" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">系统字典<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input type="radio" name="systemFlag" value="Y" title="是">
                            <input type="radio" name="systemFlag" value="N" title="否" checked="">
                        </div>
                        <div class="layui-form-mid layui-word-aux">系统字典与代码中枚举关联,添加后不可修改</div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">排序</label>
                        <div class="layui-input-block">
                            <input id="sort" name="sort" placeholder="请输入字典排序" type="text" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">字典描述</label>
                        <div class="layui-input-block">
                            <textarea id="description" name="description" placeholder="请输入字典描述" class="layui-textarea"></textarea>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>
 
</form>
 
@}