<template>
  <div class="eibs-tab">
      <c-col :span="24">
          <c-col :span="6">
              <el-form-item label="Branch">
                  <c-select v-model="model.bchcon" placeholder="请选择"></c-select>
              </el-form-item>
          </c-col>
          <c-col :span="6">
              <el-form-item label="User">
                  <c-select v-model="model.usrcon" placeholder="请选择"></c-select>
              </el-form-item>
          </c-col>
          <c-col :span="6">
        <el-form-item label="Reference" prop="trncorco.ownref">
            <c-input  v-model="model.trncorco.ownref" maxlength="20"  placeholder="请输入Reference"></c-input>
        </el-form-item>
       </c-col> 
       <c-col :span="6">
           <el-form-item label="" label-width="30px">
               <c-checkbox v-model="model.clrout">Manual Clear</c-checkbox>
           </el-form-item>
       </c-col>
      </c-col>

      <c-col :span="24">
          <c-col :span="5">
        <el-form-item label="Between">
          <c-date-picker
            type="date"
            v-model="model.inidatfro"
            style="width: 100%"
            placeholder="请选择"
          ></c-date-picker>
        </el-form-item>
      </c-col>
      <c-col :span="5">
        <el-form-item label="and" label-width="70px">
          <c-date-picker
            type="date"
            v-model="model.inidattil"
            style="width: 100%"
            placeholder="请选择"
          ></c-date-picker>
        </el-form-item>
      </c-col>
      <c-col :span="11" :offset="2">
        <el-form-item label="Status" prop="trncorco.relflg">
            <c-select v-model="model.trncorco.relflg" style="width:30%" placeholder="请选择状态">
              </c-select>
        </el-form-item>
       </c-col>
      </c-col>

      <c-col :span="24">
          <c-col :span="6">
              <el-form-item label="">
                  <c-checkbox v-model="model.trnflg">TRNFLG</c-checkbox>
              </el-form-item>
          </c-col>
          <c-col :span="6">
              <el-form-item label="是否自动入账">
                  <c-select v-model="model.zdrz" placeholder="请选择"></c-select>
              </el-form-item>
          </c-col>
          <c-col :span="6">
        <el-form-item label="Transaction Type" prop="atp.cod">
            <c-input  v-model="model.atp.cod" maxlength="6"  placeholder="请输入交易类型"></c-input>
        </el-form-item>
       </c-col> 
       <c-col :span="6">
        <el-form-item label="" prop="atpget.sdamod.seainf" label-width="15px">
            <c-button type="primary" v-model="model.atpget.sdamod.seainf">i</c-button>
        </el-form-item>
       </c-col> 
      </c-col>
      <c-col :span="12" :offset="12">
        <el-form-item label="Transaction Text" prop="atptxt">
            <c-input  v-model="model.atptxt" maxlength="37"  placeholder="请输入交易备注" style="width:70%"></c-input>
        </el-form-item>
       </c-col> 

       <c-col :span="22" :offset="1">
          <c-table
            v-model="model.trncorco.trnstm"
            :border="true"
            :list="data"
            style="width:80%,text-align:center"
          >
            <el-table-column label="TRN" width="auto"></el-table-column>
            <el-table-column label="Own Reference" width="auto"></el-table-column>
            <el-table-column label="Cur" width="auto"></el-table-column>
            <el-table-column label="Relevant" width="auto"></el-table-column>
            <el-table-column label="Entry" width="auto"></el-table-column>
            <el-table-column label="Req" width="auto"></el-table-column>
            <el-table-column label="Rq0" width="auto"></el-table-column>
            <el-table-column label="Rq1" width="auto"></el-table-column>
            <el-table-column label="Rq2" width="auto"></el-table-column>
            <el-table-column label="User" width="auto"></el-table-column>
          </c-table>
        </c-col> 
                                               
       <!--             
                                   
       
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onDsp">
            显示
        </c-button>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Date of entry of Transaction" prop="trncorco.inidatfro">
            <c-date-picker type="date"  v-model="model.trncorco.inidatfro" style="width:100%"  placeholder="请选择Date of entry of Transaction"></c-date-picker>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Date of entry of Transaction until" prop="trncorco.inidattil">
            <c-date-picker type="date"  v-model="model.trncorco.inidattil" style="width:100%"  placeholder="请选择Date of entry of Transaction until"></c-date-picker>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="atpget.sdamod.dadsnd">
            <c-input  v-model="model.atpget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col>             
                                   
                   
                  
                   
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onSearow">
            &Search All
        </c-button>
       </c-col>
                                   
                  
                                   
       <c-col :span="12">
        <el-form-item label="List of transaction sfor display" prop="trncorco.trnstm">
            <c-input  v-model="model.trncorco.trnstm"  placeholder="请输入List of transaction sfor display"></c-input>
        </el-form-item>
       </c-col>             
                  
       <c-col :span="12">
        <el-form-item label="# of transactions" prop="numtrn">
            <c-input  v-model="model.numtrn"  placeholder="请输入# of transactions"></c-input>
        </el-form-item>
       </c-col>             
                                   
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onDiaconButdia">
            日志
        </c-button>
       </c-col>
                                                    
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onRelrow">
            复核
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onUndo">
            Un&do
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onReprow">
            退回
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onRejrow">
            Reject
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onExi">
            退出
        </c-button>
       </c-col> -->
  </div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trnrel/Event"

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

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

    }
}
</script>
<style>

</style>
