admin
2024-01-10 7f291910791bdb9a545dc12ef36c3c359cfa4e59
提交 | 用户 | 时间
71e81e 1 @layout("/common/_form.html",{js:["/assets/modular/em/equipmentAlarm/equipmentAlarm_add.js"],css:["/assets/expand/module/formSelects/formSelects-v4.css"]}){
2
3 <form class="layui-form" id="equipmentAlarmForm" lay-filter="equipmentAlarmForm">
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-md12">
12                         <label class="layui-form-label">设备编号<span style="color: red;">*</span></label>
13                         <div class="layui-input-block">
14                             <input id="equipmentNo" name="equipmentNo" placeholder="请输入设备编号" type="text" class="layui-input" lay-verify="required" required/>
15                         </div>
16                     </div>
17                     <div class="layui-inline layui-col-md12">
18                         <label class="layui-form-label">设备名称<span style="color: red;">*</span></label>
19                         <div class="layui-input-block">
20                             <input id="equipmentName" name="equipmentName" placeholder="请输入设备名称" type="text" class="layui-input" lay-verify="required" required/>
21                         </div>
22                     </div>
23                     <div class="layui-inline layui-col-md12">
24                         <label class="layui-form-label">车间编号<span style="color: red;">*</span></label>
25                         <div class="layui-input-block">
26                             <input id="workshopCode" name="workshopCode" placeholder="请输入车间编号" type="text" class="layui-input" lay-verify="required" required/>
27                         </div>
28                     </div>
29                     <div class="layui-inline layui-col-md12">
30                         <label class="layui-form-label">产线编号<span style="color: red;">*</span></label>
31                         <div class="layui-input-block">
32                             <input id="productionLineCode" name="productionLineCode" placeholder="请输入产线编号" type="text" class="layui-input" lay-verify="required" required/>
33                         </div>
34                     </div>
35                     <div class="layui-inline layui-col-md12">
36                         <label class="layui-form-label">工位编号<span style="color: red;">*</span></label>
37                         <div class="layui-input-block">
38                             <input id="locationCode" name="locationCode" placeholder="请输入工位编号" type="text" class="layui-input" lay-verify="required" required/>
39                         </div>
40                     </div>
41                     <div class="layui-inline layui-col-md12">
42                         <label class="layui-form-label">故障代码<span style="color: red;">*</span></label>
43                         <div class="layui-input-block">
44                             <input id="errorNo" name="errorNo" placeholder="请输入故障代码" type="text" class="layui-input" lay-verify="required" required/>
45                         </div>
46                     </div>
47                     <div class="layui-inline layui-col-md12">
48                         <label class="layui-form-label">故障描述<span style="color: red;">*</span></label>
49                         <div class="layui-input-block">
50                             <input id="errorDesc" name="errorDesc" placeholder="请输入故障描述" type="text" class="layui-input" lay-verify="required" required/>
51                         </div>
52                     </div>
53 <!--                    <div class="layui-inline layui-col-md12">-->
54 <!--                        <label class="layui-form-label">报警时间<span style="color: red;">*</span></label>-->
55 <!--                        <div class="layui-input-block">-->
56 <!--                            <input id="alarmTime" name="alarmTime" placeholder="请输入报警时间" type="text" class="layui-input" lay-verify="required" required/>-->
57 <!--                        </div>-->
58 <!--                    </div>-->
59                     <div class="layui-inline layui-col-md12">
60                         <label class="layui-form-label">是否恢复(0否1是)<span style="color: red;">*</span></label>
61                         <div class="layui-input-block">
62                             <input id="whetherRecovery" name="whetherRecovery" placeholder="请输入是否恢复(0否1是)" type="text" class="layui-input" lay-verify="required" required/>
63                         </div>
64                     </div>
65 <!--                    <div class="layui-inline layui-col-md12">-->
66 <!--                        <label class="layui-form-label">恢复时间<span style="color: red;">*</span></label>-->
67 <!--                        <div class="layui-input-block">-->
68 <!--                            <input id="recoveryTime" name="recoveryTime" placeholder="请输入恢复时间" type="text" class="layui-input" lay-verify="required" required/>-->
69 <!--                        </div>-->
70 <!--                    </div>-->
71                    <!-- <div class="layui-inline layui-col-md12">
72                         <label class="layui-form-label">预留字段1<span style="color: red;">*</span></label>
73                         <div class="layui-input-block">
74                             <input id="spareField1" name="spareField1" placeholder="请输入预留字段1" type="text" class="layui-input" lay-verify="required" required/>
75                         </div>
76                     </div>
77                     <div class="layui-inline layui-col-md12">
78                         <label class="layui-form-label">预留字段2<span style="color: red;">*</span></label>
79                         <div class="layui-input-block">
80                             <input id="spareField2" name="spareField2" placeholder="请输入预留字段2" type="text" class="layui-input" lay-verify="required" required/>
81                         </div>
82                     </div>-->
83                     <div class="layui-inline layui-col-md12">
84                         <label class="layui-form-label">备注<span style="color: red;">*</span></label>
85                         <div class="layui-input-block">
86                             <input id="remarks" name="remarks" placeholder="请输入备注" type="text" class="layui-input" lay-verify="required" required/>
87                         </div>
88                     </div>
89                 </div>
90             </div>
91         </div>
92     </div>
93     <div class="form-group-bottom text-center">
94         <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
95         <button type="reset" class="layui-btn layui-btn-primary" id="cancel">&emsp;取消&emsp;</button>
96     </div>
97
98 </form>
99
100 @}