admin
2024-01-08 22f70cc8b2ba603e82bba058db320dced48f9470
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
@layout("/common/_form.html",{js:["/assets/modular/em/equipmentMaintainPlan/equipmentMaintainPlan_add.js"],css:["/assets/expand/module/formSelects/formSelects-v4.css"]}){
 
<form class="layui-form" id="equipmentMaintainPlanForm" lay-filter="equipmentMaintainPlanForm">
    <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"/>
                    <input id="materialList" hidden/>
 
                    <div class="layui-inline layui-col-md4">
                        <label class="layui-form-label">设备编号<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="equipmentNo" name="equipmentNo" placeholder="请输入设备编号" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md4">
                        <label class="layui-form-label">设备名称<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="equipmentName" name="equipmentName" placeholder="请输入设备名称" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md4">
                        <label class="layui-form-label">计划编号<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="planNo" name="planNo" placeholder="请输入计划编号" type="text" disabled class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md4">
                        <label class="layui-form-label">计划名称<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="planName" name="planName" placeholder="请输入计划名称" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md4">
                        <label class="layui-form-label">计划类型<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
<!--                            <input id="planType" name="planType" placeholder="请输入计划类型(单次计划、固定时间循环)" type="text" class="layui-input" lay-verify="required" required/>-->
                            <select id="planType" name="planType" lay-filter="planType">
                                <option value="">请选择计划类型</option>
                                <option value="单次计划">单次计划</option>
                                <option value="固定时间循环">固定时间循环</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md4">
                        <label class="layui-form-label">保养类别<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
<!--                            <input id="maintainType" name="maintainType" placeholder="请输入保养类别(日常保养、一级保养、二级保养、三级保养)" type="text" class="layui-input" lay-verify="required" required/>-->
                            <select id="maintainType" name="maintainType" lay-filter="maintainType">
                                <option value="">请选择保养类别</option>
                                <option value="日常保养">日常保养</option>
                                <option value="一级保养">一级保养</option>
                                <option value="二级保养">二级保养</option>
                                <option value="三级保养">三级保养</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md4">
                        <label class="layui-form-label" style="width: 90px">开始保养时间<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="startTime" name="startTime" placeholder="请输入开始保养时间" type="text" style="width: 337px" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md4">
                        <label class="layui-form-label" style="width: 90px">结束保养时间<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="endTime" name="endTime" placeholder="请输入结束保养时间" type="text" style="width: 337px" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md4">
                        <label class="layui-form-label">间隔时间<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="intervalTime" name="intervalTime" placeholder="请输入间隔时间" type="number" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md4">
                        <label class="layui-form-label">间隔单位<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
<!--                            <input id="intervalUnit" name="intervalUnit" placeholder="请输入间隔单位" type="text" class="layui-input" lay-verify="required" required/>-->
                            <select id="intervalUnit" name="intervalUnit" lay-filter="intervalUnit">
                                <option value="">间隔单位</option>
                            </select>
                        </div>
                    </div>
<!--                    <div class="layui-inline layui-col-md4">-->
<!--                        <label class="layui-form-label">状态<span style="color: red;">*</span></label>-->
<!--                        <div class="layui-input-block">-->
<!--&lt;!&ndash;                            <input id="state" name="state" placeholder="请输入状态(启用、禁用)" type="text" class="layui-input" lay-verify="required" required/>&ndash;&gt;-->
<!--                            <select id="state" name="state" lay-filter="state">-->
<!--                                <option value="">请选择状态</option>-->
<!--                                <option value="启用">启用</option>-->
<!--                                <option value="禁用">禁用</option>-->
<!--                            </select>-->
<!--                        </div>-->
<!--                    </div>-->
 
                    <div class="layui-row">
                        <div class="layui-inline" style="margin-bottom: 10px">
                            <button id="btnAdds" type="button" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>保养内容配置
                            </button>
                        </div>
                    </div>
                    <table class="layui-table" id="eqConfTable" lay-filter="eqConfTable"></table>
<!--                    <div class="layui-inline layui-col-md12">-->
<!--                        <label class="layui-form-label">预留字段1<span style="color: red;">*</span></label>-->
<!--                        <div class="layui-input-block">-->
<!--                            <input id="spareField1" name="spareField1" placeholder="请输入预留字段1" type="text" class="layui-input" lay-verify="required" required/>-->
<!--                        </div>-->
<!--                    </div>-->
<!--                    <div class="layui-inline layui-col-md12">-->
<!--                        <label class="layui-form-label">预留字段2<span style="color: red;">*</span></label>-->
<!--                        <div class="layui-input-block">-->
<!--                            <input id="spareField2" name="spareField2" placeholder="请输入预留字段2" type="text" class="layui-input" lay-verify="required" required/>-->
<!--                        </div>-->
<!--                    </div>-->
<!--                    <div class="layui-inline layui-col-md12">-->
<!--                        <label class="layui-form-label">备注<span style="color: red;">*</span></label>-->
<!--                        <div class="layui-input-block">-->
<!--                            <input id="remarks" name="remarks" placeholder="请输入备注" type="text" class="layui-input" lay-verify="required" required/>-->
<!--                        </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 id="cancel" type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>
 
</form>
<script type="text/html" id="tableBar">
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
</script>
 
@}