@layout("/common/_form.html",{js:["/assets/modular/pm/workOrder/workOrder_edit.js"]}){
|
|
<form class="layui-form" id="workOrderForm" lay-filter="workOrderForm">
|
<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="workOrderCode" name="workOrderCode" placeholder="请输入工单编号" type="text" class="layui-input" lay-verify="required" required/>-->
|
<!-- </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="salesOrderCode" name="salesOrderCode" placeholder="请输入订单编号" type="text" class="layui-input" lay-verify="required" required/>
|
</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">产品名称<span style="color: red;">*</span></label>
|
<div class="layui-input-block">
|
<input id="productName" name="productName" placeholder="请输入产品名称" type="text" class="layui-input" lay-verify="required" required/>
|
</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="planQty" name="planQty" placeholder="请输入计划数量" type="number" class="layui-input" lay-verify="required" required/>
|
</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="produceQty" name="produceQty" placeholder="请输入完成数量" type="number" class="layui-input" lay-verify="required" required/>
|
</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="onlineQty" name="onlineQty" placeholder="请输入上线数量" type="number" class="layui-input" lay-verify="required" required/>
|
</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="workshopCode" name="workshopCode" lay-filter="workshopCode">
|
<option value="">车间编号</option>
|
</select>
|
<!-- <input id="workshopCode" name="workshopCode" placeholder="请输入车间编码" type="text" class="layui-input" lay-verify="required" required/>-->
|
</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="lineCode" name="lineCode" lay-filter="lineCode">
|
<option value="">产线编码</option>
|
</select>
|
<!-- <input id="lineCode" name="lineCode" placeholder="请输入产线编码" type="text" class="layui-input" lay-verify="required" required/>-->
|
</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="state" name="state" placeholder="请输入状态" type="text" class="layui-input" lay-verify="required" required/>-->
|
<!-- </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="badQty" name="badQty" placeholder="请输入不良数量" type="text" class="layui-input" lay-verify="required" required/>-->
|
<!-- </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="repairQty" name="repairQty" placeholder="请输入返修数量" type="text" class="layui-input" lay-verify="required" required/>-->
|
<!-- </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="scrapQty" name="scrapQty" placeholder="请输入报废数量" type="text" class="layui-input" lay-verify="required" required/>-->
|
<!-- </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="routeCode" name="routeCode" placeholder="请输入工艺流程" type="text" class="layui-input" lay-verify="required" required/>
|
</div>
|
</div>
|
<div class="layui-inline layui-col-md6">
|
<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 class="layui-inline layui-col-md6">
|
<label class="layui-form-label">工艺配方<span style="color: red;">*</span></label>
|
<div class="layui-input-block">
|
<input id="recipeCode" name="recipeCode" placeholder="请输入工艺配方" type="text" class="layui-input" lay-verify="required" required/>
|
</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="planStartTime" name="planStartTime" placeholder="请选择计划开始时间" type="text" class="layui-input" />
|
<!-- <input id="planStartTime" name="planStartTime" placeholder="请输入计划开始时间" type="text" class="layui-input" lay-verify="required" required/>-->
|
</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="planEndTime" name="planEndTime" placeholder="请选择计划结束时间" type="text" class="layui-input" />
|
|
<!-- <input id="planEndTime" name="planEndTime" placeholder="请输入计划结束时间" type="text" class="layui-input" lay-verify="required" required/>-->
|
</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="produceStartTime" name="produceStartTime" placeholder="请选择生产开始时间" type="text" class="layui-input" />
|
|
<!-- <input id="produceStartTime" name="produceStartTime" placeholder="请输入生产开始时间" type="text" class="layui-input" lay-verify="required" required/>-->
|
</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="produceEndTime" name="produceEndTime" placeholder="请选择生产结束时间" type="text" class="layui-input" />
|
<!-- <input id="produceEndTime" name="produceEndTime" 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="remark" name="remark" placeholder="请输入备注" type="text" class="layui-input"/>
|
</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>
|
|
@}
|