懒羊羊
2023-10-17 92cffc135581ce2cf4aecac745ddb88e739c17de
提交 | 用户 | 时间
1ac2bc 1 @layout("/common/_form.html",{js:["/assets/modular/pm/salesOrder/salesOrder_add.js"],css:["/assets/expand/module/formSelects/formSelects-v4.css"]}){
2
3 <form class="layui-form" id="salesOrderForm" lay-filter="salesOrderForm">
4     <div class="layui-fluid" style="padding-bottom: 75px;">
5         <div class="layui-card">
6             <div class="layui-card-header">基本信息</div>
7             <div class="layui-card-body">
8                 <div class="layui-form-item layui-row">
9                     <input name="id" type="hidden"/>
10
11                     <div class="layui-inline layui-col-md6">
12                         <label class="layui-form-label">订单编号<span style="color: red;">*</span></label>
13                         <div class="layui-input-block">
14                             <input id="salesOrderCode" name="salesOrderCode" placeholder="请输入订单编号" type="text" class="layui-input" lay-verify="required" required/>
15                         </div>
16                     </div>
17                     <div class="layui-inline layui-col-md6">
18                         <label class="layui-form-label">客户编号</label>
19                         <div class="layui-input-block">
20                             <input id="customerNo" name="customerNo" placeholder="请输入客户编号" type="text" class="layui-input"/>
21                         </div>
22                     </div>
23                     <div class="layui-inline layui-col-md6">
24                         <label class="layui-form-label">产品编号<span style="color: red;">*</span></label>
25                         <div class="layui-input-block">
26                             <input id="productCode" name="productCode" placeholder="请输入产品编号" type="text" class="layui-input" lay-verify="required" required/>
27                         </div>
28                     </div>
29                     <div class="layui-inline layui-col-md6">
30                         <label class="layui-form-label">产品名称</label>
31                         <div class="layui-input-block">
32                             <input id="productName" name="productName" placeholder="请输入产品名称" type="text" class="layui-input"/>
33                         </div>
34                     </div>
35                     <div class="layui-inline layui-col-md6">
36                         <label class="layui-form-label">货号</label>
37                         <div class="layui-input-block">
38                             <input id="cargoNo" name="cargoNo" placeholder="请输入货号" type="text" class="layui-input"/>
39                         </div>
40                     </div>
41                     <div class="layui-inline layui-col-md6">
42                         <label class="layui-form-label">计划数量<span style="color: red;">*</span></label>
43                         <div class="layui-input-block">
44                             <input id="planNumber" name="planNumber" placeholder="请输入计划数量" type="number" class="layui-input" lay-verify="required" required/>
45                         </div>
46                     </div>
47                     <div class="layui-inline layui-col-md6">
48                         <label class="layui-form-label">计划开始时间<span style="color: red;">*</span></label>
49                         <div class="layui-input-block">
50                             <input id="planStartTime" name="planStartTime" placeholder="请输入计划开始时间" type="text" class="layui-input" lay-verify="required" required/>
51                         </div>
52                     </div>
53                     <div class="layui-inline layui-col-md6">
54                         <label class="layui-form-label">计划结束时间<span style="color: red;">*</span></label>
55                         <div class="layui-input-block">
56                             <input id="planEndTime" name="planEndTime" placeholder="请输入计划结束时间" type="text" class="layui-input" lay-verify="required" required/>
57                         </div>
58                     </div>
59 <!--                    <div class="layui-inline layui-col-md6">-->
60 <!--                        <label class="layui-form-label">车间编码<span style="color: red;">*</span></label>-->
61 <!--                        <div class="layui-input-block">-->
62 <!--                            <select id="workshopCode" name="workshopCode" lay-filter="workshopCode">-->
63 <!--                                <option value="">车间编号</option>-->
64 <!--                            </select>-->
65 <!--&lt;!&ndash;                            <input id="workshopCode" name="workshopCode" placeholder="请输入车间编码" type="text" class="layui-input" lay-verify="required" required/>&ndash;&gt;-->
66 <!--                        </div>-->
67 <!--                    </div>-->
68                     <div class="layui-inline layui-col-md6">
69                         <label class="layui-form-label">产线编码<span style="color: red;">*</span></label>
70                         <div class="layui-input-block">
71                             <select id="lineCode" name="lineCode" lay-filter="lineCode">
72                                 <option value="">产线编码</option>
73                             </select>
74 <!--                            <input id="lineCode" name="lineCode" placeholder="请输入产线编码" type="text" class="layui-input" lay-verify="required" required/>-->
75                         </div>
76                     </div>
77                     <div class="layui-inline layui-col-md6">
78                         <label class="layui-form-label">交货时间<span style="color: red;">*</span></label>
79                         <div class="layui-input-block">
80                             <input id="deliveryTime" name="deliveryTime" placeholder="请输入交货时间" type="text" class="layui-input" lay-verify="required" required/>
81                         </div>
82                     </div>
83 <!--                    <div class="layui-inline layui-col-md12">-->
84 <!--                        <label class="layui-form-label">状态(1未开始、2已拆分3已下发4已完成)<span style="color: red;">*</span></label>-->
85 <!--                        <div class="layui-input-block">-->
86 <!--                            <input id="state" name="state" placeholder="请输入状态(1未开始、2已拆分3已下发4已完成)" type="text" class="layui-input" lay-verify="required" required/>-->
87 <!--                        </div>-->
88 <!--                    </div>-->
89 <!--                    <div class="layui-inline layui-col-md6">-->
90 <!--                        <label class="layui-form-label">订单来源<span style="color: red;">*</span></label>-->
91 <!--                        <div class="layui-input-block">-->
92 <!--                            <input id="orderSource" name="orderSource" placeholder="请输入订单来源" type="text" class="layui-input" lay-verify="required" required/>-->
93 <!--                        </div>-->
94 <!--                    </div>-->
95                     <div class="layui-inline layui-col-md12">
96                         <label class="layui-form-label">备注</label>
97                         <div class="layui-input-block">
98                             <input id="remark" name="remark" placeholder="请输入备注" type="text" class="layui-textarea"/>
99                         </div>
100                     </div>
101                 </div>
102             </div>
103         </div>
104     </div>
105     <div class="form-group-bottom text-center">
106         <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
107         <button type="reset" class="layui-btn layui-btn-primary" id="cancel">&emsp;取消&emsp;</button>
108     </div>
109
110 </form>
111
112 @}