<template>
  <div class="eibs-tab">
    <c-col :span="24">
      <!-- ======================= 左边 ========================= -->
      <c-col :span="12" style="padding-right: 20px">
        <c-col :span="24">
            <el-form-item label="Transfer Reference" prop="ltdgrp.rec.ownref">
                <c-input disabled v-model="model.ltdgrp.rec.ownref" maxlength="16" ></c-input>
            </el-form-item>
        </c-col>
        <c-col :span="24">
            <el-form-item label="Document Set Reference" prop="btdgrp.rec.ownref">
                <c-input disabled v-model="model.btdgrp.rec.ownref" maxlength="16" ></c-input>
            </el-form-item>
        </c-col>
        <c-col :span="24">
          <c-col :span="12">
            <el-form-item label="Document Amount" prop="btdgrp.cbs.max.cur">
              <c-select disabled v-model="model.btdgrp.cbs.max.cur" style="width:100%" dbCode="curtxt">
              </c-select>
            </el-form-item>
          </c-col>
          <c-col :span="6">
            <el-form-item label-width="5px" prop="btdgrp.cbs.max.amt">
              <c-input-currency disabled :currency="model.btdgrp.cbs.max.cur" v-model="model.btdgrp.cbs.max.amt"></c-input-currency>
            </el-form-item>
          </c-col>
          <c-col :span="6">
            <el-form-item label-width="0px" prop="addamtflg">
              <c-checkbox style="float: left;margin-left: 15px;" disabled v-model="model.addamtflg" true-label="X" false-label="">Add.Amount</c-checkbox>
            </el-form-item>
          </c-col>
        </c-col>
        <c-col :span="24">
          <c-col :span="12">
            <el-form-item label="Open Amount" prop="btdgrp.cbs.opn1.cur">
              <c-select disabled v-model="model.btdgrp.cbs.opn1.cur" style="width:100%" dbCode="curtxt">
              </c-select>
            </el-form-item>
          </c-col>
          <c-col :span="12">
            <el-form-item label-width="5px" prop="btdgrp.cbs.opn1.amt">
              <c-input-currency disabled :currency="model.btdgrp.cbs.opn1.cur" v-model="model.btdgrp.cbs.opn1.amt"></c-input-currency>
            </el-form-item>
          </c-col>
        </c-col>
        <c-col :span="24">
            <el-form-item label="Maturity Date" prop="btdgrp.rec.matdat">
              <c-date-picker disabled type="date" v-model="model.btdgrp.rec.matdat" style="width:100%"></c-date-picker>
            </el-form-item>
        </c-col>
        <c-col :span="24">
          <c-col :span="12">
            <el-form-item label="Received On 2nd Ben." prop="btdgrp.rec.rcvdatbe2">
              <c-date-picker disabled type="date" v-model="model.btdgrp.rec.rcvdatbe2" style="width:100%"></c-date-picker>
            </el-form-item>
          </c-col>
          <c-col :span="12">
            <el-form-item label="Received On 1st Ben." prop="btdgrp.rec.rcvdatbe1">
              <c-date-picker disabled type="date" v-model="model.btdgrp.rec.rcvdatbe1" style="width:100%"></c-date-picker>
            </el-form-item>
          </c-col>
        </c-col>
        <c-col :span="24">
            <el-form-item label="Document Type" prop="btdgrp.rec.doctypcod">
                  <c-select disabled v-model="model.btdgrp.rec.doctypcod" dbCode="brdtyp"></c-select>
              </el-form-item>
        </c-col>
      </c-col>
      <!-- ======================= 右边 ========================= -->
      <c-col :span="12" style="padding-left: 20px">
        <c-col :span="24">
            <el-form-item label="L/C Reference" prop="ledgrp.rec.ownref">
                <c-input disabled v-model="model.ledgrp.rec.ownref" maxlength="16" ></c-input>
            </el-form-item>
        </c-col>
        <c-col :span="24">
            <el-form-item label="Name" prop="btdgrp.rec.nam">
                <c-input  v-model="model.btdgrp.rec.nam" maxlength="40" disabled></c-input>
            </el-form-item>
        </c-col>
        <c-col :span="24">
            <el-form-item label="1st Beneficiary Ref." prop="btdgrp.be1.pts.ref">
                <c-input  v-model="model.btdgrp.be1.pts.ref" disabled></c-input>
            </el-form-item>
        </c-col>
        <c-col :span="24">
            <el-form-item label="1st Beneficiary Name" prop="btdgrp.be1.pts.nam">
                <c-input  v-model="model.btdgrp.be1.pts.nam" disabled></c-input>
            </el-form-item>
        </c-col>
        <c-col :span="24">
            <el-form-item label="2nd Beneficiary Ref." prop="btdgrp.be2.pts.ref">
                <c-input  v-model="model.btdgrp.be2.pts.ref" disabled></c-input>
            </el-form-item>
        </c-col>
        <c-col :span="24">
            <el-form-item label="2nd Beneficiary Name" prop="btdgrp.be2.pts.nam">
                <c-input  v-model="model.btdgrp.be2.pts.nam" disabled></c-input>
            </el-form-item>
        </c-col>
         <c-col :span="24">
            <el-form-item label="Document Set Status" prop="btdgrp.rec.docsta">
                <c-select disabled v-model="model.btdgrp.rec.docsta" dbCode="docsta"></c-select>
            </el-form-item>
        </c-col>
      </c-col>
    </c-col>
  </div>
</template>
<script>
import Event from "../event";

export default {
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [Event],
  data() {
    return {};
  },
  methods: {},
  created: function() {},
};
</script>
<style>
</style>