懒羊羊
2023-11-14 4ad58b3dbd72e7ca266318f24a203210da5b24d7
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
pm@layout("/common/_form.html",{js:["/assets/modular/pm/workOrder/workOrder_add.js"],css:["/assets/expand/module/formSelects/formSelects-v4.css"]}){
 
<form class="layui-form" id="workOrderForm" lay-filter="workOrderForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="id" type="hidden"/>
 
<!--                    <div class="layui-inline layui-col-md6">-->
<!--                        <label class="layui-form-label">工单编号<span style="color: red;">*</span></label>-->
<!--                        <div class="layui-input-block">-->
<!--                            <input id="workOrderCode" name="workOrderCode" placeholder="请输入工单编号" type="text" class="layui-input" lay-verify="required" required/>-->
<!--                        </div>-->
<!--                    </div>-->
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">订单编号<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="salesOrderCode" name="salesOrderCode" placeholder="请输入订单编号" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">产品编号<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="productCode" name="productCode" placeholder="请输入产品编号" type="text" class="layui-input" lay-verify="required" required autocomplete="off"/>
                            <input id="productName" name="productName" placeholder="请输入产品名称" type="text" hidden/>
                        </div>
                    </div>
<!--                    <div class="layui-inline layui-col-md6">-->
<!--                        <label class="layui-form-label">产品名称<span style="color: red;">*</span></label>-->
<!--                        <div class="layui-input-block">-->
<!--                            <input id="productName" name="productName" placeholder="请输入产品名称" type="text" class="layui-input" lay-verify="required" required/>-->
<!--                        </div>-->
<!--                    </div>-->
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">计划数量<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="planQty" name="planQty" placeholder="请输入计划数量" type="number" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
<!--                    <div class="layui-inline layui-col-md6">-->
<!--                        <label class="layui-form-label">完成数量<span style="color: red;">*</span></label>-->
<!--                        <div class="layui-input-block">-->
<!--                            <input id="produceQty" name="produceQty" placeholder="请输入完成数量" type="number" class="layui-input" lay-verify="required" required/>-->
<!--                        </div>-->
<!--                    </div>-->
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">上线数量<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="onlineQty" name="onlineQty" placeholder="请输入上线数量" type="number" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">车间编码<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <select id="workshopCode" name="workshopCode" lay-filter="workshopCode">
                                <option value="">车间编号</option>
                            </select>
<!--                            <input id="workshopCode" name="workshopCode" placeholder="请输入车间编码" type="text" class="layui-input" lay-verify="required" required/>-->
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">产线编码<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <select id="lineCode" name="lineCode" lay-filter="lineCode">
                                <option value="">产线编码</option>
                            </select>
<!--                            <input id="lineCode" name="lineCode" placeholder="请输入产线编码" type="text" class="layui-input" lay-verify="required" required/>-->
                        </div>
                    </div>
                    <!--                    <div class="layui-inline layui-col-md12">-->
                    <!--                        <label class="layui-form-label">状态<span style="color: red;">*</span></label>-->
                    <!--                        <div class="layui-input-block">-->
                    <!--                            <input id="state" name="state" placeholder="请输入状态" type="text" class="layui-input" lay-verify="required" required/>-->
                    <!--                        </div>-->
                    <!--                    </div>-->
                    <!--                    <div class="layui-inline layui-col-md12">-->
                    <!--                        <label class="layui-form-label">不良数量<span style="color: red;">*</span></label>-->
                    <!--                        <div class="layui-input-block">-->
                    <!--                            <input id="badQty" name="badQty" placeholder="请输入不良数量" type="text" class="layui-input" lay-verify="required" required/>-->
                    <!--                        </div>-->
                    <!--                    </div>-->
                    <!--                    <div class="layui-inline layui-col-md12">-->
                    <!--                        <label class="layui-form-label">返修数量<span style="color: red;">*</span></label>-->
                    <!--                        <div class="layui-input-block">-->
                    <!--                            <input id="repairQty" name="repairQty" placeholder="请输入返修数量" type="text" class="layui-input" lay-verify="required" required/>-->
                    <!--                        </div>-->
                    <!--                    </div>-->
                    <!--                    <div class="layui-inline layui-col-md12">-->
                    <!--                        <label class="layui-form-label">报废数量<span style="color: red;">*</span></label>-->
                    <!--                        <div class="layui-input-block">-->
                    <!--                            <input id="scrapQty" name="scrapQty" placeholder="请输入报废数量" type="text" class="layui-input" lay-verify="required" required/>-->
                    <!--                        </div>-->
                    <!--                    </div>-->
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">工艺流程<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="routeCode" name="routeCode" placeholder="请输入工艺流程" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">产品BOM<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="bomCode" name="bomCode" placeholder="请输入产品BOM" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">工艺配方<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="recipeCode" name="recipeCode" placeholder="请输入工艺配方" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">计划开始时间<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="planStartTime" name="planStartTime" placeholder="请选择计划开始时间" type="text" class="layui-input" />
<!--                            <input id="planStartTime" name="planStartTime" placeholder="请输入计划开始时间" type="text" class="layui-input" lay-verify="required" required/>-->
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">计划结束时间<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="planEndTime" name="planEndTime" placeholder="请选择计划结束时间" type="text" class="layui-input" />
 
<!--                            <input id="planEndTime" name="planEndTime" placeholder="请输入计划结束时间" type="text" class="layui-input" lay-verify="required" required/>-->
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">生产开始时间<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="produceStartTime" name="produceStartTime" placeholder="请选择生产开始时间" type="text" class="layui-input" />
 
<!--                            <input id="produceStartTime" name="produceStartTime" placeholder="请输入生产开始时间" type="text" class="layui-input" lay-verify="required" required/>-->
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">生产结束时间<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="produceEndTime" name="produceEndTime" placeholder="请选择生产结束时间" type="text" class="layui-input" />
<!--                            <input id="produceEndTime" name="produceEndTime" placeholder="请输入生产结束时间" type="text" class="layui-input" lay-verify="required" required/>-->
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">备注</label>
                        <div class="layui-input-block">
                            <input id="remark" name="remark" placeholder="请输入备注" type="text" class="layui-input"/>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" id="cancel">&emsp;取消&emsp;</button>
    </div>
 
</form>
 
@}