懒羊羊
2023-09-19 3d2401cf8ea9ae3d830c0568e7751e2e8cc8db22
提交 | 用户 | 时间
1ac2bc 1 pm@layout("/common/_form.html",{js:["/assets/modular/pm/workOrder/workOrder_add.js"],css:["/assets/expand/module/formSelects/formSelects-v4.css"]}){
2
3 <form class="layui-form" id="workOrderForm" lay-filter="workOrderForm">
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="workOrderCode" name="workOrderCode" 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">订单编号<span style="color: red;">*</span></label>
19                         <div class="layui-input-block">
20                             <input id="salesOrderCode" name="salesOrderCode" placeholder="请输入订单编号" type="text" class="layui-input" lay-verify="required" required/>
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">产品名称<span style="color: red;">*</span></label>
31                         <div class="layui-input-block">
32                             <input id="productName" name="productName" placeholder="请输入产品名称" type="text" class="layui-input" lay-verify="required" required/>
33                         </div>
34                     </div>
35                     <div class="layui-inline layui-col-md6">
36                         <label class="layui-form-label">计划数量<span style="color: red;">*</span></label>
37                         <div class="layui-input-block">
38                             <input id="planQty" name="planQty" placeholder="请输入计划数量" type="number" class="layui-input" lay-verify="required" required/>
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="produceQty" name="produceQty" 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="onlineQty" name="onlineQty" placeholder="请输入上线数量" type="number" 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                             <select id="workshopCode" name="workshopCode" lay-filter="workshopCode">
57                                 <option value="">车间编号</option>
58                             </select>
59 <!--                            <input id="workshopCode" name="workshopCode" placeholder="请输入车间编码" type="text" class="layui-input" lay-verify="required" required/>-->
60                         </div>
61                     </div>
62                     <div class="layui-inline layui-col-md6">
63                         <label class="layui-form-label">产线编码<span style="color: red;">*</span></label>
64                         <div class="layui-input-block">
65                             <select id="lineCode" name="lineCode" lay-filter="lineCode">
66                                 <option value="">产线编码</option>
67                             </select>
68 <!--                            <input id="lineCode" name="lineCode" placeholder="请输入产线编码" type="text" class="layui-input" lay-verify="required" required/>-->
69                         </div>
70                     </div>
71                     <!--                    <div class="layui-inline layui-col-md12">-->
72                     <!--                        <label class="layui-form-label">状态<span style="color: red;">*</span></label>-->
73                     <!--                        <div class="layui-input-block">-->
74                     <!--                            <input id="state" name="state" placeholder="请输入状态" type="text" class="layui-input" lay-verify="required" required/>-->
75                     <!--                        </div>-->
76                     <!--                    </div>-->
77                     <!--                    <div class="layui-inline layui-col-md12">-->
78                     <!--                        <label class="layui-form-label">不良数量<span style="color: red;">*</span></label>-->
79                     <!--                        <div class="layui-input-block">-->
80                     <!--                            <input id="badQty" name="badQty" 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">返修数量<span style="color: red;">*</span></label>-->
85                     <!--                        <div class="layui-input-block">-->
86                     <!--                            <input id="repairQty" name="repairQty" placeholder="请输入返修数量" type="text" class="layui-input" lay-verify="required" required/>-->
87                     <!--                        </div>-->
88                     <!--                    </div>-->
89                     <!--                    <div class="layui-inline layui-col-md12">-->
90                     <!--                        <label class="layui-form-label">报废数量<span style="color: red;">*</span></label>-->
91                     <!--                        <div class="layui-input-block">-->
92                     <!--                            <input id="scrapQty" name="scrapQty" placeholder="请输入报废数量" type="text" class="layui-input" lay-verify="required" required/>-->
93                     <!--                        </div>-->
94                     <!--                    </div>-->
95                     <div class="layui-inline layui-col-md6">
96                         <label class="layui-form-label">工艺流程<span style="color: red;">*</span></label>
97                         <div class="layui-input-block">
98                             <input id="routeCode" name="routeCode" placeholder="请输入工艺流程" type="text" class="layui-input" lay-verify="required" required/>
99                         </div>
100                     </div>
101                     <div class="layui-inline layui-col-md6">
102                         <label class="layui-form-label">产品BOM<span style="color: red;">*</span></label>
103                         <div class="layui-input-block">
104                             <input id="bomCode" name="bomCode" placeholder="请输入产品BOM" type="text" class="layui-input" lay-verify="required" required/>
105                         </div>
106                     </div>
107                     <div class="layui-inline layui-col-md6">
108                         <label class="layui-form-label">工艺配方<span style="color: red;">*</span></label>
109                         <div class="layui-input-block">
110                             <input id="recipeCode" name="recipeCode" placeholder="请输入工艺配方" type="text" class="layui-input" lay-verify="required" required/>
111                         </div>
112                     </div>
113                     <div class="layui-inline layui-col-md6">
114                         <label class="layui-form-label">计划开始时间<span style="color: red;">*</span></label>
115                         <div class="layui-input-block">
116                             <input id="planStartTime" name="planStartTime" placeholder="请选择计划开始时间" type="text" class="layui-input" />
117 <!--                            <input id="planStartTime" name="planStartTime" placeholder="请输入计划开始时间" type="text" class="layui-input" lay-verify="required" required/>-->
118                         </div>
119                     </div>
120                     <div class="layui-inline layui-col-md6">
121                         <label class="layui-form-label">计划结束时间<span style="color: red;">*</span></label>
122                         <div class="layui-input-block">
123                             <input id="planEndTime" name="planEndTime" placeholder="请选择计划结束时间" type="text" class="layui-input" />
124
125 <!--                            <input id="planEndTime" name="planEndTime" placeholder="请输入计划结束时间" type="text" class="layui-input" lay-verify="required" required/>-->
126                         </div>
127                     </div>
128                     <div class="layui-inline layui-col-md6">
129                         <label class="layui-form-label">生产开始时间<span style="color: red;">*</span></label>
130                         <div class="layui-input-block">
131                             <input id="produceStartTime" name="produceStartTime" placeholder="请选择生产开始时间" type="text" class="layui-input" />
132
133 <!--                            <input id="produceStartTime" name="produceStartTime" placeholder="请输入生产开始时间" type="text" class="layui-input" lay-verify="required" required/>-->
134                         </div>
135                     </div>
136                     <div class="layui-inline layui-col-md6">
137                         <label class="layui-form-label">生产结束时间<span style="color: red;">*</span></label>
138                         <div class="layui-input-block">
139                             <input id="produceEndTime" name="produceEndTime" placeholder="请选择生产结束时间" type="text" class="layui-input" />
140 <!--                            <input id="produceEndTime" name="produceEndTime" placeholder="请输入生产结束时间" type="text" class="layui-input" lay-verify="required" required/>-->
141                         </div>
142                     </div>
143                     <div class="layui-inline layui-col-md6">
144                         <label class="layui-form-label">备注</label>
145                         <div class="layui-input-block">
146                             <input id="remark" name="remark" placeholder="请输入备注" type="text" class="layui-input"/>
147                         </div>
148                     </div>
149                 </div>
150             </div>
151         </div>
152     </div>
153     <div class="form-group-bottom text-center">
154         <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
155         <button type="reset" class="layui-btn layui-btn-primary" id="cancel">&emsp;取消&emsp;</button>
156     </div>
157
158 </form>
159
160 @}