<template>
  <div class="eibs-tab">
    <c-col :span="6">
      <el-form-item label="Booking date from" prop="infcon.seabucdatfro">
        <c-date-picker
          type="date"
          v-model="model.infcon.seabucdatfro"
          style="width: 100%"
          placeholder="请选择Booking date"
        ></c-date-picker>
      </el-form-item>
    </c-col>

    <c-col :span="6">
      <el-form-item label="to" prop="infcon.seabucdatto">
        <c-date-picker
          type="date"
          v-model="model.infcon.seabucdatto"
          style="width: 100%"
          placeholder="请选择end date"
        ></c-date-picker>
      </el-form-item>
    </c-col>

    <c-col :span="8" :offset="2">
      <el-form-item label="Transaction INR" prop="infcon.seatrninr">
        <c-input
          v-model="model.infcon.seatrninr"
          maxlength="8"
          placeholder="请输入Transaction INR"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="22">
      <c-istream-table
        :list="stmData.data"
        :columns="stmData.columns"
        prop="infcon.glestm"
      >
      </c-istream-table>
      <!--el-form-item label="Stream of GLEs" prop="infcon.glestm">
            <c-input  v-model="model.infcon.glestm"  placeholder="请输入Stream of GLEs"></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/Infltd/Event";

export default {
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [CommonProcess],
  data() {
    return {
      stmData: {
        columns: [
          '1 1 "TrnINR" 170 ',
          '8 2 "Account" 170',
          '9 3 "D/C" 170',
          '11 4 "Cur." 170',
          '12 4 "s.Cur" 170',
          '18 5 "Amount" 170',
          '3 5 "Sys.Amount" 170',
          '4 6 "Val.Date" 170',
          '5 6 "Book.Date" 170',
          '15 7 "Booking Text 1" 170',
          '12 7 "Booking Text 2" 170',
          '18 7 "Booking Text 3" 170',
          '3 8 "P.N." 170',
          '4 9 "Exp.Session" 170',
          '5 9 "Exp.Status" 170',
        ],
        data: [],
      },
    };
  },
  methods: { ...Event },
  created: function () {},
};
</script>
<style>
</style>
