<template>
    <div class="common">
      <el-form label-width="100px">
        <el-form-item label="采购名称">{{ purchaseData.purchaseName }}</el-form-item>
        <el-divider></el-divider>
        <el-row>
          <el-col :span="12">
            <el-form-item label="规格">{{ purchaseData.specifications }}</el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="型号">{{ purchaseData.modelType }}</el-form-item>
          </el-col>
        </el-row>
        <el-divider></el-divider>

        <el-form-item label="用途说明">{{ purchaseData.applicationDescription }}</el-form-item>
        <el-divider></el-divider>

        <el-row>
          <el-col :span="12">
            <el-form-item label="使用人">{{ purchaseData.userName }}</el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="单价">{{ purchaseData.price }}</el-form-item>
          </el-col>
        </el-row>
        <el-divider></el-divider>

        <el-row>
          <el-col :span="12">
            <el-form-item label="数量">{{ purchaseData.count }}</el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="总价">{{ purchaseData.total }}</el-form-item>
          </el-col>
        </el-row>
        <el-divider></el-divider>

        <el-form-item label="备注">{{ purchaseData.remark }}</el-form-item>
        <el-divider></el-divider>
      </el-form>
    </div>
</template>

<script>
    export default {
      name: "common-info",
      props: {
        purchaseData:{
          type: Object
        }
      },
    }
</script>

<style>
  .common{
    .el-form-item {
      margin-bottom: 0px;
    }
    .el-divider--horizontal {
      margin: 5px 0;
    }
  }
</style>

<style scoped>

</style>
