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.
112 lines
4.9 KiB
112 lines
4.9 KiB
<!DOCTYPE html>
|
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
|
<head>
|
|
<th:block th:include="include :: header('修改上传图片')" />
|
|
<th:block th:include="include :: datetimepicker-css" />
|
|
</head>
|
|
<body class="white-bg">
|
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
|
<form class="form-horizontal m" id="form-upload-edit" th:object="${pictureUpload}">
|
|
<input name="id" th:field="*{id}" type="hidden">
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">物料代码:</label>
|
|
<div class="col-sm-8">
|
|
<input name="itemCode" th:field="*{itemCode}" 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="type" class="form-control m-b">
|
|
<option value="">所有</option>
|
|
</select>
|
|
<span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">版本:</label>
|
|
<div class="col-sm-8">
|
|
<input name="version" th:field="*{version}" 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="path" th:field="*{path}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">上传日期:</label>
|
|
<div class="col-sm-8">
|
|
<div class="input-group date">
|
|
<input name="uploadDate" th:value="${#dates.format(pictureUpload.uploadDate, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
|
|
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">上传人:</label>
|
|
<div class="col-sm-8">
|
|
<input name="uploadMan" th:field="*{uploadMan}" 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="spare1" th:field="*{spare1}" 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="spare2" th:field="*{spare2}" 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="spare3" th:field="*{spare3}" 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="spare4" th:field="*{spare4}" 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="spare5" th:field="*{spare5}" 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="spare6" th:field="*{spare6}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<th:block th:include="include :: footer" />
|
|
<th:block th:include="include :: datetimepicker-js" />
|
|
<script th:inline="javascript">
|
|
var prefix = ctx + "ck/upload";
|
|
$("#form-upload-edit").validate({
|
|
focusCleanup: true
|
|
});
|
|
|
|
function submitHandler() {
|
|
if ($.validate.form()) {
|
|
$.operate.save(prefix + "/edit", $('#form-upload-edit').serialize());
|
|
}
|
|
}
|
|
|
|
$("input[name='uploadDate']").datetimepicker({
|
|
format: "yyyy-mm-dd",
|
|
minView: "month",
|
|
autoclose: true
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|