<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" 50 ',
          '8 2 "Account" 150',
          '9 3 "D/C" 150',
          '11 4 "Cur." 110',
          '12 4 "s.Cur" 110',
          '18 5 "Amount" 100',
          '3 5 "Sys.Amount" 101',
          '4 6 "Val.Date" 101',
          '5 6 "Book.Date" 101',
          '15 7 "Booking Text 1" 30',
          '12 7 "Booking Text 2" 110',
          '18 7 "Booking Text 3" 100',
          '3 8 "P.N." 101',
          '4 9 "Exp.Session" 101',
          '5 9 "Exp.Status" 101',
        ],
        data: [],
      },
    };
  },
  methods: { ...Event },
  created: function () {},
};
</script>
<style>
</style>
