<template>
  <div class="eibs-tab">
    <!-- left -->
    <c-col :span="11">
      <c-col :span="24">
        <c-fullbox>
          <el-form-item label="申报类型" prop="bopmod.szflg">
            <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>
          <template slot="footer">
            <el-form-item label="" prop="lendoc.actflg">
              <c-checkbox
              :disabled="model.bopmod.szflg=='3' || model.bopmod.szflg==''"
                v-model="model.lendoc.actflg"
                style="margin-left: 10px"
                >基础数据</c-checkbox
              >
            </el-form-item>
          </template>
        </c-fullbox>
      </c-col>

      <c-col :span="24">
        <el-form-item label="款项来源" prop="bopmod.acttyp">
          <c-select
            v-model="model.bopmod.acttyp"
            style="width: 100%"
            placeholder="请选择款项来源"
            :disabled="model.bopmod.szflg!='1'" 
          >
            <el-option
              v-for="item in acttyp"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
        </el-form-item>
      </c-col>
    </c-col>
    <!-- right -->
    <c-col :span="11" :offset="1">
      <c-col :span="24">
        <el-form-item label="地区机构号" prop="bopmod.ownextkey">
          <c-select
            v-model="model.bopmod.ownextkey"
            style="width: 100%"
            placeholder="请选择地区机构号"
            :disabled="model.bopmod.szflg=='3' || model.bopmod.szflg==''"
          >
          <el-option
              v-for="item in ownextkey"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <c-col :span="12">
          <el-form-item label="国外银行扣费（涉外收入申报专用）" prop="bopmod.outchargeccy">
            <c-select
              v-model="model.bopmod.outchargeccy"
              placeholder="请选择国外银行扣费（涉外收入申报专用）"
              disabled
              style="width: 100%"
            >
            <el-option
              v-for="item in codes.cur"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
            </c-select>
          </el-form-item>
        </c-col>
        <c-col :span="12">
          <el-form-item label="" label-width="5px" prop="bopmod.outchargeamt">
            <c-input
              v-model="model.bopmod.outchargeamt"
              placeholder="请输入国外银行扣费（涉外收入申报专用）"
              :disabled="model.bopmod.szflg!='1' || model.lendoc.actflg!='X'"
            ></c-input>
          </el-form-item>
        </c-col>
      </c-col>
    </c-col>
    <!-- <c-col :span="12">
	    <c-checkbox v-model="model.bopmod.basflg">基础数据</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.bopmod.dclflg">申报数据</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.bopmod.vrfflg">核销数据</c-checkbox>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="申报类型" prop="bopmod.szflg">
            <c-select v-model="model.bopmod.szflg" style="width:100%" placeholder="请选择申报类型">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="款项来源" prop="bopmod.acttyp">
            <c-select v-model="model.bopmod.acttyp" style="width:100%" placeholder="请选择款项来源">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="地区机构号" prop="bopmod.ownextkey">
            <c-select v-model="model.bopmod.ownextkey" style="width:100%" placeholder="请选择地区机构号">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="国外银行扣费（涉外收入申报专用）" prop="bopmod.outchargeccy">
            <c-select v-model="model.bopmod.outchargeccy" style="width:100%" placeholder="请选择国外银行扣费（涉外收入申报专用）">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="国外银行扣费（涉外收入申报专用）" prop="bopmod.outchargeamt">
            <c-input  v-model="model.bopmod.outchargeamt"  placeholder="请输入国外银行扣费（涉外收入申报专用）"></c-input>
        </el-form-item>
       </c-col> -->
  </div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Betset/Event";

export default {
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {
      acttyp: [
        { label: "境外", value: "(JW)" },
        { label: "境内非居民", value: "(JN)" },
    ],
    ownextkey: [
        { label: "08350012 北京分行", value: "08350012" },
        { label: "083507113 LM ADD", value: "08357113" },
    ],

    };
  },
  methods: { ...Event },
  created: function () {},
};
</script>
<style>
</style>
