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.
55 lines
2.2 KiB
55 lines
2.2 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-add">
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label is-required">仓库编号:</label>
|
|
<div class="col-sm-8">
|
|
<input name="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" 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" 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" 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" 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-add").validate({
|
|
focusCleanup: true
|
|
});
|
|
|
|
function submitHandler() {
|
|
if ($.validate.form()) {
|
|
$.operate.save(prefix + "/add", $('#form-stockInfo-add').serialize());
|
|
}
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|