提交 | 用户 | 时间
|
1ac2bc
|
1 |
@layout("/common/_form.html",{js:["/assets/modular/system/dict/dict_edit.js"]}){ |
懒 |
2 |
|
|
3 |
<form class="layui-form" id="dictForm" lay-filter="dictForm"> |
|
4 |
<div class="layui-fluid" style="padding-bottom: 75px;"> |
|
5 |
<div class="layui-card"> |
|
6 |
<div class="layui-card-header">基本信息</div> |
|
7 |
<div class="layui-card-body"> |
|
8 |
<div class="layui-form-item layui-row"> |
|
9 |
<input id="dictId" name="dictId" type="hidden"/> |
|
10 |
<div class="layui-inline layui-col-md12"> |
|
11 |
<label class="layui-form-label">字典类型</label> |
|
12 |
<div class="layui-input-block"> |
|
13 |
<input id="dictTypeId" name="dictTypeId" type="hidden" value="${dictTypeId}"/> |
|
14 |
<input type="text" class="layui-input white-border layui-disabled" value="${dictTypeName}" disabled="disabled"/> |
|
15 |
</div> |
|
16 |
</div> |
|
17 |
<div class="layui-inline layui-col-md12"> |
|
18 |
<label class="layui-form-label">字典名称<span style="color: red;">*</span></label> |
|
19 |
<div class="layui-input-block"> |
|
20 |
<input id="name" name="name" placeholder="请输入字典名称" type="text" class="layui-input" lay-verify="required" required/> |
|
21 |
</div> |
|
22 |
</div> |
|
23 |
<div class="layui-inline layui-col-md12"> |
|
24 |
<label class="layui-form-label">字典编码<span style="color: red;">*</span></label> |
|
25 |
<div class="layui-input-block"> |
|
26 |
<input id="code" name="code" placeholder="请输入字典编码" type="text" class="layui-input layui-disabled" lay-verify="required" disabled required/> |
|
27 |
</div> |
|
28 |
</div> |
|
29 |
<div class="layui-inline layui-col-md12"> |
|
30 |
<label class="layui-form-label">上级字典<span style="color: red;">*</span></label> |
|
31 |
<div class="layui-input-block"> |
|
32 |
<input id="parentId" name="parentId" type="hidden" class="layui-input" lay-verify="required" required/> |
|
33 |
<input id="parentName" name="parentName" placeholder="请选择上级字典,如没有请选择顶级" type="text" class="layui-input" lay-verify="required" required readonly="readonly"/> |
|
34 |
</div> |
|
35 |
</div> |
|
36 |
<div class="layui-inline layui-col-md12"> |
|
37 |
<label class="layui-form-label">排序</label> |
|
38 |
<div class="layui-input-block"> |
|
39 |
<input id="sort" name="sort" placeholder="请输入字典排序" type="text" class="layui-input"> |
|
40 |
</div> |
|
41 |
</div> |
|
42 |
<div class="layui-inline layui-col-md12"> |
|
43 |
<label class="layui-form-label">字典描述</label> |
|
44 |
<div class="layui-input-block"> |
|
45 |
<textarea id="description" name="description" placeholder="请输入字典描述" class="layui-textarea"></textarea> |
|
46 |
</div> |
|
47 |
</div> |
|
48 |
</div> |
|
49 |
</div> |
|
50 |
</div> |
|
51 |
</div> |
|
52 |
<div class="form-group-bottom text-center"> |
|
53 |
<button class="layui-btn" lay-filter="btnSubmit" lay-submit> 提交 </button> |
|
54 |
<button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog"> 取消 </button> |
|
55 |
</div> |
|
56 |
|
|
57 |
</form> |
|
58 |
@} |