万材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.
 
 
 
 

56 lines
2.4 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-stockInfo-edit" th:object="${stockInfo}">
<input name="stockId" th:field="*{stockId}" type="hidden">
<div class="form-group">
<label class="col-sm-3 control-label is-required">仓库编号:</label>
<div class="col-sm-8">
<input name="StockNO" th:field="*{StockNO}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">仓库名:</label>
<div class="col-sm-8">
<input name="Stockname" th:field="*{Stockname}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">仓库地址:</label>
<div class="col-sm-8">
<input name="stockAddr" th:field="*{stockAddr}" 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="stockmanager" th:field="*{stockmanager}" 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="stockmemo" th:field="*{stockmemo}" class="form-control" type="text">
</div>
</div>
</form>
</div>
<th:block th:include="include :: footer" />
<script th:inline="javascript">
var prefix = ctx + "stock/stockInfo";
$("#form-stockInfo-edit").validate({
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/edit", $('#form-stockInfo-edit').serialize());
}
}
</script>
</body>
</html>