@layout("/common/_form.html",{js:["/assets/modular/bs/productBomChildInfo/productBomChildInfo_add.js"],css:["/assets/expand/module/formSelects/formSelects-v4.css"]}){
|
|
<form class="layui-form" id="productBomChildInfoForm" lay-filter="productBomChildInfoForm">
|
<div class="layui-fluid" style="padding-bottom: 75px;">
|
<div class="layui-card">
|
<div class="layui-card-header">基本信息</div>
|
<div class="layui-card-body">
|
<div class="layui-form-item layui-row">
|
<input name="id" type="hidden"/>
|
<input name="bomCode" type="hidden" value="${bomInfoCode}"/>
|
<div class="layui-inline layui-col-md12">
|
<label class="layui-form-label">工序编码<span style="color: red;">*</span></label>
|
<div class="layui-input-block">
|
<select id="opCode" name="opCode" lay-filter="opCode">
|
<option value="">请选择工序编码</option>
|
</select>
|
<!-- <input id="opCode" name="opCode" placeholder="请输入工序编码" type="text" class="layui-input" lay-verify="required" required/>-->
|
</div>
|
</div>
|
<div class="layui-inline layui-col-md12">
|
<label class="layui-form-label">工序名称</label>
|
<div class="layui-input-block">
|
<input id="opName" name="opName" placeholder="请输入工序名称" type="text" class="layui-input"/>
|
</div>
|
</div>
|
<div class="layui-inline layui-col-md12">
|
<label class="layui-form-label">物料编码<span style="color: red;">*</span></label>
|
<div class="layui-input-block">
|
<input id="materialCode" name="materialCode" placeholder="请输入物料编码" type="text" class="layui-input" lay-verify="required" required/>
|
</div>
|
</div>
|
<div class="layui-inline layui-col-md12">
|
<label class="layui-form-label">物料名称</label>
|
<div class="layui-input-block">
|
<input id="materialName" name="materialName" placeholder="请输入物料名称" type="text" class="layui-input"/>
|
</div>
|
</div>
|
<div class="layui-inline layui-col-md12">
|
<label class="layui-form-label">单耗</label>
|
<div class="layui-input-block">
|
<input id="costQty" name="costQty" placeholder="请输入单耗" type="text" class="layui-input"/>
|
</div>
|
</div>
|
<div class="layui-inline layui-col-md12">
|
<label class="layui-form-label">单位<span style="color: red;">*</span></label>
|
<div class="layui-input-block">
|
<input id="unit" name="unit" placeholder="请输入单位" type="text" class="layui-input" lay-verify="required" required/>
|
</div>
|
</div>
|
<div class="layui-inline layui-col-md12">
|
<label class="layui-form-label">备注</label>
|
<div class="layui-input-block">
|
<input id="remark" name="remark" placeholder="请输入备注" type="text" class="layui-input"/>
|
</div>
|
</div>
|
<!-- <div class="layui-inline layui-col-md12">-->
|
<!-- <label class="layui-form-label">BOM编码<span style="color: red;">*</span></label>-->
|
<!-- <div class="layui-input-block">-->
|
<!-- <input id="bomCode" name="bomCode" placeholder="请输入BOM编码" type="text" class="layui-input" lay-verify="required" required/>-->
|
<!-- </div>-->
|
<!-- </div>-->
|
</div>
|
</div>
|
</div>
|
</div>
|
<div class="form-group-bottom text-center">
|
<button class="layui-btn" lay-filter="btnSubmit" lay-submit> 提交 </button>
|
<button type="reset" class="layui-btn layui-btn-primary" id="cancel"> 取消 </button>
|
</div>
|
|
</form>
|
|
@}
|