<template>
	<el-descriptions title="汇票详情">
	    <el-descriptions-item label="汇票名">{{list[0].name}}</el-descriptions-item>
	    <el-descriptions-item label="汇票编号">{{list[0].draftNo}}</el-descriptions-item>
	    <el-descriptions-item label="承兑人">{{list[0].acceptorName}}</el-descriptions-item>
		<el-descriptions-item label="出票人">{{list[0].drawersName}}</el-descriptions-item>
		<el-descriptions-item label="金额">{{list[0].money}}</el-descriptions-item>
		<el-descriptions-item label="服务费率">{{list[0].serviceRate}}</el-descriptions-item>
		<el-descriptions-item label="服务费">{{list[0].serviceMoney}}</el-descriptions-item>
		<el-descriptions-item label="利率">{{list[0].interestRate}}</el-descriptions-item>
		<el-descriptions-item label="利息">{{list[0].interest}}</el-descriptions-item>
		<el-descriptions-item label="acceptDate">{{list[0].acceptDate}}</el-descriptions-item>
	    <!-- <el-descriptions-item label="备注">
	      <el-tag size="small">学校</el-tag>
	    </el-descriptions-item> -->
	    <el-descriptions-item label="expectDiscountDate">{{list[0].expectDiscountDate}}</el-descriptions-item>
		<el-descriptions-item label="picList">
		<el-image style="width: 100px; height: 100px" :src="list[0].picList" :preview-src-list="list[0].picList">
		</el-image>
		</el-descriptions-item>
	</el-descriptions>
</template>

<script>
	export default{
		data(){
			return{
				list:[],
			}
		},
		mounted() {
			let id=this.$route.query.id
			this.$request({
				url:'/api/Contract/contractDraft/'+id,
				method:'get'
			}).then((res)=>{
				this.list.push(res.data)
				console.log(this.list)
			})
		}
	}
</script>

<style>
</style>