<template>
  <div class="eibs-tab">
      <c-col :span="12">
        <c-col :span="16">
        <el-form-item label="申报类型">
          <c-select
            v-model="model.bopmod.szflg"
            style="width: 100%"
            placeholder="请选择申报类型"
          >
          <el-option
            v-for="item in codes.szflg"
            :key="item.value"
            :label="item.label"
            :value="item.value"
          ></el-option>
          </c-select>
        </el-form-item>
      </c-col>

      <c-col :span="7" :offset="1">
        <c-checkbox v-model="model.bopmod.basflg" :disabled="model.bopmod.szflg==='3'||model.bopmod.szflg===''">基础数据</c-checkbox>
      </c-col>

      <c-col :span="16">
        <el-form-item label="款项去向" prop="bopmod.acttyp">
          <c-select
            v-model="model.bopmod.acttyp"
            style="width: 100%"
            placeholder="请选择"
            :disabled="model.bopmod.szflg==='2'"
          >
          <el-option
            v-for="item in codes.acttyp"
            :key="item.value"
            :label="item.label"
            :value="item.value"
          ></el-option>
          </c-select>
        </el-form-item>
      </c-col>

      <c-col :span="16">
        <el-form-item label="地区机构号" prop="bopmod.ownextkey">
          <c-select
            v-model="model.bopmod.ownextkey"
            style="width: 100%"
            placeholder="请选择"
          >
          <el-option
            v-for="item in codes.ownextkey"
            :key="item.value"
            :label="item.label"
            :value="item.value"
          ></el-option>
          </c-select>
        </el-form-item>
      </c-col>
      </c-col>

  

    <!-- <c-col :span="8" :offset="1">
      <c-col :span="3">
        <c-checkbox v-model="model.bopmod.basflg" >基础数据</c-checkbox>
      </c-col> -->

      <!-- <c-col :span="3">
        <c-checkbox v-model="model.bopmod.dclflg">申报数据</c-checkbox>
      </c-col>

      <c-col :span="3">
        <c-checkbox v-model="model.bopmod.vrfflg">核销数据</c-checkbox>
      </c-col> -->
  </div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptopn/Event";

export default {
  inject: ['root'],
  props: ["model", "codes"],
  mixins: [CommonProcess],
  data() {
    return {
    };
  },
  methods: { ...Event ,
  },
  created: function () {},
};
</script>
<style>
</style>
