<template>
    <div>
      <a-row>
        <a-col :span="24">
          <div class="tb-title">
            <span>项目经费构成表<strong>(单位：万元)</strong></span>
          </div>
        </a-col>
      </a-row>
      <a-row type="flex" class="row_center">
        <a-col :span="3" class="bg-gray">
          <div class="special-middle">
            <div >年度</div>
          </div>
        </a-col>
        <a-col :span="2" class="bg-gray">
          <div class="special-middle">
            <div >总额</div>
          </div>
        </a-col>
        <a-col :span="3" class="bg-gray">
          <div class="special-middle">
            <div >自治区公立医院专项资金</div>
          </div>
        </a-col>
        <a-col :span="3" class="bg-gray">
          <div class="special-middle">
            <div >自筹资金</div>
          </div>
        </a-col>
        <a-col :span="3" class="bg-gray">
          <div class="special-middle">
            <div >盟市财政资金</div>
          </div>
        </a-col>
        <a-col :span="3" class="bg-gray">
          <div class="special-middle">
            <div >其他渠道资金</div>
          </div>
        </a-col>
        <a-col :span="7" class="bg-gray">
          <div class="special-middle">
            <div >备注</div>
          </div>
        </a-col>
      </a-row>
      <a-row v-for="(item, index) in fundCompositions" :key="'projFundComposition' + index" type="flex" class="row_center">
        <a-col :span="3">
          <div class="special-middle">
            <div>{{ item.year }}</div>
          </div>
        </a-col>
        <a-col :span="2">
          <div class="special-middle">
            <div>{{ item.totalFund }}</div>
          </div>
        </a-col>
        <a-col :span="3">
          <div class="special-middle">
            <div>{{ item.specialFund }}</div>
          </div>
        </a-col>
        <a-col :span="3">
          <div class="special-middle">
            <div>{{ item.selfFund }}</div>
          </div>
        </a-col>
        <a-col :span="3">
          <div class="special-middle">
            <div>{{ item.cityFund }}</div>
          </div>
        </a-col>
        <a-col :span="3">
          <div class="special-middle">
            <div>{{ item.otherFund }}</div>
          </div>
        </a-col>
        <a-col :span="7">
          <div class="special-middle">
            <div>{{ item.remark }}</div>
          </div>
        </a-col>
      </a-row>
    </div>
  </template>
  
  <script>
  //用法  <proj-fund-composition :fundCompositions.sync="formData.fundCompositions" />
  
  const Model = { year: null, totalFund: null, specialFund: null, selfFund: null, cityFund: null, otherFund: null, remark: null }
  
  export default {
    name: 'projFundCompositionInfo',
    data () {
      return {
  
      }
    },
    props: {
      fundCompositions: {
        type: Array,
        default: () => {
          return []
        }
      },
    },
    components: {
    },
    created () {
    },
    methods: {

    }
  }
  </script>