懒羊羊
2023-08-30 1ac2bc1590406d9babec036e154d8d08f34a6aa1
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
@layout("/common/_form.html",{js:["/assets/modular/bs/opInfo/opInfo_add.js"],css:["/assets/expand/module/formSelects/formSelects-v4.css"]}){
 
<form class="layui-form" id="opInfoForm" lay-filter="opInfoForm">
    <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-md12">
                        <label class="layui-form-label">工序编号<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="opCode" name="opCode" placeholder="请输入工序编号" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">工序名称</label>
                        <div class="layui-input-block">
                            <input id="opName" name="opName" placeholder="请输入工序名称" type="text" class="layui-input"/>
                        </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">
                            <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">
                            <select id="opType" name="opType" lay-filter="opType" lay-verify="required" required>
                                <option value="">请选择工序类型</option>
                            </select>
<!--                            <input id="opType" name="opType" 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">
                            <select name="status" id="status" lay-filter="statusEvent" lay-verify="required">
                                <option value="">请选择状态</option>
                                <option value="ENABLE">启用</option>
                                <option value="DISABLE">禁用</option>
                            </select>
<!--                            <input id="status" name="status" placeholder="请输入状态(字典)" type="text" class="layui-input" lay-verify="required" required/>-->
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <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>
 
@}