liuxiaoxu
6 months ago
3 changed files with 95 additions and 2 deletions
@ -0,0 +1,82 @@ |
|||||
|
<!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-manufacturingProcess-edit" th:object="${qualityManufacturingProcess}"> |
||||
|
<input name="manufacturingProcessAutoid" th:field="*{manufacturingProcessAutoid}" type="hidden"> |
||||
|
<div class="form-group"> |
||||
|
<label class="col-sm-3 control-label">制程工序编号:</label> |
||||
|
<div class="col-sm-8"> |
||||
|
<input name="manufacturingProcessCode" th:field="*{manufacturingProcessCode}" class="form-control" type="text" readonly> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="form-group"> |
||||
|
<label class="col-sm-3 control-label">制程工序名称:</label> |
||||
|
<div class="col-sm-8"> |
||||
|
<select name="manufacturingProcessName" class="form-control m-b" th:with="type=${@dict.getType('manufacturing_process_name')}" readonly disabled> |
||||
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{manufacturingProcessName}"></option> |
||||
|
</select> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="form-group"> |
||||
|
<label class="col-sm-3 control-label">设备名称:</label> |
||||
|
<div class="col-sm-8"> |
||||
|
<input name="deviceName" th:field="*{deviceName}" class="form-control" type="text" readonly> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="form-group"> |
||||
|
<label class="col-sm-3 control-label">设备型号:</label> |
||||
|
<div class="col-sm-8"> |
||||
|
<input name="deviceModelCode" th:field="*{deviceModelCode}" class="form-control" type="text" readonly> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="form-group"> |
||||
|
<label class="col-sm-3 control-label">工序顺序:</label> |
||||
|
<div class="col-sm-8"> |
||||
|
<input name="processSequence" th:field="*{processSequence}" class="form-control" type="text" readonly> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="form-group"> |
||||
|
<label class="col-sm-3 control-label">车间名称:</label> |
||||
|
<div class="col-sm-8"> |
||||
|
<input name="workshopName" th:field="*{workshopName}" class="form-control" type="text" readonly> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="form-group"> |
||||
|
<label class="col-sm-3 control-label">零件名称:</label> |
||||
|
<div class="col-sm-8"> |
||||
|
<input name="modName" th:field="*{modName}" class="form-control" type="text" readonly> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="form-group"> |
||||
|
<label class="col-sm-3 control-label">工序检验项目:</label> |
||||
|
<div class="col-sm-8"> |
||||
|
<input name="processInspectionItem" th:field="*{processInspectionItem}" class="form-control" type="text" readonly> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="form-group"> |
||||
|
<label class="col-sm-3 control-label">备注:</label> |
||||
|
<div class="col-sm-8"> |
||||
|
<input name="remark" th:field="*{remark}" class="form-control" type="text" readonly> |
||||
|
</div> |
||||
|
</div> |
||||
|
</form> |
||||
|
</div> |
||||
|
<th:block th:include="include :: footer" /> |
||||
|
<script th:inline="javascript"> |
||||
|
var prefix = ctx + "quality/manufacturingProcess"; |
||||
|
$("#form-manufacturingProcess-edit").validate({ |
||||
|
focusCleanup: true |
||||
|
}); |
||||
|
|
||||
|
function submitHandler() { |
||||
|
if ($.validate.form()) { |
||||
|
$.operate.save(prefix + "/edit", $('#form-manufacturingProcess-edit').serialize()); |
||||
|
} |
||||
|
} |
||||
|
</script> |
||||
|
</body> |
||||
|
</html> |
Loading…
Reference in new issue