懒羊羊
2023-09-19 3d2401cf8ea9ae3d830c0568e7751e2e8cc8db22
提交 | 用户 | 时间
3d2401 1 @layout("/common/_form.html",{js:["/assets/modular/bs/equipmentInfo/equipmentInfo_add.js"],css:["/assets/expand/module/formSelects/formSelects-v4.css"]}){
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                             <input id="equipmentType" name="equipmentType" placeholder="请输入设备类型" type="text" class="layui-input" lay-verify="required" required/>
27                         </div>
28                     </div>
29                     <div class="layui-inline layui-col-md6">
30                         <label class="layui-form-label">规格型号</label>
31                         <div class="layui-input-block">
32                             <input id="equipmentModel" name="equipmentModel" placeholder="请输入规格型号" type="text" class="layui-input"/>
33                         </div>
34                     </div>
35                     <div class="layui-inline layui-col-md6">
36                         <label class="layui-form-label">车间编号<span style="color: red;">*</span></label>
37                         <div class="layui-input-block">
38                             <select id="workshopCode" name="workshopCode" lay-filter="workshopCode">
39                                 <option value="">车间编号</option>
40                             </select>
41                         </div>
42                     </div>
43                     <div class="layui-inline layui-col-md6">
44                         <label class="layui-form-label">产线编号<span style="color: red;">*</span></label>
45                         <div class="layui-input-block">
46                             <select id="productionLineCode" name="productionLineCode" lay-filter="productionLineCode">
47                                 <option value="">产线编号</option>
48                             </select>
49                         </div>
50                     </div>
51                     <div class="layui-inline layui-col-md6">
52                         <label class="layui-form-label">工位编号<span style="color: red;">*</span></label>
53                         <div class="layui-input-block">
54                             <select id="locationCode" name="locationCode" lay-filter="locationCode">
55                                 <option value="">工位编号</option>
56                             </select>
57                         </div>
58                     </div>
59                     <div class="layui-inline layui-col-md6">
60                         <label class="layui-form-label">供应商编号</label>
61                         <div class="layui-input-block">
62                             <input id="supplierCode" name="supplierCode" placeholder="请输入供应商编号" type="text" class="layui-input"/>
63                         </div>
64                     </div>
65                     <div class="layui-inline layui-col-md6">
66                         <label class="layui-form-label">备注</label>
67                         <div class="layui-input-block">
68                             <input id="remark" name="remark" placeholder="请输入备注" type="text" class="layui-input"/>
69                         </div>
70                     </div>
71                 </div>
72             </div>
73         </div>
74     </div>
75     <div class="form-group-bottom text-center">
76         <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
77         <button type="reset" class="layui-btn layui-btn-primary" id="cancel">&emsp;取消&emsp;</button>
78     </div>
79
80 </form>
81
82 @}