yantian yue
2023-10-17 487b2f2a353b89ab46cd9b784226b600b7b915b8
提交 | 用户 | 时间
ffeba3 1 @layout("/common/_form.html",{js:["/assets/modular/bs/formulaInfo/formulaInfo_add.js"],css:["/assets/expand/module/formSelects/formSelects-v4.css"]}){
2
3 <form class="layui-form" id="formulaInfoForm" lay-filter="formulaInfoForm">
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="formulaCode" name="formulaCode" 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">配方名称<span style="color: red;">*</span></label>
19                         <div class="layui-input-block">
20                             <input id="formulaName" name="formulaName" placeholder="请输入配方名称" type="text" class="layui-input" lay-verify="required" required/>
21                         </div>
22                     </div>
23                     <div class="layui-inline layui-col-md12">
cd500a 24                         <label class="layui-form-label">产品编号<span style="color: red;">*</span></label>
ffeba3 25                         <div class="layui-input-block">
cd500a 26                             <input id="productCode" name="productCode" placeholder="请输入产品编号" type="text" class="layui-input" lay-verify="required" required/>
ffeba3 27                         </div>
28                     </div>
cd500a 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="status" name="status" placeholder="请输入状态(字典)" type="text" class="layui-input" lay-verify="required" required/>-->
33 <!--                        </div>-->
34 <!--                    </div>-->
ffeba3 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="remark" name="remark" placeholder="请输入备注" type="text" class="layui-input" lay-verify="required" required/>
39                         </div>
40                     </div>
41                 </div>
42             </div>
43         </div>
44     </div>
45     <div class="form-group-bottom text-center">
46         <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
47         <button type="reset" class="layui-btn layui-btn-primary" id="cancel">&emsp;取消&emsp;</button>
48     </div>
49
50 </form>
51
52 @}