懒羊羊
2023-10-10 cd500a4dab1bf530072ff6da83b907eebb48108a
提交 | 用户 | 时间
1ac2bc 1 @layout("/common/_form.html",{js:["/assets/modular/bs/materialInfo/materialInfo_add.js"],css:["/assets/expand/module/formSelects/formSelects-v4.css"]}){
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>
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>
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">
38                             <input id="typeL" name="typeL" placeholder="请输入类型" type="text" class="layui-input" lay-verify="required" required/>
39                         </div>
40                     </div>
41                     <div class="layui-inline layui-col-md12">
42                         <label class="layui-form-label">单位<span style="color: red;">*</span></label>
43                         <div class="layui-input-block">
44                             <input id="unit" name="unit" placeholder="请输入单位" type="text" class="layui-input" lay-verify="required" required/>
45                         </div>
46                     </div>
47                     <div class="layui-inline layui-col-md12">
48                         <label class="layui-form-label">版本</label>
49                         <div class="layui-input-block">
50                             <input id="matterVersion" name="matterVersion" placeholder="请输入版本" type="text" class="layui-input"/>
51                         </div>
52                     </div>
53                     <div class="layui-inline layui-col-md12">
54                         <label class="layui-form-label">备注<span style="color: red;">*</span></label>
55                         <div class="layui-input-block">
56                             <textarea id="remarks" name="remarks" placeholder="请输入备注" class="layui-textarea"></textarea>
57                         </div>
58                     </div>
59 <!--                    <div class="layui-inline layui-col-md12">-->
60 <!--                        <label class="layui-form-label"><span style="color: red;">*</span></label>-->
61 <!--                        <div class="layui-input-block">-->
62 <!--                            <input id="erpSpec" name="erpSpec" placeholder="请输入" type="text" class="layui-input" lay-verify="required" required/>-->
63 <!--                        </div>-->
64 <!--                    </div>-->
65                 </div>
66             </div>
67         </div>
68     </div>
69     <div class="form-group-bottom text-center">
70         <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
71         <button type="reset" class="layui-btn layui-btn-primary" id="cancel">&emsp;取消&emsp;</button>
72     </div>
73
74 </form>
75
76 @}