懒羊羊
2023-11-14 abb175b29054b9708af27136c035b1b7351dcd20
提交 | 用户 | 时间
1ac2bc 1 @layout("/common/_form.html",{js:["/assets/modular/bs/materialInfo/materialInfo_edit.js"]}){
2
3 <form class="layui-form" id="materialInfoForm" lay-filter="materialInfoForm">
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-md12">
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-md12">
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-md12">
24                         <label class="layui-form-label">视图</label>
25                         <div class="layui-input-block">
26                             <input id="materialView" name="materialView" placeholder="请输入视图" type="text" class="layui-input"/>
27                         </div>
28                     </div>
abb175 29 <!--                    <div class="layui-inline layui-col-md12">-->
30 <!--                        <label class="layui-form-label">种类<span style="color: red;">*</span></label>-->
31 <!--                        <div class="layui-input-block">-->
32 <!--                            <input id="typeZ" name="typeZ" placeholder="请输入种类" type="text" class="layui-input" lay-verify="required" required/>-->
33 <!--                        </div>-->
34 <!--                    </div>-->
1ac2bc 35                     <div class="layui-inline layui-col-md12">
36                         <label class="layui-form-label">类型<span style="color: red;">*</span></label>
37                         <div class="layui-input-block">
abb175 38                             <select id="typeL" name="typeL" lay-filter="opType" lay-verify="required" required>
39                                 <option value="">请选择类型</option>
40                             </select>
41 <!--                            <input id="typeL" name="typeL" placeholder="请输入类型" type="text" class="layui-input" lay-verify="required" required/>-->
1ac2bc 42                         </div>
43                     </div>
44                     <div class="layui-inline layui-col-md12">
45                         <label class="layui-form-label">单位<span style="color: red;">*</span></label>
46                         <div class="layui-input-block">
47                             <input id="unit" name="unit" placeholder="请输入单位" type="text" class="layui-input" lay-verify="required" required/>
48                         </div>
49                     </div>
50                     <div class="layui-inline layui-col-md12">
51                         <label class="layui-form-label">版本</label>
52                         <div class="layui-input-block">
53                             <input id="matterVersion" name="matterVersion" placeholder="请输入版本" type="text" class="layui-input"/>
54                         </div>
55                     </div>
56                     <div class="layui-inline layui-col-md12">
57                         <label class="layui-form-label">备注<span style="color: red;">*</span></label>
58                         <div class="layui-input-block">
59                             <textarea id="remarks" name="remarks" placeholder="请输入备注" class="layui-textarea"></textarea>
60                         </div>
61                     </div>
62                 </div>
63             </div>
64         </div>
65     </div>
66     <div class="form-group-bottom text-center">
67         <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
68         <button type="reset" class="layui-btn layui-btn-primary" id="cancel">&emsp;取消&emsp;</button>
69     </div>
70
71 </form>
72
73 @}