admin
2024-01-08 22f70cc8b2ba603e82bba058db320dced48f9470
提交 | 用户 | 时间
71e81e 1 @layout("/common/_form.html",{js:["/assets/modular/bs/bomInfo/bomInfo_add.js"],css:["/assets/expand/module/formSelects/formSelects-v4.css"]}){
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                             <select id="locationCode" name="locationCode" lay-filter="locationCode">
39                                 <option value="">工位编号</option>
40                             </select>
41 <!--                            <input id="locationCode" name="locationCode" placeholder="请输入工位编号" type="text" class="layui-input" lay-verify="required" required/>-->
42                         </div>
43                     </div>
44                     <div class="layui-inline layui-col-md6">
45                         <label class="layui-form-label">工位名称</label>
46                         <div class="layui-input-block">
47                             <input id="locationName" name="locationName" placeholder="请输入工位名称" type="text" class="layui-input"/>
48                         </div>
49                     </div>
50                     <div class="layui-inline layui-col-md6">
51                         <label class="layui-form-label">扫码工位编号<span style="color: red;">*</span></label>
52                         <div class="layui-input-block">
53                             <select id="loadingCode" name="loadingCode" lay-filter="loadingCode">
54                                 <option value="">扫码工位编号</option>
55                             </select>
56 <!--                            <input id="loadingCode" name="loadingCode" placeholder="请输入扫码工位编号" type="text" class="layui-input" lay-verify="required" required/>-->
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                             <input id="loadingName" name="loadingName" placeholder="请输入扫码工位名称" type="text" class="layui-input"/>
63                         </div>
64                     </div>
65                     <div class="layui-inline layui-col-md6">
66                         <label class="layui-form-label">追溯类型</label>
67                         <div class="layui-input-block">
68                             <select id="traceabilityType" name="traceabilityType" lay-filter="traceabilityType">
69                                 <option value="">请选择</option>
70                                 <option value="1">编号追溯</option>
71                                 <option value="2">批次追溯</option>
72                             </select>
73 <!--                            <input id="traceabilityType" name="traceabilityType" placeholder="请输入追溯类型" type="text" class="layui-input"/>-->
74                         </div>
75                     </div>
76                     <div class="layui-inline layui-col-md6">
77                         <label class="layui-form-label">数量</label>
78                         <div class="layui-input-block">
79                             <input id="quantity" name="quantity" placeholder="请输入数量" type="text" class="layui-input"/>
80                         </div>
81                     </div>
82                     <div class="layui-inline layui-col-md12">
83                         <label class="layui-form-label">备注</label>
84                         <div class="layui-input-block">
85                             <textarea id="remarks" name="remarks" placeholder="请输入备注" class="layui-textarea"></textarea>
86                         </div>
87                     </div>
88                 </div>
89             </div>
90         </div>
91     </div>
92     <div class="form-group-bottom text-center">
93         <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
94         <button type="reset" class="layui-btn layui-btn-primary" id="cancel">&emsp;取消&emsp;</button>
95     </div>
96
97 </form>
98
99 @}