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