懒羊羊
2023-10-17 92cffc135581ce2cf4aecac745ddb88e739c17de
提交 | 用户 | 时间
1ac2bc 1 @layout("/common/_form.html",{js:["/assets/modular/bs/opInfo/opInfo_add.js"],css:["/assets/expand/module/formSelects/formSelects-v4.css"]}){
2
3 <form class="layui-form" id="opInfoForm" lay-filter="opInfoForm">
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="opCode" name="opCode" 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">工序名称</label>
19                         <div class="layui-input-block">
20                             <input id="opName" name="opName" placeholder="请输入工序名称" type="text" class="layui-input"/>
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                             <select id="lineCode" name="lineCode" lay-filter="lineCode">
27                                 <option value="">产线编号</option>
28                             </select>
29 <!--                            <input id="lineCode" name="lineCode" placeholder="请输入产线编号" type="text" class="layui-input" lay-verify="required" required/>-->
30                         </div>
31                     </div>
32                     <div class="layui-inline layui-col-md12">
33                         <label class="layui-form-label">工序类型<span style="color: red;">*</span></label>
34                         <div class="layui-input-block">
35                             <select id="opType" name="opType" lay-filter="opType" lay-verify="required" required>
36                                 <option value="">请选择工序类型</option>
37                             </select>
38 <!--                            <input id="opType" name="opType" 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                             <select name="status" id="status" lay-filter="statusEvent" lay-verify="required">
45                                 <option value="">请选择状态</option>
46                                 <option value="ENABLE">启用</option>
47                                 <option value="DISABLE">禁用</option>
48                             </select>
49 <!--                            <input id="status" name="status" placeholder="请输入状态(字典)" type="text" class="layui-input" lay-verify="required" required/>-->
50                         </div>
51                     </div>
52                     <div class="layui-inline layui-col-md12">
53                         <label class="layui-form-label">备注</label>
54                         <div class="layui-input-block">
55                             <input id="remark" name="remark" placeholder="请输入备注" type="text" class="layui-input"/>
56                         </div>
57                     </div>
58                 </div>
59             </div>
60         </div>
61     </div>
62     <div class="form-group-bottom text-center">
63         <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
64         <button type="reset" class="layui-btn layui-btn-primary" id="cancel">&emsp;取消&emsp;</button>
65     </div>
66
67 </form>
68
69 @}