<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('配送单据打印详细')" />
	<th:block th:include="include :: jsonview-css" />
</head>
<body class="white-bg">
	<div class="wrapper wrapper-content animated fadeInRight ibox-content">
	<form class="form-horizontal m-t" id="signupForm" th:object="${detail}">
		<div class="form-group">
			<label class="col-sm-2 control-label">订单编号：</label>
			<div class="form-control-static" th:text="${orderId}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">配送时间：</label>
			<div class="form-control-static" th:text="${deliveryTime}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">配送人：</label>
			<div class="form-control-static" th:text="${deliverer}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">打印申请时间：</label>
			<div class="form-control-static" th:text="${printRequestTime}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">打印状态：</label>
			<div class="form-control-static" th:text="${status}">
			</div>
		</div>

		<div class="form-group" th:style="'display:' + ${status == 0 ? 'none' : 'block'}">
			<label class="col-sm-2 control-label">订单数据：</label>
			<div class="form-control-static" th:text="${orderData}" id="operParams">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">订单数据：</label>
			<div class="form-control-static"><pre id="operParam"></pre></div>
		</div>
	</form>
    </div>
    <th:block th:include="include :: footer" />
    <th:block th:include="include :: jsonview-js" />
    <script th:inline="javascript">
		$(function() {
			debugger
			var operParam = [[${oorderData}]];
			if ($.common.isNotEmpty(operParam) && operParam.length < 2000) {
				$("#operParam").JSONView(operParam);
			} else {
				$("#operParam").text(operParam);
			}

		});
    </script>
</body>
</html>