懒羊羊
2023-11-14 8286c62256f23bc2367a6729c0f46f84215e380b
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
@layout("/common/_form.html",{js:["/assets/modular/bs/equipmentInfo/equipmentInfo_edit.js"]}){
 
<form class="layui-form" id="equipmentInfoForm" lay-filter="equipmentInfoForm">
    <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="equipmentNo" name="equipmentNo" 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="equipmentName" name="equipmentName" 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="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="productionLineCode" name="productionLineCode" lay-filter="productionLineCode">
                                <option value="">产线编号</option>
                            </select>
                            <!--                            <input id="productionLineCode" name="productionLineCode" 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="locationCode" name="locationCode" lay-filter="locationCode">
                                <option value="">工位编号</option>
                            </select>
                            <!--                            <input id="locationCode" name="locationCode" 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="equipmentType" name="equipmentType" placeholder="请输入设备类型" type="text" class="layui-input"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">规格型号</label>
                        <div class="layui-input-block">
                            <input id="equipmentModel" name="equipmentModel" placeholder="请输入规格型号" type="text" class="layui-input"/>
                        </div>
                    </div>
 
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">供应商编号</label>
                        <div class="layui-input-block">
                            <input id="supplierCode" name="supplierCode" placeholder="请输入供应商编号" type="text" class="layui-input"/>
                        </div>
                    </div>
                    <!--<div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">预留字段1<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="spareField1" name="spareField1" placeholder="请输入预留字段1" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">预留字段2<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="spareField2" name="spareField2" placeholder="请输入预留字段2" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">预留字段3<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="spareField3" name="spareField3" placeholder="请输入预留字段3" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">预留字段4<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="spareField4" name="spareField4" placeholder="请输入预留字段4" 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">
                            <textarea id="remark" name="remarks" placeholder="请输入备注" class="layui-textarea"></textarea>
                        </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>
 
@}