<template>
  <div class="eibs-tab">
    <c-row>
        <c-col :span="11">
          <c-col :span="24">
            <c-col :span="21">
              <el-form-item label="Transfer Reference" prop="ltdgrp.rec.ownref">
                <c-input
                  v-model="model.ltdgrp.rec.ownref"
                  maxlength="16"
                  placeholder="请输入Transfer Reference"
                ></c-input>
              </el-form-item>
            </c-col>
            <c-col :span="2">
              <el-form-item label="" label-width="15px">
                <c-button
                  size="small"
                  type="primary;width:10%"
                  @click="onSeainf"
                  >i</c-button
                >
              </el-form-item>
            </c-col>
          </c-col>
          <c-col :span="24">
            <c-col :span="21">
              <el-form-item label="Doc. Set Reference" prop="btdgrp.rec.ownref">
                <c-input
                  v-model="model.btdgrp.rec.ownref"
                  maxlength="16"
                  placeholder="请输入Doc. Set Reference"
                ></c-input>
              </el-form-item>
            </c-col>
            <c-col :span="2">
              <el-form-item label="" label-width="15px">
                <c-button
                  size="small"
                  type="primary;width:10%"
                  @click="onSeainf"
                  >i</c-button
                >
              </el-form-item>
            </c-col>
          </c-col>
          <c-col :span="24">
            <c-col :span="10">
              <el-form-item label="Document Amount" prop="btdgrp.cbs.max.cur">
                <c-select
                  v-model="model.btdgrp.cbs.max.cur"
                  style="width: 100%"
                  placeholder="请选择Document Amount"
                >
                </c-select>
              </el-form-item>
            </c-col>
            <c-col :span="10">
              <el-form-item label="Document Amount" prop="btdgrp.cbs.max.amt">
                <c-input
                  v-model="model.btdgrp.cbs.max.amt"
                  placeholder="0.00"
                ></c-input>
              </el-form-item>
            </c-col>
            <c-col :span="4">
              <c-checkbox v-model="model.recpan.aammod.addamtflg"
                >Add. Amount</c-checkbox
              >
            </c-col>
          </c-col>
          <c-col :span="24">
            <c-col :span="10">
              <el-form-item label="Open Amount" prop="btdgrp.cbs.opn1.cur">
                <c-input
                  v-model="model.btdgrp.cbs.opn1.cur"
                  maxlength="3"
                  placeholder="请输入Open Amount"
                ></c-input>
              </el-form-item>
            </c-col>
            <c-col :span="10">
              <el-form-item label="Balance" prop="btdgrp.cbs.opn1.amt">
                <c-input
                  v-model="model.btdgrp.cbs.opn1.amt"
                  placeholder="0.00"
                ></c-input>
              </el-form-item>
            </c-col>
          </c-col>
          <c-col :span="24">
            <el-form-item label="Document Type" prop="btdgrp.rec.doctypcod">
              <c-input
                v-model="model.btdgrp.rec.doctypcod"
                maxlength="1"
                placeholder="请输入Document Type"
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="Maturity Date" prop="btdgrp.rec.matdat">
              <c-date-picker
                type="date"
                v-model="model.btdgrp.rec.matdat"
                style="width: 100%"
                placeholder="请选择Maturity Date"
              ></c-date-picker>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="Presentation Date" prop="btdgrp.rec.predat">
              <c-date-picker
                type="date"
                v-model="model.btdgrp.rec.predat"
                style="width: 100%"
                placeholder="请选择Presentation Date"
              ></c-date-picker>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="Document Set Status" prop="btdgrp.rec.docsta">
              <c-input
                v-model="model.btdgrp.rec.docsta"
                maxlength="40"
                placeholder="请输入Document Set Status"
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="Name of Bill Contract" prop="btdgrp.rec.nam">
              <c-input
                v-model="model.btdgrp.rec.nam"
                maxlength="40"
                placeholder="请输入Name of Bill Contract"
              ></c-input>
            </el-form-item>
          </c-col>
        </c-col>

        <!--右边-->

        <c-col :span="11" :offset="1">
          <c-col :span="24">
            <c-col :span="21">
              <el-form-item label="L/C Reference" prop="ledgrp.rec.ownref">
                <c-input
                  v-model="model.ledgrp.rec.ownref"
                  maxlength="16"
                  placeholder="请输入L/C Reference"
                ></c-input>
              </el-form-item>
            </c-col>
            <c-col :span="2">
              <el-form-item label="" label-width="15px">
                <c-button
                  size="small"
                  type="primary;width:10%"
                  @click="onSeainf"
                  >i</c-button
                >
              </el-form-item>
            </c-col>
          </c-col>
          <c-col :span="24">
            <el-form-item
              label="Drag  Drop Sender"
              prop="recpan.recget.sdamod.dadsnd"
            >
              <c-input
                v-model="model.recpan.recget.sdamod.dadsnd"
                placeholder="请输入Drag  Drop Sender"
              ></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"
                maxlength="16"
                placeholder="请输入1st Beneficiary"
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="" prop="recpan.ledget.sdamod.seainf">
              <c-input
                v-model="model.recpan.ledget.sdamod.seainf"
                placeholder="请输入"
              ></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"
                maxlength="16"
                placeholder="请输入2nd Beneficiary"
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="" prop="recpan.ledget.sdamod.seainf">
              <c-input
                v-model="model.recpan.ledget.sdamod.seainf"
                placeholder="请输入"
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="Presenting Bank" prop="btdgrp.prb.pts.ref">
              <c-input
                v-model="model.btdgrp.prb.pts.ref"
                maxlength="16"
                placeholder="请输入Presenting Bank"
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item prop="btdgrp.prb.pts.nam">
              <c-input
                v-model="model.btdgrp.prb.pts.nam"
                maxlength="40"
                placeholder="请输入Document Set Status"
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="Name of Party" prop="btdgrp.be2.pts.nam">
              <c-input
                v-model="model.btdgrp.be2.pts.nam"
                maxlength="40"
                placeholder="请输入Name of Party"
              ></c-input>
            </el-form-item>
          </c-col>
        </c-col>
    </c-row>
  </div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Infbtd/Event";

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