yantian yue
2023-10-17 487b2f2a353b89ab46cd9b784226b600b7b915b8
提交 | 用户 | 时间
1ac2bc 1 @layout("/common/_form.html",{js:["/assets/modular/sys/codingRule/codingRule_add.js"],css:["/assets/expand/module/formSelects/formSelects-v4.css"]}){
2
3 <form class="layui-form" id="codingRuleForm" lay-filter="codingRuleForm">
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="id" type="hidden"/>
10
11                     <div class="layui-inline layui-col-md6">
12                         <label class="layui-form-label">规则编号<span style="color: red;">*</span></label>
13                         <div class="layui-input-block">
14                             <input id="codingRuleCode" name="codingRuleCode" placeholder="请输入编码规则编号" type="text" class="layui-input" lay-verify="required" required/>
15                         </div>
16                     </div>
17                     <div class="layui-inline layui-col-md6">
18                         <label class="layui-form-label">规则描述</label>
19                         <div class="layui-input-block">
20                             <input id="codingRuleDesc" name="codingRuleDesc" placeholder="请输入编码规则描述" type="text" class="layui-input"/>
21                         </div>
22                     </div>
23                     <div class="layui-inline layui-col-md6">
24                         <label class="layui-form-label">启用日期<span style="color: red;">*</span></label>
25                         <div class="layui-input-block">
26                             <!--                            <input id="enableDate" name="enableDate" placeholder="请输入启用日期(0否,1是)" type="text" class="layui-input" lay-verify="required" required/>-->
27                             <select name="enableDate" id="enableDate" lay-filter="enableDateEvent" lay-verify="required">
28                                 <option value="">请选择启用日期</option>
29                                 <option value="0">否</option>
30                                 <option value="1">是</option>
31                             </select>
32                         </div>
33                     </div>
34                     <div class="layui-inline layui-col-md6">
35                         <label class="layui-form-label">日期格式</label>
36                         <div class="layui-input-block">
37                             <!--                            <input id="dateType" name="dateType" placeholder="请输入日期格式类型" type="text" class="layui-input" lay-verify="required" required/>-->
38                             <select id="dateType" name="dateType" lay-filter="dateType">
39                                 <option value="">日期格式类型</option>
40                             </select>
41                         </div>
42                     </div>
43                     <div class="layui-inline layui-col-md6">
44                         <label class="layui-form-label">规则前缀</label>
45                         <div class="layui-input-block">
46                             <input id="codingRulePrefix" name="codingRulePrefix" placeholder="请输入编码规则前缀" type="text" class="layui-input"/>
47                         </div>
48                     </div>
49                     <div class="layui-inline layui-col-md6">
50                         <label class="layui-form-label">编号长度<span style="color: red;">*</span></label>
51                         <div class="layui-input-block">
52                             <input id="codeLength" name="codeLength" placeholder="请输入编号长度" type="number" class="layui-input" lay-verify="required" required/>
53                         </div>
54                     </div>
55                     <div class="layui-inline layui-col-md6">
56                         <label class="layui-form-label">备注</label>
57                         <div class="layui-input-block">
58                             <input id="remark" name="remark" placeholder="请输入备注" type="text" class="layui-textarea"/>
59                         </div>
60                     </div>
61                 </div>
62             </div>
63         </div>
64     </div>
65     <div class="form-group-bottom text-center">
66         <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
67         <button type="reset" class="layui-btn layui-btn-primary" id="cancel">&emsp;取消&emsp;</button>
68     </div>
69
70 </form>
71
72 @}