<template>
  <div class="eibs-tab">

    <!--<c-col :span="12">
        <el-form-item label="stream of CBEs" prop="infcon.cbestm">
            <c-input  v-model="model.infcon.cbestm"  placeholder="请输入stream of CBEs"></c-input>
        </el-form-item>
       </c-col>-->
    <div style="height: 90%">
      <c-col :span="24" style="height: 24px">
        <el-form-item class="formItemLabel" label="发生额信息:" label-width="108px">
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-table id='infgidSpTableRef' v-loading="cbeload" :data="cbetableData" :highlight-current-row="true" :border="true" style="width:100%" size="medium">
          <el-table-column label="金额类型" prop="extid" width="100" align="left">
          </el-table-column>
          <el-table-column label="记录类型" prop="cbt" width="120" align="left">
            <template slot-scope="scope">
              <span> {{getCodelabel(scope.row.cbt, 'cbttxt') }}
              </span>
            </template>
          </el-table-column>
          <el-table-column label="产生记录的表类型" prop="trntyp" align="left">
          </el-table-column>
          <el-table-column label="发生日期" prop="dat" width="150" align="left">
          </el-table-column>
          <el-table-column label="币种" prop="cur" align="left">
          </el-table-column>
          <el-table-column label="金额" prop="amt" width="150" align="left">
            <template slot-scope="scope">
              <span> {{moneyFormat(scope.row.amt, scope.row.cur) }}
              </span>
            </template>
          </el-table-column>
          <el-table-column label="折算币种" prop="xrfcur" align="left">
          </el-table-column>
          <el-table-column label="折算金额" prop="xrfamt" width="150" align="left">
            <template slot-scope="scope">
              <span> {{moneyFormat(scope.row.xrfamt, scope.row.xrfcur) }}
              </span>
            </template>
          </el-table-column>
          <el-table-column label="授权标志" prop="relflg" align="left">
            <template slot-scope="scope">
              <span> {{getCodelabel(scope.row.relflg, 'relsta') }}
              </span>
            </template>
          </el-table-column>
          <el-table-column label="创建日期" prop="credat" width="150" align="left">
          </el-table-column>
          <el-table-column label="可选日期" prop="optdat" width="150" align="left">
          </el-table-column>
          <el-table-column label="描述" prop="nam" :show-overflow-tooltip="true" width="300" align="left">
          </el-table-column>
          <el-table-column label="账号" prop="acc" :show-overflow-tooltip="true" width="200" align="left">
          </el-table-column>
          <el-table-column label="产生记录表主键" prop="trninr" :show-overflow-tooltip="true"  width="150" align="left">
          </el-table-column>
        </el-table>
      </c-col>
    </div>
  </div>
</template>
<script>
import Api from "~/service/Api";
// import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import event from "../event";

export default {
  inject: ["root"],
  props: ["model", "codes", "cbetableData"],
  mixins: [event],
  // mixins: [CommonProcess],
  data() {
    return {
      cbeload: false
    };
  }
};
</script>
<style>
</style>