<template>
  <view class="detail-contract-about">
    <about-file
      v-if="batchId"
      :batch-id="batchId"
      :detail-id="detailId"
      type="crm_invoice"
      class="about-section" />

    <about-operation
      :detail-id="detailId"
      type="crm_invoice"
      class="about-section" />
  </view>
</template>

<script>
  import AboutFile from '../../components/tabAbout/aboutFile.vue'
  import AboutOperation from '../../components/tabAbout/aboutOperation.vue'

  export default {
    name: 'DetailInvoiceAbout',
    components: {
      AboutFile,
      AboutOperation
    },
    props: {
      detailId: {
        type: [String, Number],
        default: null,
        required: true
      },
      detailData: {
        type: Object,
        default: () => {}
      },
      batchId: {
        type: String,
        default: null
      }
    },
    data() {
      return {}
    },
    methods: {}
  }
</script>

<style scoped lang="scss">

</style>
