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