<!DOCTYPE html>
<html>
	<head>
		<title>拼单订单表-详情</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<!-- 所有的 css js 资源 -->
		<link rel="stylesheet" href="../../static/kj/element-ui/theme-chalk/index.css">
		<link rel="stylesheet" href="../../static/sa.css">
		<script src="../../static/kj/vue.min.js"></script>
		<script src="../../static/kj/element-ui/index.js"></script>
		<script src="../../static/kj/httpVueLoader.js"></script>
		<script src="../../static/kj/jquery.min.js"></script>
		<script src="../../static/kj/layer/layer.js"></script>
		<script src="../../static/sa.js"></script>
		<style type="text/css">
			.c-panel .c-label{width: 8em;}
		</style>
	</head>
	<body>
		<div class="vue-box sbot" style="display: none;" :style="'display: block;'">
			<!-- ------- 内容部分 ------- -->
			<div class="s-body">
				<div class="c-panel">
					<el-form v-if="m">
						<sa-info name="拼单订单表主键" br>{{m.id}}</sa-info>
						<sa-info name="贸易区域id" br>{{m.tradeAreaId}}</sa-info>
						<sa-info name="贸易区域名称" br>{{m.tradeAreaName}}</sa-info>
						<sa-info name="订单编号" br>{{m.orderNo}}</sa-info>
						<sa-info name="合作社ID" br>{{m.cooperativeId}}</sa-info>
						<sa-info name="合作社名称" br>{{m.cooperativeName}}</sa-info>
						<sa-info name="总金额" br>{{m.totalPrice}}</sa-info>
						<sa-info name="进境边民确认" br>{{m.entryPeopleStatus}}</sa-info>
						<sa-info name="进境组长确认" br>{{m.entryLeaderStatus}}</sa-info>
						<sa-info name="进境报关企业确认" br>{{m.entryCustomsStatus}}</sa-info>
						<sa-info name="进境申报单号" br>{{m.entryNo}}</sa-info>
						<sa-info name="进境申报时间" br>{{m.entryTime}}</sa-info>
						<sa-info name="进境申报结果" br>{{m.entryResult}}</sa-info>
						<sa-info name="进境申报失败理由" br>{{m.entryFailReason}}</sa-info>
						<sa-info name="进口边民确认" br>{{m.importPeopleStatus}}</sa-info>
						<sa-info name="进口组长确认" br>{{m.importLeaderStatus}}</sa-info>
						<sa-info name="进口申报单号" br>{{m.importNumber}}</sa-info>
						<sa-info name="进口申报时间" br>{{m.importTime}}</sa-info>
						<sa-info name="是否收货" br>{{m.isDelivery}}</sa-info>
						<sa-info name="订单完成状态" br>{{m.orderFinish}}</sa-info>
						<sa-info name="司机ID" br>{{m.driverId}}</sa-info>
						<sa-info name="司机名称" br>{{m.driverName}}</sa-info>
						<sa-info name="司机电话" br>{{m.driverPhone}}</sa-info>
						<sa-info name="车ID" br>{{m.carId}}</sa-info>
						<sa-info name="车名称" br>{{m.carType}}</sa-info>
						<sa-info name="车牌号" br>{{m.vehiclePlate}}</sa-info>
						<sa-info name="装货地址" br>{{m.loadingAddress}}</sa-info>
						<sa-info name="卸货地址" br>{{m.unloadingAddress}}</sa-info>
						<sa-info name="创建人编号" br>{{m.createBy}}</sa-info>
						<sa-info name="创建人名称" br>{{m.createName}}</sa-info>
						<sa-info name="创建时间" br>{{m.createTime}}</sa-info>
						<sa-info name="更新人编号" br>{{m.updateBy}}</sa-info>
						<sa-info name="更新人名称" br>{{m.updateName}}</sa-info>
						<sa-info name="更新时间" br>{{m.updateTime}}</sa-info>
						<sa-info name="删除状态" br>{{m.deleteStatus}}</sa-info>
					</el-form>
				</div>
			</div>
			<!-- ------- 底部按钮 ------- -->
			<div class="s-foot">
				<el-button type="success" @click="sa.closeCurrIframe()">确定</el-button>
				<el-button @click="sa.closeCurrIframe()">取消</el-button>
			</div>
		</div>
		<script>
			var app = new Vue({
				components: {
					"sa-info": httpVueLoader('../../sa-frame/com/sa-info.vue')
				},
				el: '.vue-box',
				data: {
					id: sa.p('id', 0),	// 获取数据ID 
					m: null
				},
				methods: {
				},
				mounted: function() {
					sa.ajax('/TbCollageOrders/getById?id=' + this.id, function(res) {
						this.m = res.data;
						if(res.data == null) {
							sa.alert('未能查找到 id=' + this.id + " 详细数据");
						}
					}.bind(this))
				}
			})
			
		</script>
	</body>
</html>
