<template>
  <div class="basic-info">
    <el-form
      :model="ruleForm"
      label-position="top"
      label-width="150px"
      class="rule-form-orange"
    >
      <el-form-item label="公司名称" class="one-form-item">
        <el-input v-model="defaultDatailsInfo.enterpriseName" disabled placeholder="请输入公司名称" />
      </el-form-item>
      <el-form-item label="统一社会信用代码" class="one-form-item">
        <el-input v-model="defaultDatailsInfo.socialCreditCode" disabled placeholder="请输入统一社会信用代码" />
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
export default {
  inject: ['datailsInfo'],
  data() {
    return {
      ruleForm: {
        enterpriseName: '',
        socialCreditCode: ''
      }
    }
  },
  computed: {
    defaultDatailsInfo() {
      return this.datailsInfo.value || this.ruleForm
    }
  }
}
</script>

<style lang="scss" scoped>
.basic-info {

}

</style>
