懒羊羊
2023-10-17 92cffc135581ce2cf4aecac745ddb88e739c17de
提交 | 用户 | 时间
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">
92cffc 26                             <input id="productCode" name="productCode" placeholder="请输入产品编号" type="text" class="layui-input" lay-verify="required" required autocomplete="off"/>
27                             <input id="productName" name="productName" placeholder="请输入产品名称" type="text" hidden/>
1ac2bc 28                         </div>
29                     </div>
92cffc 30 <!--                    <div class="layui-inline layui-col-md6">-->
31 <!--                        <label class="layui-form-label">产品名称<span style="color: red;">*</span></label>-->
32 <!--                        <div class="layui-input-block">-->
33 <!--                            <input id="productName" name="productName" placeholder="请输入产品名称" type="text" class="layui-input" lay-verify="required" required/>-->
34 <!--                        </div>-->
35 <!--                    </div>-->
1ac2bc 36                     <div class="layui-inline layui-col-md6">
37                         <label class="layui-form-label">计划数量<span style="color: red;">*</span></label>
38                         <div class="layui-input-block">
39                             <input id="planQty" name="planQty" placeholder="请输入计划数量" type="number" class="layui-input" lay-verify="required" required/>
40                         </div>
41                     </div>
92cffc 42 <!--                    <div class="layui-inline layui-col-md6">-->
43 <!--                        <label class="layui-form-label">完成数量<span style="color: red;">*</span></label>-->
44 <!--                        <div class="layui-input-block">-->
45 <!--                            <input id="produceQty" name="produceQty" placeholder="请输入完成数量" type="number" class="layui-input" lay-verify="required" required/>-->
46 <!--                        </div>-->
47 <!--                    </div>-->
1ac2bc 48                     <div class="layui-inline layui-col-md6">
49                         <label class="layui-form-label">上线数量<span style="color: red;">*</span></label>
50                         <div class="layui-input-block">
51                             <input id="onlineQty" name="onlineQty" placeholder="请输入上线数量" type="number" class="layui-input" lay-verify="required" required/>
52                         </div>
53                     </div>
54                     <div class="layui-inline layui-col-md6">
55                         <label class="layui-form-label">车间编码<span style="color: red;">*</span></label>
56                         <div class="layui-input-block">
57                             <select id="workshopCode" name="workshopCode" lay-filter="workshopCode">
58                                 <option value="">车间编号</option>
59                             </select>
60 <!--                            <input id="workshopCode" name="workshopCode" placeholder="请输入车间编码" type="text" class="layui-input" lay-verify="required" required/>-->
61                         </div>
62                     </div>
63                     <div class="layui-inline layui-col-md6">
64                         <label class="layui-form-label">产线编码<span style="color: red;">*</span></label>
65                         <div class="layui-input-block">
66                             <select id="lineCode" name="lineCode" lay-filter="lineCode">
67                                 <option value="">产线编码</option>
68                             </select>
69 <!--                            <input id="lineCode" name="lineCode" placeholder="请输入产线编码" type="text" class="layui-input" lay-verify="required" required/>-->
70                         </div>
71                     </div>
72                     <!--                    <div class="layui-inline layui-col-md12">-->
73                     <!--                        <label class="layui-form-label">状态<span style="color: red;">*</span></label>-->
74                     <!--                        <div class="layui-input-block">-->
75                     <!--                            <input id="state" name="state" placeholder="请输入状态" type="text" class="layui-input" lay-verify="required" required/>-->
76                     <!--                        </div>-->
77                     <!--                    </div>-->
78                     <!--                    <div class="layui-inline layui-col-md12">-->
79                     <!--                        <label class="layui-form-label">不良数量<span style="color: red;">*</span></label>-->
80                     <!--                        <div class="layui-input-block">-->
81                     <!--                            <input id="badQty" name="badQty" placeholder="请输入不良数量" type="text" class="layui-input" lay-verify="required" required/>-->
82                     <!--                        </div>-->
83                     <!--                    </div>-->
84                     <!--                    <div class="layui-inline layui-col-md12">-->
85                     <!--                        <label class="layui-form-label">返修数量<span style="color: red;">*</span></label>-->
86                     <!--                        <div class="layui-input-block">-->
87                     <!--                            <input id="repairQty" name="repairQty" placeholder="请输入返修数量" type="text" class="layui-input" lay-verify="required" required/>-->
88                     <!--                        </div>-->
89                     <!--                    </div>-->
90                     <!--                    <div class="layui-inline layui-col-md12">-->
91                     <!--                        <label class="layui-form-label">报废数量<span style="color: red;">*</span></label>-->
92                     <!--                        <div class="layui-input-block">-->
93                     <!--                            <input id="scrapQty" name="scrapQty" placeholder="请输入报废数量" type="text" class="layui-input" lay-verify="required" required/>-->
94                     <!--                        </div>-->
95                     <!--                    </div>-->
96                     <div class="layui-inline layui-col-md6">
97                         <label class="layui-form-label">工艺流程<span style="color: red;">*</span></label>
98                         <div class="layui-input-block">
99                             <input id="routeCode" name="routeCode" placeholder="请输入工艺流程" type="text" class="layui-input" lay-verify="required" required/>
100                         </div>
101                     </div>
102                     <div class="layui-inline layui-col-md6">
103                         <label class="layui-form-label">产品BOM<span style="color: red;">*</span></label>
104                         <div class="layui-input-block">
105                             <input id="bomCode" name="bomCode" placeholder="请输入产品BOM" type="text" class="layui-input" lay-verify="required" required/>
106                         </div>
107                     </div>
108                     <div class="layui-inline layui-col-md6">
109                         <label class="layui-form-label">工艺配方<span style="color: red;">*</span></label>
110                         <div class="layui-input-block">
111                             <input id="recipeCode" name="recipeCode" placeholder="请输入工艺配方" type="text" class="layui-input" lay-verify="required" required/>
112                         </div>
113                     </div>
114                     <div class="layui-inline layui-col-md6">
115                         <label class="layui-form-label">计划开始时间<span style="color: red;">*</span></label>
116                         <div class="layui-input-block">
117                             <input id="planStartTime" name="planStartTime" placeholder="请选择计划开始时间" type="text" class="layui-input" />
118 <!--                            <input id="planStartTime" name="planStartTime" placeholder="请输入计划开始时间" type="text" class="layui-input" lay-verify="required" required/>-->
119                         </div>
120                     </div>
121                     <div class="layui-inline layui-col-md6">
122                         <label class="layui-form-label">计划结束时间<span style="color: red;">*</span></label>
123                         <div class="layui-input-block">
124                             <input id="planEndTime" name="planEndTime" placeholder="请选择计划结束时间" type="text" class="layui-input" />
125
126 <!--                            <input id="planEndTime" name="planEndTime" placeholder="请输入计划结束时间" type="text" class="layui-input" lay-verify="required" required/>-->
127                         </div>
128                     </div>
129                     <div class="layui-inline layui-col-md6">
130                         <label class="layui-form-label">生产开始时间<span style="color: red;">*</span></label>
131                         <div class="layui-input-block">
132                             <input id="produceStartTime" name="produceStartTime" placeholder="请选择生产开始时间" type="text" class="layui-input" />
133
134 <!--                            <input id="produceStartTime" name="produceStartTime" placeholder="请输入生产开始时间" type="text" class="layui-input" lay-verify="required" required/>-->
135                         </div>
136                     </div>
137                     <div class="layui-inline layui-col-md6">
138                         <label class="layui-form-label">生产结束时间<span style="color: red;">*</span></label>
139                         <div class="layui-input-block">
140                             <input id="produceEndTime" name="produceEndTime" placeholder="请选择生产结束时间" type="text" class="layui-input" />
141 <!--                            <input id="produceEndTime" name="produceEndTime" placeholder="请输入生产结束时间" type="text" class="layui-input" lay-verify="required" required/>-->
142                         </div>
143                     </div>
144                     <div class="layui-inline layui-col-md6">
145                         <label class="layui-form-label">备注</label>
146                         <div class="layui-input-block">
147                             <input id="remark" name="remark" placeholder="请输入备注" type="text" class="layui-input"/>
148                         </div>
149                     </div>
150                 </div>
151             </div>
152         </div>
153     </div>
154     <div class="form-group-bottom text-center">
155         <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
156         <button type="reset" class="layui-btn layui-btn-primary" id="cancel">&emsp;取消&emsp;</button>
157     </div>
158
159 </form>
160
161 @}