<template>
  <div class="eibs-tab">
      <!-- 左 -->
    <c-col :span="11">

      <c-col :span="24">
        <el-form-item label="客户号" prop="recpan.epty.extkey">
          <c-input
            v-model="model.recpan.epty.extkey"
            maxlength="24"
            placeholder="请输入客户号"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="24">
        <el-form-item label="组织机构代码" prop="recpan.epty.juscod">
          <c-input
            v-model="model.recpan.epty.juscod"
            maxlength="10"
            placeholder="请输入组织机构'码"
          ></c-input>
        </el-form-item>
      </c-col>
    </c-col>

    <c-col :span="11" :offset="1">
      <c-col :span="24">
        <el-form-item label="客户名称" prop="recpan.epty.ptynam">
          <c-input
            v-model="model.recpan.epty.ptynam"
            maxlength="100"
            placeholder="请输入客户名称"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item label="外汇许可证号" prop="recpan.epty.whzno">
          <c-input
            v-model="model.recpan.epty.whzno"
            maxlength="50"
            placeholder="请输入外汇许可证号"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <c-button
          size="small"
          type="primary"
          @click="onEptyPtyget"
          style="float: right"
        >
          查询
        </c-button>
      </c-col>
    </c-col>


    
  <c-col :span="24">
    <c-istream-table :list="trnData.data" :columns="trnData.columns">
    </c-istream-table>
  </c-col>
    
  </div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Dbipty/Event";

export default {
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {
      trnData: {
        columns: [
          '0 1 "客户号" 80 1 20:2 1',
          '1 2 "客户类别" 80 1 20:2 1 TransKhTyp',
          '2 3 "客户名称" 130 1 20:0 1',
          '3 4 "英文名称" 100 1 20:0 1',
          '4 5 "所属国家地区代码" 100 1 20:2 1',
          '5 6 "组织机构代码" 80 1 20:2 1',
          '6 7 "组织机构代码有效日期" 80 1 20:2 1',
          '7 8 "营业执照号" 80 1 20:2 1',
          '8 9 "外汇许可证号" 80 1 20:2 1 TransIf',
          '9 10 "企业外管代码" 100  1 20:2 1 TransIf',
          '10 11 "进出口经营权许可证书" 100 1 20:2 1',
          '11 12 "是否自贸区客户" 80 1 20:2 1 TransIf',
          '12 13 "是否正式客户" 80 1 20:2 1 TransIf',
          '13 14 "所属地区代码" 80 1 20:2 1',
          '14 15 "角色的ECIF客户号" 80 1 20:2 1',
          '15 16 "是否为光大集团股东客户" 80 1 20:2 1 TransIf',
          '16 17 "是否为光大集团关联单位" 80 1 20:2 1 TransIf',
          '17 18 "客户状态" 80 1 20:2 1 TransKhSta',
          '18 19 "是否为NRA账户" 80 1 20:2 1 TransIf',
          '19 20 "Swift编号" 80 1 20:2 1 TransIf',
          '20 21 "统一社会信用代码" 130 1 20:2 1 TransIf',
          '21 22 "金融机构类型" 180 1 20:2 1 TransFinOrg',
        ],
        data: [],
      },
    };
  },
  methods: { ...Event },
  created: function () {},
};
</script>
<style>
</style>

<!-- <c-col :span="12">
        <el-form-item label="ECIF pty info" prop="recpan.epty.eptystream">
            <c-input  v-model="model.recpan.epty.eptystream"  placeholder="请输入ECIF pty info"></c-input>
        </el-form-item>
       </c-col> -->

    <!-- <c-col :span="12">
        <c-button size="small" type="primary"  @click="onEptyPtyext">
            &Exit
        </c-button>
       </c-col> -->