<template>
	<view class="content">
		<view class="item">
		  <text class="title">土地权利人</text>
		  <text class="val">
			{{ objs.tdqlr }}
		  </text>
		</view>
		<view class="item">
		  <text class="title">面积</text>
		  <text class="val">
			{{ objs.sjydmj && (objs.sjydmj * 0.0015).toFixed(2) }} 亩
		  </text>
		</view>
		<view class="item">
		  <text class="title">行政区划代码</text>
		  <text class="val">
			{{ objs.xzqdm }}
		  </text>
		</view>
		<view class="item">
		  <text class="title">行政区划名称</text>
		  <text class="val">
			{{ objs.szx }}{{ objs.szxz && '-' + objs.szxz }}
		  </text>
		</view>
		<view class="item">
		  <text class="title">用地批准时间</text>
		  <text class="val">
			{{ (objs.ydpzsj || '') | formatDate }}
		  </text>
		</view>
		<view class="item">
		  <text class="title">土地坐落</text>
		  <text class="val">
			{{ objs.tdzl }}
		  </text>
		</view>
		<view class="item">
		  <text class="title">出让合同号</text>
		  <text class="val">
			{{ objs.crhth }}
		  </text>
		</view>
		<view class="item">
		  <text class="title">不动产权证号</text>
		  <text class="val">
			{{ objs.bdcqzh }}
		  </text>
		</view>
		<view class="item">
		  <text class="title">电子监管号</text>
		  <text class="val">
			{{ objs.dzjgh }}
		  </text>
		</view>
		<view class="item">
		  <text class="title">不动产单元代码</text>
		  <text class="val">
			{{ objs.bdcdydm }}
		  </text>
		</view>
		<view class="item">
		  <text class="title">权属性质</text>
		  <text class="val">
			{{ objs.qsxz }}
		  </text>
		</view>
		<view class="item">
		  <text class="title">固定资产投资强度</text>
		  <text class="val">
			{{ objs.ydgdzctzqd }}
		  </text>
		</view>
		<view class="item">
		  <text class="title">约定开工时间</text>
		  <text class="val">
			{{ (objs.ydkgsj || '') | formatDate }}
		  </text>
		</view>
		<view class="item">
		  <text class="title">约定竣工时间</text>
		  <text class="val">
			{{ (objs.ydjgsj || '') | formatDate }}
		  </text>
		</view>
		<view class="item">
		  <text class="title">实际开工时间</text>
		  <text class="val">
			{{ (objs.sjkgsj || '') | formatDate }}
		  </text>
		</view>
		<view class="item">
		  <text class="title">实际竣工时间</text>
		  <text class="val">
			{{ (objs.sjjgsj || '') | formatDate }}
		  </text>
		</view>
		<view class="item">
		  <text class="title">规划容积率</text>
		  <text class="val">
			{{ objs.ghrjl }}
		  </text>
		</view>
		<view class="item">
		  <text class="title">实际容积率</text>
		  <text class="val">
			{{ objs.sjrjl }}
		  </text>
		</view>
		<view class="item">
		  <text class="title">规划建筑密度</text>
		  <text class="val">
			{{ objs.ghjzmd }}
		  </text>
		</view>
		<view class="item">
		  <text class="title">实际建筑密度</text>
		  <text class="val">
			{{ objs.sjjzmd }}
		  </text>
		</view>
		<view class="item">
		  <text class="title">实际建筑面积</text>
		  <text class="val">
			{{ objs.sjjzmj }}
		  </text>
		</view>
		<view class="item">
		  <text class="title">建筑基地面积</text>
		  <text class="val">
			{{ objs.jzjdmj }}
		  </text>
		</view>
		<view class="item">
		  <text class="title">2020年税收</text>
		  <text class="val">
			{{ objs.ss2020 }} 万元
		  </text>
		</view>
		<view class="item">
		  <text class="title">2021年税收</text>
		  <text class="val">
			{{ objs.ss2021 }} 万元
		  </text>
		</view>
		<view class="item">
		  <text class="title">2022年税收</text>
		  <text class="val">
			{{ objs.ss2022 }} 万元
		  </text>
		</view>
		<view class="item">
		  <text class="title">2020年亩均税收</text>
		  <text class="val">
			{{ objs.mjss2020 }} 万元/亩
		  </text>
		</view>
		<view class="item">
		  <text class="title">2021年亩均税收</text>
		  <text class="val">
			{{ objs.mjss2021 }} 万元/亩
		  </text>
		</view>
		<view class="item">
		  <text class="title">2022年亩均税收</text>
		  <text class="val">
			{{ objs.mjss2022 }} 万元/亩
		  </text>
		</view>
		<view class="item">
		  <text class="title">行业代码</text>
		  <text class="val">
			{{ objs.hydm }}
		  </text>
		</view>
		<view class="item">
		  <text class="title">行业名称</text>
		  <text class="val">
			{{ objs.hylb || objs.hylbzl }}
		  </text>
		</view>
	</view>
</template>

<script>
export default {
	props: {
		objs: {
			type: Object,
			default(){
				return {}
			}
		}
	},
    filters: {
	    formatDate(dateStr){
			if(!dateStr) return;
			const date = new Date(dateStr);
			const year = date.getFullYear();
			const month = date.getMonth()+1;
			const day = date.getDate();
			const monthStr = month < 10 ? `0${month}` : month;
			const dayStr = day < 10 ? `0${day}` : day;
			return `${year}-${monthStr}-${dayStr}`;
	    }
    },
	data() {
		return {
			
		}
	},
	methods: {
		
	}
}
</script>

<style lang="scss" scoped>
@import '../common.scss';
</style>
