<template>
  <div class="eibs-tab">
    <c-col :span="6">
      <el-form-item label="Fee Code" prop="infcon.fepfeecod">
        <c-select
          v-model="model.infcon.fepfeecod"
          style="width: 100%"
          placeholder="请选择Fee Code"
        >
        </c-select>
      </el-form-item>
    </c-col>

    <c-col :span="8" :offset="4">
      <el-form-item label="Disposition" prop="infcon.fepdsp">
        <c-select
          v-model="model.infcon.fepdsp"
          style="width: 100%"
          placeholder="请选择Disposition"
        >
        </c-select>
      </el-form-item>
    </c-col>

    <c-col :span="20">
      <c-istream-table
        :list="stmData.data"
        :columns="stmData.columns"
        prop="infcon.fepstm"
      >
        <!--el-table-column prop="op" label="OP" width="100">placeholder="请输入display stream"</el-table-column-->
      </c-istream-table>
    </c-col>

    <c-col :span="12">
      <span v-text="model.infcon.feptxtlbl" data-path=".infcon.feptxtlbl">
      </span>
    </c-col>

    <c-col :span="8">
      <el-form-item label="Disposition" prop="infcon.fcpdsp" style="padding:20px 0 0 0">
        <c-select
          v-model="model.infcon.fcpdsp"
          style="width: 100%"
          placeholder="请选择Disposition"
        >
        </c-select>
      </el-form-item>
    </c-col>

    <c-col :span="20">
      <c-istream-table
        :list="stmData1.data"
        :columns="stmData1.columns"
        prop="infcon.fcpstm"
      >
        <!--el-table-column prop="op" label="OP" width="100">placeholder="请输入display stream"</el-table-column-->
      </c-istream-table>
    </c-col>

    <c-col :span="12">
      <span v-text="model.infcon.fcptxtlbl" data-path=".infcon.fcptxtlbl">
      </span>
    </c-col>
  </div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Infbtd/Event";

export default {
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [CommonProcess],
  data() {
    return {
      stmData: {
        columns: [
          '1 1 "Fee Code" 155 ',
          '8 2 "Fee Text" 155',
          '9 3 "Disposition" 155',
          '11 4 "Role" 155',
          '12 5 "Cur." 155',
          '3 6 "Amount" 155',
          '4 7 "Transaction/INR" 155',
          '5 8 "Entry Date" 155',
          '15 9 "Status" 155',
        ],
        data: [],
      },
      stmData1: {
        columns: [
          '1 1 "Payer" 175 ',
          '8 1 "Text for Payer" 175',
          '9 2 "Payee" 175',
          '11 2 "Text for Payee" 175',
          '12 3 "Disposition" 175',
          '3 4 "Cue." 175',
          '3 5 "Amount" 175',
          '4 6 "Transaction/INR" 175',
          '5 7 "Entry Date" 175',
          '15 8 "Status" 175',
        ],
        data: [],
      },
    };
  },
  methods: { ...Event },
  created: function () {},
};
</script>
<style>
</style>
