yantian yue
2023-10-18 f4a3430eb6b6800d4ef7330293dd8fb834eee196
提交 | 用户 | 时间
1ac2bc 1 @layout("/common/_container.html",{js:["/assets/modular/bs/opInfo/opInfo.js"]}){
2
3 <div class="layui-body-header">
4     <span class="layui-body-header-title">工序信息管理</span>
5 </div>
6
7 <div class="layui-fluid">
8     <div class="layui-row layui-col-space15">
9         <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
10             <div class="layui-card">
11                 <div class="layui-card-body">
12                     <div class="layui-form toolbar">
13                         <div class="layui-form-item">
14                             <div class="layui-inline">
15                                 工序编号:
16                             </div>
17                             <div class="layui-inline">
18                                 <input id="opCode" class="layui-input" type="text" placeholder="工序编号"/>
19                             </div>
20                             <div class="layui-inline">
21                                 工序名称:
22                             </div>
23                             <div class="layui-inline">
24                                 <input id="opName" class="layui-input" type="text" placeholder="工序名称"/>
25                             </div>
26                             <div class="layui-inline">
27                                 产线编号:
28                             </div>
29                             <div class="layui-inline">
30                                 <input id="lineCode" class="layui-input" type="text" placeholder="产线编号"/>
31                             </div>
32                             <div class="layui-inline">
33                                 工序类型:
34                             </div>
35                             <div class="layui-inline">
36 <!--                                <input id="opType" class="layui-input" type="text" placeholder="工序类型"/>-->
37                                 <select id="opType" name="opType">
38                                     <option value="">请选择工序类型</option>
39                                 </select>
40                             </div>
41                             <div class="layui-inline">
42                                 状态:
43                             </div>
44                             <div class="layui-inline">
45 <!--                                <input id="status" class="layui-input" type="text" placeholder="状态"/>-->
46                                 <select name="status" id="status">
47                                     <option value="">请选择状态</option>
48                                     <option value="ENABLE">启用</option>
49                                     <option value="DISABLE">禁用</option>
50                                 </select>
51                             </div>
52                             <div class="layui-inline">
53                                 <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
54                                 <button id="btnAdd" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>添加</button>
55                                 <button id="btnExp" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>导出</button>
56                             </div>
57                         </div>
58                     </div>
59                     <table class="layui-table" id="opInfoTable" lay-filter="opInfoTable"></table>
60                 </div>
61             </div>
62         </div>
63     </div>
64 </div>
65
66 <script type="text/html" id="tableBar">
67     <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
68     <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
69 </script>
70
71 <script type="text/html" id="statusTpl">
72     <input type="checkbox" lay-filter="status" value="{{d.id}}" lay-skin="switch" lay-text="启用|禁用"
73            {{d.status=='ENABLE'?'checked':''}}/>
74 </script>
75 @}