admin
2024-01-08 22f70cc8b2ba603e82bba058db320dced48f9470
提交 | 用户 | 时间
71e81e 1 @layout("/common/_container.html",{js:["/assets/modular/sc/serialNumbersConf/serialNumbersConf.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="years" class="layui-input" type="text" placeholder="年份"/>
19                             </div>
20                             <div class="layui-inline">
21                                 序列号:
22                             </div>
23                             <div class="layui-inline">
24                                 <input id="serialNumber" class="layui-input" type="text" placeholder="序列号"/>
25                             </div>
26                             <div class="layui-inline">
27                                 长度:
28                             </div>
29                             <div class="layui-inline">
30                                 <input id="lengths" class="layui-input" type="text" placeholder="长度"/>
31                             </div>
32 <!--                            <div class="layui-inline">-->
33 <!--                                状态:-->
34 <!--                            </div>-->
35 <!--                            <div class="layui-inline">-->
36 <!--                                <input id="state" class="layui-input" type="text" placeholder="状态"/>-->
37 <!--                            </div>-->
38                             <div class="layui-inline">
39                                 <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
40                                 <button id="btnAdd" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>添加</button>
41                                 <button id="btnExp" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>导出</button>
42                             </div>
43                         </div>
44                     </div>
45                     <table class="layui-table" id="serialNumbersConfTable" lay-filter="serialNumbersConfTable"></table>
46                 </div>
47             </div>
48         </div>
49     </div>
50 </div>
51
52 <script type="text/html" id="tableBar">
53     <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
54     <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
55 </script>
56
57 <script type="text/html" id="stateTpl">
58     <input type="checkbox" lay-filter="status" value="{{d.id}}" lay-skin="switch" lay-text="启用|禁用"
59            {{d.state=='1'?'checked':''}}/>
60 </script>
61 @}