admin
2024-01-08 22f70cc8b2ba603e82bba058db320dced48f9470
提交 | 用户 | 时间
71e81e 1 @layout("/common/_form.html",{js:["/assets/modular/bs/bomInfo/bomInfo_edit.js"]}){
2
3 <form class="layui-form" id="bomInfoForm" lay-filter="bomInfoForm">
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="materialCode" name="materialCode" 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">物料名称</label>
19                         <div class="layui-input-block">
20                             <input id="materialName" name="materialName" placeholder="请输入物料名称" type="text" class="layui-input" />
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">产品名称</label>
31                         <div class="layui-input-block">
32                             <input id="productName" name="productName" placeholder="请输入产品名称" type="text" class="layui-input"/>
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="locationCode" name="locationCode" placeholder="请输入工位编号" type="text" 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">工位名称</label>
43                         <div class="layui-input-block">
44                             <input id="locationName" name="locationName" placeholder="请输入工位名称" type="text" class="layui-input"/>
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="loadingCode" name="loadingCode" placeholder="请输入扫码工位编号" type="text" 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">扫码工位名称</label>
55                         <div class="layui-input-block">
56                             <input id="loadingName" name="loadingName" placeholder="请输入扫码工位名称" type="text" class="layui-input"/>
57                         </div>
58                     </div>
59                     <div class="layui-inline layui-col-md6">
60                         <label class="layui-form-label">追溯类型</label>
61                         <div class="layui-input-block">
62                             <select id="traceabilityType" name="traceabilityType" lay-filter="traceabilityType">
63                                 <option value="">请选择</option>
64                                 <option value="1">编号追溯</option>
65                                 <option value="2">批次追溯</option>
66                             </select>
67 <!--                            <input id="traceabilityType" name="traceabilityType" placeholder="请输入追溯类型" type="text" class="layui-input"/>-->
68                         </div>
69                     </div>
70                     <div class="layui-inline layui-col-md6">
71                         <label class="layui-form-label">数量</label>
72                         <div class="layui-input-block">
73                             <input id="quantity" name="quantity" placeholder="请输入数量" type="text" class="layui-input"/>
74                         </div>
75                     </div>
76                     <div class="layui-inline layui-col-md12">
77                         <label class="layui-form-label">备注</label>
78                         <div class="layui-input-block">
79                             <textarea id="remarks" name="remarks" placeholder="请输入备注" class="layui-textarea"></textarea>
80                         </div>
81                     </div>
82                 </div>
83             </div>
84         </div>
85     </div>
86     <div class="form-group-bottom text-center">
87         <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
88         <button type="reset" class="layui-btn layui-btn-primary" id="cancel">&emsp;取消&emsp;</button>
89     </div>
90
91 </form>
92
93 @}