懒羊羊
2023-10-17 5d91e0a52879bf16511817b3cd20496f07717ab1
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
@layout("/common/_form.html",{js:["/assets/modular/sys/codingRule/codingRule_add.js"],css:["/assets/expand/module/formSelects/formSelects-v4.css"]}){
 
<form class="layui-form" id="codingRuleForm" lay-filter="codingRuleForm">
    <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="id" type="hidden"/>
 
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">规则编号<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="codingRuleCode" name="codingRuleCode" placeholder="请输入编码规则编号" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">规则描述</label>
                        <div class="layui-input-block">
                            <input id="codingRuleDesc" name="codingRuleDesc" placeholder="请输入编码规则描述" type="text" class="layui-input"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">启用日期<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <!--                            <input id="enableDate" name="enableDate" placeholder="请输入启用日期(0否,1是)" type="text" class="layui-input" lay-verify="required" required/>-->
                            <select name="enableDate" id="enableDate" lay-filter="enableDateEvent" lay-verify="required">
                                <option value="">请选择启用日期</option>
                                <option value="0">否</option>
                                <option value="1">是</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">日期格式</label>
                        <div class="layui-input-block">
                            <!--                            <input id="dateType" name="dateType" placeholder="请输入日期格式类型" type="text" class="layui-input" lay-verify="required" required/>-->
                            <select id="dateType" name="dateType" lay-filter="dateType">
                                <option value="">日期格式类型</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">规则前缀</label>
                        <div class="layui-input-block">
                            <input id="codingRulePrefix" name="codingRulePrefix" placeholder="请输入编码规则前缀" type="text" class="layui-input"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">编号长度<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="codeLength" name="codeLength" placeholder="请输入编号长度" type="number" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">备注</label>
                        <div class="layui-input-block">
                            <input id="remark" name="remark" placeholder="请输入备注" type="text" class="layui-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" id="cancel">&emsp;取消&emsp;</button>
    </div>
 
</form>
 
@}