懒羊羊
2023-08-30 71e81ed1d12e4d69f53c8ad9e066650ad4186293
提交 | 用户 | 时间
71e81e 1 @layout("/common/_form.html",{js:["/assets/modular/bs/equipmentInfo/equipmentInfo_edit.js"]}){
2
3 <form class="layui-form" id="equipmentInfoForm" lay-filter="equipmentInfoForm">
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="equipmentNo" name="equipmentNo" 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">设备名称<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-md6">
24                         <label class="layui-form-label">车间编号<span style="color: red;">*</span></label>
25                         <div class="layui-input-block">
26                             <select id="workshopCode" name="workshopCode" lay-filter="workshopCode">
27                                 <option value="">车间编号</option>
28                             </select>
29                             <!--                            <input id="workshopCode" name="workshopCode" placeholder="请输入车间编号" type="text" class="layui-input" lay-verify="required" required/>-->
30                         </div>
31                     </div>
32                     <div class="layui-inline layui-col-md6">
33                         <label class="layui-form-label">产线编号<span style="color: red;">*</span></label>
34                         <div class="layui-input-block">
35                             <select id="productionLineCode" name="productionLineCode" lay-filter="productionLineCode">
36                                 <option value="">产线编号</option>
37                             </select>
38                             <!--                            <input id="productionLineCode" name="productionLineCode" placeholder="请输入产线编号" type="text" class="layui-input" lay-verify="required" required/>-->
39                         </div>
40                     </div>
41                     <div class="layui-inline layui-col-md6">
42                         <label class="layui-form-label">工位编号<span style="color: red;">*</span></label>
43                         <div class="layui-input-block">
44                             <select id="locationCode" name="locationCode" lay-filter="locationCode">
45                                 <option value="">工位编号</option>
46                             </select>
47                             <!--                            <input id="locationCode" name="locationCode" placeholder="请输入工位编号" type="text" class="layui-input" lay-verify="required" required/>-->
48                         </div>
49                     </div>
50                     <div class="layui-inline layui-col-md6">
51                         <label class="layui-form-label">设备类型</label>
52                         <div class="layui-input-block">
53                             <input id="equipmentType" name="equipmentType" placeholder="请输入设备类型" type="text" class="layui-input"/>
54                         </div>
55                     </div>
56                     <div class="layui-inline layui-col-md6">
57                         <label class="layui-form-label">规格型号</label>
58                         <div class="layui-input-block">
59                             <input id="equipmentModel" name="equipmentModel" placeholder="请输入规格型号" type="text" class="layui-input"/>
60                         </div>
61                     </div>
62
63                     <div class="layui-inline layui-col-md6">
64                         <label class="layui-form-label">供应商编号</label>
65                         <div class="layui-input-block">
66                             <input id="supplierCode" name="supplierCode" placeholder="请输入供应商编号" type="text" class="layui-input"/>
67                         </div>
68                     </div>
69                     <!--<div class="layui-inline layui-col-md12">
70                         <label class="layui-form-label">预留字段1<span style="color: red;">*</span></label>
71                         <div class="layui-input-block">
72                             <input id="spareField1" name="spareField1" placeholder="请输入预留字段1" type="text" class="layui-input" lay-verify="required" required/>
73                         </div>
74                     </div>
75                     <div class="layui-inline layui-col-md12">
76                         <label class="layui-form-label">预留字段2<span style="color: red;">*</span></label>
77                         <div class="layui-input-block">
78                             <input id="spareField2" name="spareField2" placeholder="请输入预留字段2" type="text" class="layui-input" lay-verify="required" required/>
79                         </div>
80                     </div>
81                     <div class="layui-inline layui-col-md12">
82                         <label class="layui-form-label">预留字段3<span style="color: red;">*</span></label>
83                         <div class="layui-input-block">
84                             <input id="spareField3" name="spareField3" placeholder="请输入预留字段3" type="text" class="layui-input" lay-verify="required" required/>
85                         </div>
86                     </div>
87                     <div class="layui-inline layui-col-md12">
88                         <label class="layui-form-label">预留字段4<span style="color: red;">*</span></label>
89                         <div class="layui-input-block">
90                             <input id="spareField4" name="spareField4" placeholder="请输入预留字段4" type="text" class="layui-input" lay-verify="required" required/>
91                         </div>
92                     </div>-->
93                     <div class="layui-inline layui-col-md12">
94                         <label class="layui-form-label">备注</label>
95                         <div class="layui-input-block">
96                             <textarea id="remark" name="remarks" placeholder="请输入备注" class="layui-textarea"></textarea>
97                         </div>
98                     </div>
99                 </div>
100             </div>
101         </div>
102     </div>
103     <div class="form-group-bottom text-center">
104         <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
105         <button type="reset" class="layui-btn layui-btn-primary" id="cancel">&emsp;取消&emsp;</button>
106     </div>
107
108 </form>
109
110 @}