<!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.platSeqNo}}</sa-info>
						<sa-info name="预录入编号" br>{{m.preNo}}</sa-info>
						<sa-info name="关联进境申报单编号" br>{{m.itrdclDeclareId}}</sa-info>
						<sa-info name="进出口申报单编号变更、撤销类型时必填" br>{{m.declareId}}</sa-info>
						<sa-info type="enum" name="申报人类别" :value="m.declareType" :jv="{1: '边民', 2: '商铺业主或其代理人', 3: '合作社代表', 4: '互助组代表'}" br></sa-info>
						<sa-info name="申报人姓名" br>{{m.declareName}}</sa-info>
						<sa-info name="申报人身份证号" br>{{m.ciphertextIdno}}</sa-info>
						<sa-info name="申报人类别为2时商铺编码必填" br>{{m.shopNo}}</sa-info>
						<sa-info name="申报人类别为2时商铺名称必填" br>{{m.shopName}}</sa-info>
						<sa-info name="申报人类别为3、4时互助组/合作社备案编号" br>{{m.orgPutrecNo}}</sa-info>
						<sa-info name="申报人类别为3、4时互助组/合租社名称" br>{{m.orgName}}</sa-info>
						<sa-info name="申报人类别为4时合作社社会统一信用代码" br>{{m.orgScc}}</sa-info>
						<sa-info name="车牌号" br>{{m.veNo}}</sa-info>

						<sa-info type="enum" name="运输工具类型" :value="m.vehicleType" :jv="{1: '三轮车', 2: '货车', 3: '电动车', 4: '拖拉机', 5: '其他', 6: '轻型货车', 7: '微型货车'}" br></sa-info>
						<sa-info type="enum" name="业务模式" :value="m.btrnbBizModecd" :jv="{1: '区内交易', 2: '落地加工', 3: '原装提离', 4: '直接出口', 5: '出口销售'}" br></sa-info>
						<sa-info type="enum" name="商品流向" :value="m.gFlow" :jv="{1: '二次销售', 2: '生活自用', 3: '落地加工'}" br></sa-info>
						<sa-info type="enum" name="进出口标志" :value="m.iEFlag" :jv="{'I': '进口', 'E': '出口'}" br></sa-info>

						<sa-info name="监管场所编号" br>{{m.fieldCode}}</sa-info>
						<sa-info name="监管场所名称" br>{{m.fieldName}}</sa-info>
						<sa-info name="申报口岸代码" br>{{m.customsCode}}</sa-info>
						<sa-info type="enum" name="是否拼车" :value="m.carPool" :jv="{'1': '是', '0': '否'}" br></sa-info>
						<sa-info name="备注" br>{{m.note}}</sa-info>
						<sa-info name="总金额" br>{{m.sumAmt}}</sa-info>
						<sa-info name="总毛重" br>{{m.sumGrossWt}}</sa-info>
						<sa-info name="总净重" br>{{m.sumNetWt}}</sa-info>
						<sa-info name="运输方式" br>{{m.trafMode}}</sa-info>
						<sa-info name="币制" br>{{m.currCode}}</sa-info>
						<sa-info name="件数" br>{{m.packNo}}</sa-info>
						<sa-info name="贸易国别" br>{{m.tradeCountry}}</sa-info>
						<sa-info name="落地加工企业名称" br>{{m.mName}}</sa-info>
						<sa-info name="落地加工企业社会统一信用代码" br>{{m.mScc}}</sa-info>
						<sa-info type="enum" name="是否均摊" :value="m.shareFlag" :jv="{'1': '是', '0': '否'}" br></sa-info>
						<sa-info name="申报单类型" br>{{m.dclType}}</sa-info>
						<sa-info name="改单/撤销原因,撤销时必填" br>{{m.mdfblRvkRsn}}</sa-info>
						<sa-info name="边民备案编号标记" br>{{m.borderFlag}}</sa-info>
						<sa-info name="数据状态" br>{{m.delStatus}}</sa-info>
						<sa-info name="申报状态" br>{{m.declStatus}}</sa-info>
						<sa-info name="申报时间" br>{{m.declTime}}</sa-info>
						<sa-info name="回执时间" br>{{m.rcptTime}}</sa-info>
						<sa-info name="审核备注" br>{{m.auditRemark}}</sa-info>
						<sa-info name="运输工具代理企业代码" br>{{m.agentCode}}</sa-info>
						<sa-info name="运输工具批次号" br>{{m.manifestId}}</sa-info>
						<sa-info name="商铺备案编号" br>{{m.shopPutrecNo}}</sa-info>
						<sa-info name="边民id" br>{{m.borderId}}</sa-info>
						<sa-info name="" br>{{m.msgId}}</sa-info>
						<sa-info name="企业编码" br>{{m.entCode}}</sa-info>
						<sa-info name="企业名称" br>{{m.entName}}</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('/level-one-server/TbImportOrder/getById?id=' + this.id, function(res) {
						this.m = res.data;
						if(res.data == null) {
							sa.alert('未能查找到 id=' + this.id + " 详细数据");
						}
					}.bind(this))
				}
			})

		</script>
	</body>
</html>
