<template>
  <div class="eibs-tab">
    <c-col :span="24">
      <!-- ======================= 左边 ========================= -->
      <c-col :span="12"  style="padding-right: 20px">
        <!-- S0000089 : 业务编号 -->
        <c-col :span="24">
          <el-form-item   label="Transfer Reference" prop="ltdgrp.rec.ownref">
            <c-fullbox>
              <c-input v-model="model.ltdgrp.rec.ownref" disabled maxlength="16" ></c-input>
            </c-fullbox>
          </el-form-item>
        </c-col>
     
        <c-col :span="24">
          <c-col :span="12">
            <el-form-item  label="Transfer L/C Amount" prop="ltdgrp.cbs.nom1.cur">
              <c-select v-model="model.ltdgrp.cbs.nom1.cur" disabled style="width:100%" placeholder="" dbCode="curtxt">
              </c-select>
            </el-form-item>
          </c-col>
          <c-col :span="6">
            <el-form-item  label-width="5px" prop="ltdgrp.cbs.nom1.amt">
              <c-input-currency :currency="model.ltdgrp.cbs.nom1.cur" disabled v-model="model.ltdgrp.cbs.nom1.amt" placeholder=""></c-input-currency>
            </el-form-item>
          </c-col>
           <c-col :span="6">
            <el-form-item  label="Add.Amount" label-width="80%" prop="lttp.aamp.aammod.addamtflg">
              <c-checkbox v-model="model.lttp.aamp.aammod.addamtflg" 	class="checkbox-left"  disabled style="width:100%" placeholder="" >
              </c-checkbox>
            </el-form-item>
          </c-col>
        </c-col>
        <!-- SF000113 : Received Amount -->
        <c-col :span="24">
          <c-col :span="12">
            <el-form-item  label="Open Amount" prop="ltdgrp.cbs.opn1.cur">
              <c-select v-model="model.ltdgrp.cbs.opn1.cur" disabled style="width:100%" placeholder="" dbCode="curtxt">
              </c-select>
            </el-form-item>
          </c-col>
          <c-col :span="6">
            <el-form-item  label-width="5px" prop="ltdgrp.cbs.opn1.amt">
              <c-input-currency :currency="model.ltdgrp.cbs.opn1.cur"  disabled v-model="model.ltdgrp.cbs.opn1.amt" placeholder=""></c-input-currency>
            </el-form-item>
          </c-col>
        </c-col>
        <c-col :span="24">
          <c-form-item label="Available with" prop="ltdgrp.avt.pts.nam">
            <c-input v-model="model.ltdgrp.avt.pts.nam" disabled  maxlength="35" ></c-input>
          </c-form-item>
        </c-col>
         <c-col :span="13">
          <el-form-item  label="by" prop="ltdgrp.rec.avbby">
            <c-select v-model="model.ltdgrp.rec.avbby" dbCode="avbby0" disabled  ></c-select>
          </el-form-item>
        </c-col>
         <c-col :span="11">
            <el-form-item  label="Shipment Date" prop="ltdgrp.rec.shpdat" label-width="120px">
              <c-date-picker type="date" disabled v-model="model.ltdgrp.rec.shpdat" style="width:100%" ></c-date-picker>
            </el-form-item>
          </c-col>
        <c-col :span="24">
          <c-col :span="13">
            <el-form-item  label="Date Issued/From" prop="ltdgrp.rec.opndat">
              <c-date-picker type="date" disabled v-model="model.ltdgrp.rec.opndat" style="width:100%" ></c-date-picker>
            </el-form-item>
          </c-col>
           <c-col :span="11">
          <el-form-item  label-width="5px" prop="ltdgrp.rec.lcrtyp">
            <c-select v-model="model.ltdgrp.rec.lcrtyp" dbCode="lcrtyp"  disabled  ></c-select>
          </el-form-item>
        </c-col>
        </c-col>
        <c-col :span="24">
         <c-col :span="13">
          <el-form-item  label="Date/Place of Expiry" prop="ltdgrp.rec.expdat">
             <c-date-picker type="date" disabled v-model="model.ltdgrp.rec.expdat" style="width:100%" ></c-date-picker>
          </el-form-item>
        </c-col>
        <c-col :span="11">
          <el-form-item  label-width="5px" prop="ltdgrp.rec.expplc">
            <c-input v-model="model.ltdgrp.rec.expplc" disabled  ></c-input>
          </el-form-item>
        </c-col>
        </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-fullbox>
              <c-input v-model="model.ledgrp.rec.ownref" disabled maxlength="16" ></c-input>
            </c-fullbox>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <c-ptap15
              :model="model"
              :argadr="{
                grp: 'ltdgrp',
                rol: 'be1',
              }"
              :label="{
                labelRef: '1st Beneficiary Ref.',
                labelNam: '1st Beneficiary  Name',
              }"
              :disabledRef="true"
              :disabledNam="true"
            >
            </c-ptap15>
        </c-col>
        <c-col :span="24">
          <c-ptap15
                :model="model"
                :argadr="{
                  grp: 'ltdgrp',
                  rol: 'be2',
                }"
                :label="{
                  labelRef: '2nd Beneficiary Ref.',
                  labelNam: '2nd Beneficiary Name',
                }"
                :disabledRef="true"
                :disabledNam="true"
              >
                </c-ptap15>
        </c-col>
          <c-col :span="24">
            <c-ptap15
              :model="model"
              :argadr="{
                grp: 'ltdgrp',
                rol: 'adt',
              }"
              :label="{
                labelRef: 'Advising Bank Ref',
                labelNam: 'Advising Bank Name',
              }"
              :disabledRef="true"
              :disabledNam="true"
            >
            </c-ptap15>
          </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() {}
};
</script>
<style scoped lang="less">
.box-card {
  margin-bottom: 10px;
  /deep/ .el-form-item--mini.el-form-item,
  .el-form-item--small.el-form-item {
    margin-bottom: 10px;
  }
  /deep/ .el-card__body {
    padding: 10px 10px 10px 0px;
  }
}
</style>