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

        <c-row class="infrow" style="margin-top:30px;">
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="11">
                        <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 from"></c-date-picker>
                        </el-form-item>
                    </c-col>
                    <c-col :span="8" :offset="1">
                        <el-form-item label="to" prop="infcon.seabucdatto" label-width="40px">
                            <c-date-picker type="date" v-model="model.infcon.seabucdatto" style="width:100%"
                                placeholder="请选择Booking date till used on GLEINFP"></c-date-picker>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
            <c-col :span="10" :offset="1">
                <c-row>
                    <c-col :span="20">
                        <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-row>
            </c-col>
        </c-row>

        <c-row class="infrow" style="margin-top:20px;">
            <c-col :span="22" :offset="1">
                <c-istream-table :list="stmData.data" :columns="stmData.columns">
                    <el-table-column prop="op" label="OP" width="100">
                        <template slot-scope="scope">
                            <a href="javascript:void(0)" @click="continueEdit(scope.row)">操作</a>
                        </template>
                    </el-table-column>
                </c-istream-table>
            </c-col>
        </c-row>
   </c-content>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infled/Event"

export default {
    inject: ['root'],
    props:["model","codes"],
    mixins: [commonProcess],
    data(){
        return {
            stmData: {
                columns: [
                    "1 1 \"TRNINR\" 100 ",
                    "1 2 \"Account\" 100 ",
                    "1 3 \"D/C\" 80 ",
                    "1 4 \"Cur\" 80",
                    "2 4 \"S.Cur\" 80",
                    "1 5 \"Amount\" 100",
                    "2 5 \"Sys.Amount\" 100",
                    "1 6 \"Val.Date\" 130",
                    "2 6 \"Book.Date\" 130",
                    "1 7 \"Booking Text 1\" 130",
                    "2 7 \"Booking Text 2\" 130",
                    "3 7 \"Booking Text 3\" 130",
                    "1 8 \"P.N.\" 80",
                    "1 9 \"Exp.Session\" 120",
                    "2 9 \"Exp.Status\" 80",
                ],
                data: [

                ]
            }
        }
    },
    methods:{...Event},
    created:function(){

    }
}
</script>
<style>

</style>