<template>
  <c-content class="eibs-tab" :height="200">
    <!-- <div class="infTopBtn">
            <el-button-group>
                <c-button size="small" type="primary" icon="el-icon-arrow-left"></c-button>
                <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
            </el-button-group>
            <c-button size="small" type="primary">Print</c-button>
            <c-button size="small" type="primary">Use</c-button>
            <c-button size="small" type="primary">Loginfo</c-button>
        </div> -->

    <c-col :span="11" style="height:24px">
      <el-form-item label="Booking date from" prop="infcon.seabucdatfro">
        <c-col :span="11">
          <c-date-picker
            type="date"
            v-model="model.infcon.seabucdatfro"
            style="width: 100%"
            placeholder="请选择Booking date from"
          ></c-date-picker>
        </c-col>
        <c-col :span="2" style="text-align: center">
          <label style="display: inline-block; width: 100%">-</label>
        </c-col>
        <c-col :span="11">
          <c-date-picker
            type="date"
            v-model="model.infcon.seabucdatto"
            style="width: 100%"
            placeholder="请选择Booking date till used on GLEINFP"
          ></c-date-picker>
        </c-col>
      </el-form-item>
    </c-col>
    <c-col :span="11" :offset="1" style="height:24px">
      <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="23">
        <c-istream-table :list="stmData.data" :columns="stmData.columns">
          <el-table-column prop="op" label="OP" width="100" fixed="right">
            <template slot-scope="scope">
              <a href="javascript:void(0)" @click="continueEdit(scope.row)"
                >操作</a
              >
            </template>
          </el-table-column>
        </c-istream-table>
      </c-col>
  </c-content>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Infcpd/Event";

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