懒羊羊
2023-10-17 92cffc135581ce2cf4aecac745ddb88e739c17de
提交 | 用户 | 时间
1ac2bc 1 @layout("/common/_container.html",{js:["/assets/modular/bs/productRouteInfo/productRouteInfo.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="routeCode" class="layui-input" type="text" placeholder="流程编码"/>
19                             </div>
20                             <div class="layui-inline">
21                                 流程名称:
22                             </div>
23                             <div class="layui-inline">
24                                 <input id="routeName" class="layui-input" type="text" placeholder="流程名称"/>
25                             </div>
26                             <div class="layui-inline">
27                                 产品编码:
28                             </div>
29                             <div class="layui-inline">
30                                 <input id="productCode" class="layui-input" type="text" placeholder="产品编码"/>
31                             </div>
32                             <div class="layui-inline">
33                                 产品名称:
34                             </div>
35                             <div class="layui-inline">
36                                 <input id="productName" class="layui-input" type="text" placeholder="产品名称"/>
37                             </div>
38                             <div class="layui-inline">
39                                 状态:
40                             </div>
41                             <div class="layui-inline">
42 <!--                                <input id="status" class="layui-input" type="text" placeholder="状态"/>-->
43                                 <select name="status" id="status">
44                                     <option value="">请选择状态</option>
45                                     <option value="ENABLE">启用</option>
46                                     <option value="DISABLE">禁用</option>
47                                 </select>
48                             </div>
49                             <div class="layui-inline">
50                                 <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
51                                 <button id="btnAdd" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>添加</button>
52                                 <button id="btnExp" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>导出</button>
53                             </div>
54                         </div>
55                     </div>
56                     <table class="layui-table" id="productRouteInfoTable" lay-filter="productRouteInfoTable"></table>
57                 </div>
58             </div>
59         </div>
60     </div>
61 </div>
62
63 <script type="text/html" id="tableBar">
64     <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
65     <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
66 </script>
67
68 <script type="text/html" id="statusTpl">
69     <input type="checkbox" lay-filter="status" value="{{d.id}}" lay-skin="switch" lay-text="启用|禁用"
70            {{d.status=='ENABLE'?'checked':''}}/>
71 </script>
72 @}