You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
116 lines
5.9 KiB
116 lines
5.9 KiB
<!DOCTYPE html>
|
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
|
<head>
|
|
<th:block th:include="include :: header('修改入库检验通知物料')" />
|
|
</head>
|
|
<body class="white-bg">
|
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
|
<form class="form-horizontal m" id="form-warehousingInspectionDetail-edit" th:object="${warehousingInspectionDetail}">
|
|
<input name="warehousingInspectionDetailId" th:field="*{warehousingInspectionDetailId}" type="hidden">
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">入通知单号:</label>
|
|
<div class="col-sm-8">
|
|
<input name="inNoticeNumber" th:field="*{inNoticeNumber}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">物料代码:</label>
|
|
<div class="col-sm-8">
|
|
<input name="materialCode" th:field="*{materialCode}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">物料名称:</label>
|
|
<div class="col-sm-8">
|
|
<input name="materialName" th:field="*{materialName}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">规格型号:</label>
|
|
<div class="col-sm-8">
|
|
<input name="specificationModel" th:field="*{specificationModel}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">物料类别:</label>
|
|
<div class="col-sm-8">
|
|
<select name="materialType" class="form-control m-b" th:with="type=${@dict.getType('bom_material_category')}">
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{materialType}"></option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">单位:</label>
|
|
<div class="col-sm-8">
|
|
<select name="purchasingUnit" class="form-control m-b" th:with="type=${@dict.getType('sys_unit_class')}">
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{purchasingUnit}"></option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">送货数量:</label>
|
|
<div class="col-sm-8">
|
|
<input name="materialQuantity" th:field="*{materialQuantity}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">合格数量:</label>
|
|
<div class="col-sm-8">
|
|
<input name="qualifiedQuantity" th:field="*{qualifiedQuantity}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">不合格数量:</label>
|
|
<div class="col-sm-8">
|
|
<input name="unqualifiedQuantity" th:field="*{unqualifiedQuantity}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">合格率:</label>
|
|
<div class="col-sm-8">
|
|
<input name="qualificationRate" th:field="*{qualificationRate}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">说明:</label>
|
|
<div class="col-sm-8">
|
|
<input name="purchaseExplain" th:field="*{purchaseExplain}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">判定结果:</label>
|
|
<div class="col-sm-8">
|
|
<select name="judgmentResults" class="form-control m-b" th:with="type=${@dict.getType('judgment_results')}">
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{judgmentResults}"></option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">收货批号:</label>
|
|
<div class="col-sm-8">
|
|
<input name="receiptBatchNumber" th:field="*{receiptBatchNumber}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">厂商批号:</label>
|
|
<div class="col-sm-8">
|
|
<input name="manufacturerBatchNumber" th:field="*{manufacturerBatchNumber}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<th:block th:include="include :: footer" />
|
|
<script th:inline="javascript">
|
|
var prefix = ctx + "storehouse/warehousingInspectionDetail";
|
|
$("#form-warehousingInspectionDetail-edit").validate({
|
|
focusCleanup: true
|
|
});
|
|
|
|
function submitHandler() {
|
|
if ($.validate.form()) {
|
|
$.operate.save(prefix + "/edit", $('#form-warehousingInspectionDetail-edit').serialize());
|
|
}
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|