add.html 7.26 KB
<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head 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-shipmentHeaderHistory-add">
			<div class="form-group">	
				<label class="col-sm-3 control-label">出库单编码:</label>
				<div class="col-sm-8">
					<input id="code" name="code" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">仓库id:</label>
				<div class="col-sm-8">
					<input id="warehouseId" name="warehouseId" 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 id="warehouseCode" name="warehouseCode" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">货主id:</label>
				<div class="col-sm-8">
					<input id="companyId" name="companyId" 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 id="companyCode" name="companyCode" 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 id="sourceCode" name="sourceCode" 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 id="sourcePlatform" name="sourcePlatform" 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 id="type" name="type" 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 id="shipTo" name="shipTo" 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 id="priority" name="priority" 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 id="station" name="station" 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 id="totalQty" name="totalQty" 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 id="totalLines" name="totalLines" 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 id="remark" name="remark" 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 id="uploadremark" name="uploadremark" 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 id="uploadTime" name="uploadTime" 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 id="appointmentTime" name="appointmentTime" 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 id="firstStatus" name="firstStatus" 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 id="lastStatus" name="lastStatus" 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 id="uploadStatus" name="uploadStatus" 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 id="created" name="created" 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 id="createdBy" name="createdBy" 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 id="lastUpdated" name="lastUpdated" 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 id="lastUpdatedBy" name="lastUpdatedBy" 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 id="enable" name="enable" 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 id="deleted" name="deleted" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">自定义字段1:</label>
				<div class="col-sm-8">
					<input id="userDef1" name="userDef1" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">自定义字段2:</label>
				<div class="col-sm-8">
					<input id="userDef2" name="userDef2" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">自定义字段3:</label>
				<div class="col-sm-8">
					<input id="userDef3" name="userDef3" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">
				<div class="form-control-static col-sm-offset-9">
					<button type="submit" class="btn btn-primary">提交</button>
					<button onclick="$.modal.close()" class="btn btn-danger" type="button">关闭</button>
				</div>
			</div>
		</form>
	</div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "shipment/shipmentHeaderHistory"
		$("#form-shipmentHeaderHistory-add").validate({
			rules:{
				xxxx:{
					required:true,
				},
			},
			submitHandler: function(form) {
				$.operate.save(prefix + "/add", $('#form-shipmentHeaderHistory-add').serialize());
			}
		});
	</script>
</body>
</html>