@layout("/common/_form.html",{js:["/assets/modular/bs/bomInfo/bomInfo_add.js"],css:["/assets/expand/module/formSelects/formSelects-v4.css"]}){
|
|
<form class="layui-form" id="bomInfoForm" lay-filter="bomInfoForm">
|
<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"/>
|
|
<div class="layui-inline layui-col-md6">
|
<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-md6">
|
<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-md6">
|
<label class="layui-form-label">产品编号<span style="color: red;">*</span></label>
|
<div class="layui-input-block">
|
<input id="productCode" name="productCode" placeholder="请输入产品编号" type="text" class="layui-input" lay-verify="required" required/>
|
</div>
|
</div>
|
<div class="layui-inline layui-col-md6">
|
<label class="layui-form-label">产品名称</label>
|
<div class="layui-input-block">
|
<input id="productName" name="productName" placeholder="请输入产品名称" type="text" class="layui-input"/>
|
</div>
|
</div>
|
<div class="layui-inline layui-col-md6">
|
<label class="layui-form-label">工位编号<span style="color: red;">*</span></label>
|
<div class="layui-input-block">
|
<select id="locationCode" name="locationCode" lay-filter="locationCode">
|
<option value="">工位编号</option>
|
</select>
|
<!-- <input id="locationCode" name="locationCode" placeholder="请输入工位编号" type="text" class="layui-input" lay-verify="required" required/>-->
|
</div>
|
</div>
|
<div class="layui-inline layui-col-md6">
|
<label class="layui-form-label">工位名称</label>
|
<div class="layui-input-block">
|
<input id="locationName" name="locationName" placeholder="请输入工位名称" type="text" class="layui-input"/>
|
</div>
|
</div>
|
<div class="layui-inline layui-col-md6">
|
<label class="layui-form-label">扫码工位编号<span style="color: red;">*</span></label>
|
<div class="layui-input-block">
|
<select id="loadingCode" name="loadingCode" lay-filter="loadingCode">
|
<option value="">扫码工位编号</option>
|
</select>
|
<!-- <input id="loadingCode" name="loadingCode" placeholder="请输入扫码工位编号" type="text" class="layui-input" lay-verify="required" required/>-->
|
</div>
|
</div>
|
<div class="layui-inline layui-col-md6">
|
<label class="layui-form-label">扫码工位名称</label>
|
<div class="layui-input-block">
|
<input id="loadingName" name="loadingName" placeholder="请输入扫码工位名称" type="text" class="layui-input"/>
|
</div>
|
</div>
|
<div class="layui-inline layui-col-md6">
|
<label class="layui-form-label">追溯类型</label>
|
<div class="layui-input-block">
|
<select id="traceabilityType" name="traceabilityType" lay-filter="traceabilityType">
|
<option value="">请选择</option>
|
<option value="1">编号追溯</option>
|
<option value="2">批次追溯</option>
|
</select>
|
<!-- <input id="traceabilityType" name="traceabilityType" placeholder="请输入追溯类型" type="text" class="layui-input"/>-->
|
</div>
|
</div>
|
<div class="layui-inline layui-col-md6">
|
<label class="layui-form-label">数量</label>
|
<div class="layui-input-block">
|
<input id="quantity" name="quantity" 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">
|
<textarea id="remarks" name="remarks" placeholder="请输入备注" class="layui-textarea"></textarea>
|
</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>
|
|
@}
|