懒羊羊
2023-10-10 cd500a4dab1bf530072ff6da83b907eebb48108a
提交 | 用户 | 时间
1ac2bc 1 @layout("/common/_container.html",{js:["/assets/modular/pm/salesOrder/salesOrder.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="salesOrderCode" class="layui-input" type="text" placeholder="订单编号"/>
19                             </div>
20                             <div class="layui-inline">
21                                 客户编号:
22                             </div>
23                             <div class="layui-inline">
24                                 <input id="customerNo" class="layui-input" type="text" placeholder="客户编号"/>
25                             </div>
26                             <div class="layui-inline">
27                                 货号:
28                             </div>
29                             <div class="layui-inline">
30                                 <input id="cargoNo" class="layui-input" type="text" placeholder="货号"/>
31                             </div>
32                             <div class="layui-inline">
33                                 产品编号:
34                             </div>
35                             <div class="layui-inline">
36                                 <input id="productCode" class="layui-input" type="text" placeholder="产品编号"/>
37                             </div>
38                             <div class="layui-inline">
39                                 产品名称:
40                             </div>
41                             <div class="layui-inline">
42                                 <input id="productName" class="layui-input" type="text" placeholder="产品名称"/>
43                             </div>
44                             <br>
45                             <div class="layui-inline">
46                                 车间编码:
47                             </div>
48                             <div class="layui-inline">
49                                 <input id="workshopCode" class="layui-input" type="text" placeholder="车间编码"/>
50                             </div>
51                             <div class="layui-inline">
52                                 产线编码:
53                             </div>
54                             <div class="layui-inline">
55                                 <input id="lineCode" class="layui-input" type="text" placeholder="产线编码"/>
56                             </div>
57                             <div class="layui-inline">
58                                 状态:
59                             </div>
60                             <div class="layui-inline">
61                                 <select name="state" id="state" lay-filter="statusEvent" lay-verify="required">
62                                     <option value="">请选择状态</option>
63                                     <option value="1">未开始</option>
64                                     <option value="2">已拆分</option>
65                                     <option value="3">已下发</option>
66                                     <option value="4">已完成</option>
67                                 </select>
68                             </div>
69                             <div class="layui-inline">
70                                 <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
71                                 <button id="btnAdd" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>添加</button>
72                                 <button id="split" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>拆分</button>
73                                 <button id="distribute" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>下发</button>
74                                 <button id="btnTemp" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>下载模板</button>
75                                 <button id="import" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>导入</button>
76                                 <button id="btnExp" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>导出</button>
77                             </div>
78                         </div>
79                     </div>
80                     <table class="layui-table" id="salesOrderTable" lay-filter="salesOrderTable"></table>
81                 </div>
82             </div>
83         </div>
84     </div>
85 </div>
86
87 <script type="text/html" id="tableBar">
88     <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
89     <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
90 </script>
91 @}