<!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: 10em;}
		</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">
						<el-row>
							<el-col span="12">
								<sa-info name="发货人" br>{{m.sendPeople}}</sa-info>
								<sa-info name="收货人" br>{{m.receivePeople}}</sa-info>
								<sa-info name="品名" br>{{m.goodsName}}</sa-info>
								<sa-info name="产地" br>{{m.origin}}</sa-info>
								<sa-info type="num" name="数量" :value="m.num" br></sa-info>
								<sa-info name="重量(kg)" br>{{m.grossWeight}}</sa-info>
								<sa-info name="规格(米)" br>{{m.unit}}</sa-info>
								<sa-info name="包装" br>{{m.pack}}</sa-info>
								<sa-info name="标记" br>{{m.flag}}</sa-info>
								<sa-info name="号码" br>{{m.phone}}</sa-info>
								<sa-info name="启运地" br>{{m.sourceAddress}}</sa-info>
								<sa-info name="到达口岸" br>{{m.arrivePart}}</sa-info>
							</el-col>
							<el-col span="12">
								<sa-info name="运输工具" br>{{m.carName}}</sa-info>
								<sa-info name="运输工具号码" br>{{m.carNo}}</sa-info>
								<sa-info name="国内运输工具" br>{{m.chinaCarName}}</sa-info>
								<sa-info name="运输工具号码" br>{{m.chinaCarNo}}</sa-info>
								<sa-info name="备注" br>{{m.remark}}</sa-info>
								<sa-info name="申请单位" br>{{m.applyUnit}}</sa-info>
								<sa-info name="申请人" br>{{m.declarePeople}}</sa-info>
								<sa-info name="申请人联系号码" br>{{m.declarePhone}}</sa-info>
								<sa-info name="申请时间" br>{{m.applyTime}}</sa-info>
								<sa-info name="受理人" br>{{m.acceptPeople}}</sa-info>
								<sa-info name="受理时间" br>{{m.acceptTime}}</sa-info>
								<sa-info name="计费（分）" br>{{m.money}}</sa-info>
							</el-col>
						</el-row>


					</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('/TbDisinfect/getById?id=' + this.id, function(res) {
						this.m = res.data;
						if(res.data == null) {
							sa.alert('未能查找到 id=' + this.id + " 详细数据");
						}
					}.bind(this))
				}
			})
			
		</script>
	</body>
</html>
