<template>
    <div class="eibs-tab">
        <c-list-search  @form-reset="onInfbutClr" @form-search="onInfbutSearow">
            <template v-slot="searchSlot">
                <el-form
                    class="m-table-search-form"
                    ref="paramsForm"
                    :inline="true"
                    label-position="left"
                    label-width="110px"
                    size="small"
                >
  
                
                    <el-row>
                        <c-col :span="12" >
                            <el-form-item label="FeeCode" prop="rec.cod">
                                <c-input v-model="model.cod" maxlength="32" placeholder="请输入FeeCode"></c-input>
                            </el-form-item>
                        </c-col>

                        <c-col :span="12" >
                            <el-form-item label="Description" prop="rec.nam">
                                <c-input v-model="model.nam" maxlength="32" placeholder="请输入Name"></c-input>
                            </el-form-item>
                        </c-col>


                    
                    </el-row>
                </el-form>
            </template>
        </c-list-search>

        <div style="margin-top:20px;">
      <!--      <c-button size="small" type="primary"><!-- @click="onDlmft">-->
                EXCEL导出
            </c-button>-->
            <c-button size="small" type="primary"  @click="onInfbutButprt">
                EXCEL导出
            </c-button>
            <c-button size="small" type="primary"  @click="onInfbutExi">
                E&xit
            </c-button>
            <c-button size="small" type="primary"  @click="onInfbutClr">
                &Clear
            </c-button>
            <c-button size="small" type="primary"  @click="onInfbutDsp">
                D&isplay
            </c-button>
            <c-button size="small" type="primary"  @click="onInfbutSearow">
                &Search
            </c-button>

        </div>
        <el-row>
          <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>
     
 
        </el-row>
       <c-col :span="12">
        <el-form-item label="display stream" prop="infbut.dspstm">
            <c-input  v-model="model.infbut.dspstm"  placeholder="请输入display stream"></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/Inffee/Event"

export default {
    inject: ['root'],
    props:["model","codes"],
    mixins: [CommonProcess],
    data(){

        return {
       
            stmData: {
                columns: [
                    "1 1 \"Fee Code\" 50 ",
                    "1 2\"Description\" 150",
                    "2 3 \"Relevant Amount\" 110",
                    "3 4 \"SWIFT / DTA Code\" 100",
                    "4 5 \" Booking Type\" 101 ",
                    "5 6 \" Fee Payer (Default)\" 100",
                    "6 7 \"Account\" 100",
            
                ],
                data: [     ] 
                


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

    }
}
</script>
<style>
</style>
