<!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-change-price">
			<input name="orderIds"  type="hidden"  th:value="${orderIds}" />
			<div class="form-group">
				<label class="col-sm-3 control-label">输入修改后价格：</label>
				<div class="col-sm-8">
					<input class="form-control" type="text" name="changePrice" id="changePrice">
				</div>
			</div>
		</form>
	</div>
	<th:block th:include="include :: footer" />
	<script type="text/javascript">
		$("#changePrice").validate({
			rules:{
				changePrice:{
					required:true
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	        	$.operate.save(ctx + "order/master/batchChangePrice", $('#form-change-price').serialize());
	        }
	    }
	</script>
</body>

</html>
