懒羊羊
2023-10-17 5d91e0a52879bf16511817b3cd20496f07717ab1
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
@layout("/common/_container.html",{js:["/assets/modular/pm/salesOrder/salesOrder.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="salesOrderCode" class="layui-input" type="text" placeholder="订单编号"/>
                            </div>
                            <div class="layui-inline">
                                客户编号:
                            </div>
                            <div class="layui-inline">
                                <input id="customerNo" class="layui-input" type="text" placeholder="客户编号"/>
                            </div>
                            <div class="layui-inline">
                                货号:
                            </div>
                            <div class="layui-inline">
                                <input id="cargoNo" class="layui-input" type="text" placeholder="货号"/>
                            </div>
                            <div class="layui-inline">
                                产品编号:
                            </div>
                            <div class="layui-inline">
                                <input id="productCode" class="layui-input" type="text" placeholder="产品编号"/>
                            </div>
                            <div class="layui-inline">
                                产品名称:
                            </div>
                            <div class="layui-inline">
                                <input id="productName" class="layui-input" type="text" placeholder="产品名称"/>
                            </div>
                            <br>
                            <div class="layui-inline">
                                车间编码:
                            </div>
                            <div class="layui-inline">
                                <input id="workshopCode" class="layui-input" type="text" placeholder="车间编码"/>
                            </div>
                            <div class="layui-inline">
                                产线编码:
                            </div>
                            <div class="layui-inline">
                                <input id="lineCode" class="layui-input" type="text" placeholder="产线编码"/>
                            </div>
                            <div class="layui-inline">
                                状态:
                            </div>
                            <div class="layui-inline">
                                <select name="state" id="state" lay-filter="statusEvent" lay-verify="required">
                                    <option value="">请选择状态</option>
                                    <option value="1">未开始</option>
                                    <option value="2">已拆分</option>
                                    <option value="3">已下发</option>
                                    <option value="4">已完成</option>
                                </select>
                            </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="split" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>拆分</button>
                                <button id="distribute" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>下发</button>
                                <button id="btnTemp" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>下载模板</button>
                                <button id="import" 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="salesOrderTable" lay-filter="salesOrderTable"></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>
@}