admin
2024-01-08 22f70cc8b2ba603e82bba058db320dced48f9470
提交 | 用户 | 时间
71e81e 1 @layout("/common/_form.html",{js:["/assets/modular/em/equipmentMaintainPlan/equipmentMaintainPlan_add.js"],css:["/assets/expand/module/formSelects/formSelects-v4.css"]}){
2
3 <form class="layui-form" id="equipmentMaintainPlanForm" lay-filter="equipmentMaintainPlanForm">
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                     <input id="materialList" hidden/>
11
12                     <div class="layui-inline layui-col-md4">
13                         <label class="layui-form-label">设备编号<span style="color: red;">*</span></label>
14                         <div class="layui-input-block">
15                             <input id="equipmentNo" name="equipmentNo" placeholder="请输入设备编号" type="text" class="layui-input" lay-verify="required" required/>
16                         </div>
17                     </div>
18                     <div class="layui-inline layui-col-md4">
19                         <label class="layui-form-label">设备名称<span style="color: red;">*</span></label>
20                         <div class="layui-input-block">
21                             <input id="equipmentName" name="equipmentName" placeholder="请输入设备名称" type="text" class="layui-input" lay-verify="required" required/>
22                         </div>
23                     </div>
24                     <div class="layui-inline layui-col-md4">
25                         <label class="layui-form-label">计划编号<span style="color: red;">*</span></label>
26                         <div class="layui-input-block">
27                             <input id="planNo" name="planNo" placeholder="请输入计划编号" type="text" disabled class="layui-input" lay-verify="required" required/>
28                         </div>
29                     </div>
30                     <div class="layui-inline layui-col-md4">
31                         <label class="layui-form-label">计划名称<span style="color: red;">*</span></label>
32                         <div class="layui-input-block">
33                             <input id="planName" name="planName" placeholder="请输入计划名称" type="text" class="layui-input" lay-verify="required" required/>
34                         </div>
35                     </div>
36                     <div class="layui-inline layui-col-md4">
37                         <label class="layui-form-label">计划类型<span style="color: red;">*</span></label>
38                         <div class="layui-input-block">
39 <!--                            <input id="planType" name="planType" placeholder="请输入计划类型(单次计划、固定时间循环)" type="text" class="layui-input" lay-verify="required" required/>-->
40                             <select id="planType" name="planType" lay-filter="planType">
41                                 <option value="">请选择计划类型</option>
42                                 <option value="单次计划">单次计划</option>
43                                 <option value="固定时间循环">固定时间循环</option>
44                             </select>
45                         </div>
46                     </div>
47                     <div class="layui-inline layui-col-md4">
48                         <label class="layui-form-label">保养类别<span style="color: red;">*</span></label>
49                         <div class="layui-input-block">
50 <!--                            <input id="maintainType" name="maintainType" placeholder="请输入保养类别(日常保养、一级保养、二级保养、三级保养)" type="text" class="layui-input" lay-verify="required" required/>-->
51                             <select id="maintainType" name="maintainType" lay-filter="maintainType">
52                                 <option value="">请选择保养类别</option>
53                                 <option value="日常保养">日常保养</option>
54                                 <option value="一级保养">一级保养</option>
55                                 <option value="二级保养">二级保养</option>
56                                 <option value="三级保养">三级保养</option>
57                             </select>
58                         </div>
59                     </div>
60                     <div class="layui-inline layui-col-md4">
61                         <label class="layui-form-label" style="width: 90px">开始保养时间<span style="color: red;">*</span></label>
62                         <div class="layui-input-block">
63                             <input id="startTime" name="startTime" placeholder="请输入开始保养时间" type="text" style="width: 337px" class="layui-input" lay-verify="required" required/>
64                         </div>
65                     </div>
66                     <div class="layui-inline layui-col-md4">
67                         <label class="layui-form-label" style="width: 90px">结束保养时间<span style="color: red;">*</span></label>
68                         <div class="layui-input-block">
69                             <input id="endTime" name="endTime" placeholder="请输入结束保养时间" type="text" style="width: 337px" class="layui-input" lay-verify="required" required/>
70                         </div>
71                     </div>
72                     <div class="layui-inline layui-col-md4">
73                         <label class="layui-form-label">间隔时间<span style="color: red;">*</span></label>
74                         <div class="layui-input-block">
75                             <input id="intervalTime" name="intervalTime" placeholder="请输入间隔时间" type="number" class="layui-input" lay-verify="required" required/>
76                         </div>
77                     </div>
78                     <div class="layui-inline layui-col-md4">
79                         <label class="layui-form-label">间隔单位<span style="color: red;">*</span></label>
80                         <div class="layui-input-block">
81 <!--                            <input id="intervalUnit" name="intervalUnit" placeholder="请输入间隔单位" type="text" class="layui-input" lay-verify="required" required/>-->
82                             <select id="intervalUnit" name="intervalUnit" lay-filter="intervalUnit">
83                                 <option value="">间隔单位</option>
84                             </select>
85                         </div>
86                     </div>
87 <!--                    <div class="layui-inline layui-col-md4">-->
88 <!--                        <label class="layui-form-label">状态<span style="color: red;">*</span></label>-->
89 <!--                        <div class="layui-input-block">-->
90 <!--&lt;!&ndash;                            <input id="state" name="state" placeholder="请输入状态(启用、禁用)" type="text" class="layui-input" lay-verify="required" required/>&ndash;&gt;-->
91 <!--                            <select id="state" name="state" lay-filter="state">-->
92 <!--                                <option value="">请选择状态</option>-->
93 <!--                                <option value="启用">启用</option>-->
94 <!--                                <option value="禁用">禁用</option>-->
95 <!--                            </select>-->
96 <!--                        </div>-->
97 <!--                    </div>-->
98
99                     <div class="layui-row">
100                         <div class="layui-inline" style="margin-bottom: 10px">
101                             <button id="btnAdds" type="button" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>保养内容配置
102                             </button>
103                         </div>
104                     </div>
105                     <table class="layui-table" id="eqConfTable" lay-filter="eqConfTable"></table>
106 <!--                    <div class="layui-inline layui-col-md12">-->
107 <!--                        <label class="layui-form-label">预留字段1<span style="color: red;">*</span></label>-->
108 <!--                        <div class="layui-input-block">-->
109 <!--                            <input id="spareField1" name="spareField1" placeholder="请输入预留字段1" type="text" class="layui-input" lay-verify="required" required/>-->
110 <!--                        </div>-->
111 <!--                    </div>-->
112 <!--                    <div class="layui-inline layui-col-md12">-->
113 <!--                        <label class="layui-form-label">预留字段2<span style="color: red;">*</span></label>-->
114 <!--                        <div class="layui-input-block">-->
115 <!--                            <input id="spareField2" name="spareField2" placeholder="请输入预留字段2" type="text" class="layui-input" lay-verify="required" required/>-->
116 <!--                        </div>-->
117 <!--                    </div>-->
118 <!--                    <div class="layui-inline layui-col-md12">-->
119 <!--                        <label class="layui-form-label">备注<span style="color: red;">*</span></label>-->
120 <!--                        <div class="layui-input-block">-->
121 <!--                            <input id="remarks" name="remarks" placeholder="请输入备注" type="text" class="layui-input" lay-verify="required" required/>-->
122 <!--                        </div>-->
123 <!--                    </div>-->
124
125                 </div>
126             </div>
127         </div>
128     </div>
129     <div class="form-group-bottom text-center">
130         <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
131         <button id="cancel" type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
132     </div>
133
134 </form>
135 <script type="text/html" id="tableBar">
136     <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
137 </script>
138
139 @}