懒羊羊
2023-08-30 1ac2bc1590406d9babec036e154d8d08f34a6aa1
提交 | 用户 | 时间
1ac2bc 1 @layout("/common/_form.html",{js:["/assets/modular/sys/codingRule/codingRule_edit.js"]}){
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                             <select name="enableDate" id="enableDate" lay-verify="required">
27                                 <option value="">请选择启用日期</option>
28                                 <option value="0">否</option>
29                                 <option value="1">是</option>
30                             </select>
31                         </div>
32                     </div>
33                     <div class="layui-inline layui-col-md6">
34                         <label class="layui-form-label">日期格式<span style="color: red;">*</span></label>
35                         <div class="layui-input-block">
36                             <select id="dateType" name="dateType" lay-filter="dateType">
37                                 <option value="">日期格式类型</option>
38                             </select>
39                         </div>
40                     </div>
41                     <div class="layui-inline layui-col-md6">
42                         <label class="layui-form-label">规则前缀</label>
43                         <div class="layui-input-block">
44                             <input id="codingRulePrefix" name="codingRulePrefix" placeholder="请输入编码规则前缀" type="text" class="layui-input"/>
45                         </div>
46                     </div>
47
48                     <div class="layui-inline layui-col-md6">
49                         <label class="layui-form-label">当前编号<span style="color: red;">*</span></label>
50                         <div class="layui-input-block">
51                             <input id="currentCode" name="currentCode" placeholder="请输入当前编号" type="text" class="layui-input" disabled lay-verify="required" required/>
52                         </div>
53                     </div>
54                     <div class="layui-inline layui-col-md6">
55                         <label class="layui-form-label">编号长度<span style="color: red;">*</span></label>
56                         <div class="layui-input-block">
57                             <input id="codeLength" name="codeLength" placeholder="请输入编号长度" type="text" class="layui-input" lay-verify="required" required/>
58                         </div>
59                     </div>
60                     <div class="layui-inline layui-col-md6">
61                         <label class="layui-form-label">备注</label>
62                         <div class="layui-input-block">
63                             <input id="remark" name="remark" placeholder="请输入备注" type="text" class="layui-input"/>
64                         </div>
65                     </div>
66                 </div>
67             </div>
68         </div>
69     </div>
70     <div class="form-group-bottom text-center">
71         <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
72         <button type="reset" class="layui-btn layui-btn-primary" id="cancel">&emsp;取消&emsp;</button>
73     </div>
74
75 </form>
76
77 @}