cl
2024-01-23 ff13e6159eab48d53bb528a10d0ab8850fdf7ad5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
@layout("/common/_container.html",{js:["/assets/modular/sc/serialNumbersConf/serialNumbersConf.js"]}){
 
<div class="layui-body-header">
    <span class="layui-body-header-title">产品序列号配置管理</span>
</div>
 
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                年份:
                            </div>
                            <div class="layui-inline">
                                <input id="years" class="layui-input" type="text" placeholder="年份"/>
                            </div>
                            <div class="layui-inline">
                                序列号:
                            </div>
                            <div class="layui-inline">
                                <input id="serialNumber" class="layui-input" type="text" placeholder="序列号"/>
                            </div>
                            <div class="layui-inline">
                                长度:
                            </div>
                            <div class="layui-inline">
                                <input id="lengths" class="layui-input" type="text" placeholder="长度"/>
                            </div>
<!--                            <div class="layui-inline">-->
<!--                                状态:-->
<!--                            </div>-->
<!--                            <div class="layui-inline">-->
<!--                                <input id="state" class="layui-input" type="text" placeholder="状态"/>-->
<!--                            </div>-->
                            <div class="layui-inline">
                                <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
                                <button id="btnAdd" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>添加</button>
                                <button id="btnExp" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>导出</button>
                            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="serialNumbersConfTable" lay-filter="serialNumbersConfTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>
 
<script type="text/html" id="tableBar">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
</script>
 
<script type="text/html" id="stateTpl">
    <input type="checkbox" lay-filter="status" value="{{d.id}}" lay-skin="switch" lay-text="启用|禁用"
           {{d.state=='1'?'checked':''}}/>
</script>
@}