errorInfo.html 4.03 KB
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('修改人保海外下单异常')" />
	<th:block th:include="include :: select2-css"/>
	<th:block th:include="include :: bootstrap-select-css"/>
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-piccErrOrder-edit" th:object="${piccErrOrder}">
            <input id="id" name="id" th:field="*{id}"  type="hidden">
            <input id="reportType" name="reportType" th:field="*{reportType}"  type="hidden">
            <input id="orderType" name="orderType" th:field="*{orderType}"  type="hidden">
			<div class="form-group">
				<label class="col-sm-3 control-label">订单号:</label>
				<div class="col-sm-8">
					<input id="orderNum" name="orderNum" th:field="*{orderNum}" class="form-control" type="text" readonly>
				</div>
			</div>

<!--			<div class="form-group">-->
<!--				<label class="col-sm-3 control-label"><span style="color: red; ">*</span>国别:</label>-->
<!--				<div class="col-sm-8">-->
<!--					<input id="country" name="country" th:field="*{country}" class="form-control" type="text" required>-->
<!--				</div>-->
<!--			</div>-->
			<div class="form-group" id="countryDiv">
				<label class="col-sm-3 control-label"><span style="color: red; ">*</span>国别:</label>
				<div class="col-sm-8">
					<select id="country" name="country" class="form-control m-b" required>
						<option th:each="item:${countryList}" th:value="${item.jcCode}" th:text="${item.gj}" th:field="*{country}"></option>
					</select>
				</div>
			</div>

			<div class="form-group">	
				<label class="col-sm-3 control-label"><span style="color: red; ">*</span>注册名称:</label>
				<div class="col-sm-8">
					<input id="enterpriseName" name="enterpriseName" th:field="*{enterpriseName}" class="form-control" type="text" required>
				</div>
			</div>

			<div class="form-group">	
				<label class="col-sm-3 control-label"><span style="color: red; ">*</span>地址:</label>
				<div class="col-sm-8">
					<input id="address" name="address" th:field="*{address}" class="form-control" type="text" required>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label"><span style="color: red; ">*</span>城市:</label>
				<div class="col-sm-8">
					<input id="city" name="city"  class="form-control" type="text" required>
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label"><span style="color: red; ">*</span>注册号:</label>
				<div class="col-sm-8">
					<input id="regNo" name="regNo" th:field="*{regNo}" class="form-control" type="text" readonly>
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label"><span style="color: red; ">*</span>税号:</label>
				<div class="col-sm-8">
					<input id="taxNo" name="taxNo" th:field="*{taxNo}" class="form-control" type="text"readonly>
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">归属分公司:</label>
				<div class="col-sm-8">
					<input id="affiliation" name="affiliation" th:field="*{affiliation}" class="form-control" type="text" readonly>
				</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>
		</form>
    </div>
    <div th:include="include::footer"></div>
	<th:block th:include="include :: select2-js"/>
	<th:block th:include="include :: bootstrap-select-js"/>
    <script type="text/javascript">
		var prefix = ctx + "business/piccErrOrder";
		$("#form-piccErrOrder-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			},
			focusCleanup: true
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/addOrderSearch", $('#form-piccErrOrder-edit').serialize());
	        }
	    }
	</script>
</body>
</html>