万材erp项目
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.

83 lines
3.7 KiB

2 years ago
<!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-procedure-add">
<div class="form-group">
<label class="col-sm-3 control-label">工序编号:</label>
<div class="col-sm-8">
<input name="procedureCode" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required" >车间名称:</label>
<div class="col-sm-8">
<!-- <input name="workshopName" class="form-control" type="text"/>-->
<select name="workshopName" class="form-control select-list" th:with="type=${@dict.getType('sys_procedure_workshopName')}">
<option value=""></option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictLabel}"></option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required" >工序名称:</label>
<div class="col-sm-8">
<input name="procedureName" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label" >先后次序:</label>
<div class="col-sm-8">
<input name="sequence" 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="eachCost" class="form-control" type="text">
<span style="color: red">注:标准加工成本价币种为:人民币</span>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label " >加工工时:</label>
<div class="col-sm-8">
<input name="procedureWorkhour" 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="associatedItem" class="form-control select-list" th:with="type=${@dict.getType('sys_procedure_associatedItem')}">
<option value=""></option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictLabel}"></option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">工序备注:</label>
<div class="col-sm-8">
<input name="procedureRemark" class="form-control" type="text">
</div>
</div>
</form>
</div>
<th:block th:include="include :: footer" />
<script th:inline="javascript">
var prefix = ctx + "system/procedure";
$("#form-procedure-add").validate({
focusCleanup: true,
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/add", $('#form-procedure-add').serialize());
}
}
</script>
</body>
</html>