<template>
  <div>
    <div class="normal-margin">
      <el-descriptions :column="2" labelClassName="my-label" contentClassName="my-content" border>
        <div slot="title" class="my-label__title">基本信息</div>
        <el-descriptions-item  label="单号">{{ data.billno?data.billno:"--" }}</el-descriptions-item>
        <el-descriptions-item label="单据日期">{{ data.billdate?data.billdate:"--" }}</el-descriptions-item>
        <el-descriptions-item label="企业名称">{{ data.enterprisename?data.enterprisename:"--"}}</el-descriptions-item>
        <el-descriptions-item label="金额">{{ data.amount?data.amount:"--"}}</el-descriptions-item>
        <el-descriptions-item label="分类明细">{{ data.subclass?data.subclass:"--"}}</el-descriptions-item>
        <el-descriptions-item label="状态">{{ data.status?data.status:"--" }}</el-descriptions-item>
        <el-descriptions-item label="返利金有效期">{{ data.rebate_enddate?data.rebate_enddate:"--" }}</el-descriptions-item>
        <el-descriptions-item label="余额">{{ data.rebate_balance?data.rebate_balance:"--" }}</el-descriptions-item>
        <el-descriptions-item label="备注">{{ data.remarks?data.remarks:"--" }}</el-descriptions-item>

      </el-descriptions>
    </div>

    <div>
      <el-descriptions :column="2" labelClassName="my-label" contentClassName="my-content" border>
        <div slot="title" class="my-label__title">系统信息</div>
        <el-descriptions-item label="创建人">{{ data.createby?data.createby:"--" }}</el-descriptions-item>
        <el-descriptions-item label="创建时间">{{ data.createdate?data.createdate:"--" }}</el-descriptions-item>
        <el-descriptions-item label="审核人">{{ data.checkby?data.checkby:"--" }}</el-descriptions-item>
        <el-descriptions-item label="审核时间">{{ data.checkdate?data.checkdate:"--" }}</el-descriptions-item>
      </el-descriptions>
    </div>
  </div>
</template>

<script>
export default {
  name: "detailed",
  props:["data"]
}
</script>

<style scoped>

</style>