<template>
  <div class="eibs-tab">
    <c-row>
      <c-col :span="11">
        <c-col :span="20">
          <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="4">
          <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 :span="12">
      <el-form-item label="Drag  Drop Sender" prop="bttp0.ltdget.sdamod.dadsnd">
        <c-input
          v-model="model.bttp0.ltdget.sdamod.dadsnd"
          placeholder="请输入Drag  Drop Sender"
        ></c-input>
      </el-form-item>
    </c-col-->
        <c-col :span="20">
          <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="4">
          <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 :span="12">
      <el-form-item label="Drag  Drop Sender" prop="bttp0.ledget.sdamod.dadsnd">
        <c-input
          v-model="model.bttp0.ledget.sdamod.dadsnd"
          placeholder="请输入Drag  Drop Sender"
        ></c-input>
      </el-form-item>
    </c-col-->
        <c-col :span="8">
          <el-form-item label="Document Amount" prop="btdgrp.cbs.max.cur">
            <c-select
              v-model="model.btdgrp.cbs.max.cur"
              maxlength="3"
              placeholder="CUR"
            >
            </c-select>
          </el-form-item>
        </c-col>

        <c-col :span="12">
          <el-form-item label="" prop="btdgrp.cbs.max.amt">
            <c-input
              v-model="model.btdgrp.cbs.max.amt"
              placeholder="请输入Document Amount"
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="4">
          <c-checkbox v-model="model.bttp0.aammod.addamtflg"
            >Add. Amount</c-checkbox
          >
        </c-col>

        <c-col :span="8">
          <el-form-item label="Open Amount" prop="btdgrp.cbs.opn1.cur">
            <c-input
              v-model="model.btdgrp.cbs.opn1.cur"
              maxlength="3"
              placeholder="CUR"
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="12">
          <el-form-item label="" prop="btdgrp.cbs.opn1.amt">
            <c-input
              v-model="model.btdgrp.cbs.opn1.amt"
              placeholder="请输入Balance"
            ></c-input>
          </el-form-item>
        </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="12">
          <span
            v-text="model.bttp0.matp.mattxtlab"
            data-path=".bttp0.matp.mattxtlab"
          >
          </span>
        </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="12">
          <el-form-item
            label="Received on 2nd Ben."
            prop="btdgrp.rec.rcvdatbe2"
          >
            <c-date-picker
              type="date"
              v-model="model.btdgrp.rec.rcvdatbe2"
              style="width: 100%"
              placeholder="请选择Received on 2nd Ben."
            ></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
              type="date"
              v-model="model.btdgrp.rec.rcvdatbe1"
              style="width: 100%"
              placeholder="请选择Received on 1st Ben."
            ></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="Tenor Stream" prop="liaall.tenstm">
            <c-input
              v-model="model.liaall.tenstm"
              placeholder="请输入Tenor Stream"
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24"></c-col>
        <c-col :span="24"></c-col>
        <c-col :span="24"></c-col>
        <c-col :span="24"></c-col>
        <c-col :span="24"></c-col>
        <c-col :span="24"></c-col>
        <c-col :span="24"></c-col>
      </c-col>

      <c-col :span="11" :offset="1">
        <c-col :span="20">
          <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="4">
          <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 :span="12">
          <el-form-item label="" 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 :span="24">
          <el-form-item label="1st Beneficiary" 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="Name of Party" prop="btdgrp.be1.pts.nam">
            <c-input
              v-model="model.btdgrp.be1.pts.nam"
              maxlength="40"
              placeholder="请输入Name of Party"
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="2nd Beneficiary" 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="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 :span="24">
          <c-checkbox v-model="model.rmbclm.clmrmbflg">Send MT 742</c-checkbox>
        </c-col>

        <c-col :span="8">
          <el-form-item label="Doc. Amount Part" prop="btdgrp.cbs.opn2.cur">
            <c-select
              v-model="model.btdgrp.cbs.opn2.cur"
              style="width: 100%"
              placeholder="CUR"
            >
            </c-select>
          </el-form-item>
        </c-col>

        <c-col :span="16">
          <el-form-item label="" prop="aamset.utlamt">
            <c-input
              v-model="model.aamset.utlamt"
              placeholder="请输入Doc. Amount Part"
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="8">
          <el-form-item label="Add. Amount Part" prop="btdgrp.cbs.opn2.cur">
            <c-select
              v-model="model.btdgrp.cbs.opn2.cur"
              style="width: 100%"
              placeholder="CUR"
            >
            </c-select>
          </el-form-item>
        </c-col>

        <c-col :span="16">
          <el-form-item label="" prop="aamset.utlamt2">
            <c-input
              v-model="model.aamset.utlamt2"
              placeholder="请输入Add. Amount Part"
            ></c-input>
          </el-form-item>
        </c-col>
        <!--c-col :span="24">
      <c-checkbox v-model="model.bttrcl.MT754flg">Send MT 754</c-checkbox>
    </c-col-->
        <c-col :span="24">
          <el-form-item label="Narrative :77A:" prop="trnmod.trndoc.nar754">
            <c-input
              type="textarea"
              v-model="model.trnmod.trndoc.nar754"
              maxlength="35"
              show-word-limit
              placeholder="请输入Narrative :77A:"
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24"></c-col>
        <c-col :span="24"></c-col>
        <c-col :span="24"></c-col>
      </c-col>
    </c-row>

    <!--c-col :span="12">
      <el-form-item label="" prop="bttp0.ltdget.sdamod.seainf">
        <c-input
          v-model="model.bttp0.ltdget.sdamod.seainf"
          placeholder="请输入"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="" prop="bttp0.ledget.sdamod.seainf">
        <c-input
          v-model="model.bttp0.ledget.sdamod.seainf"
          placeholder="请输入"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="Drag  Drop Sender" prop="bttp0.recget.sdamod.dadsnd">
        <c-input
          v-model="model.bttp0.recget.sdamod.dadsnd"
          placeholder="请输入Drag  Drop Sender"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item label="" prop="bttp0.recget.sdamod.seainf">
        <c-input
          v-model="model.bttp0.recget.sdamod.seainf"
          placeholder="请输入"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <el-form-item
        label="Settlement Instructions transaction field"
        prop="btdgrp.blk.setinsbt"
      >
        <c-input
          type="textarea"
          v-model="model.btdgrp.blk.setinsbt"
          maxlength="65"
          show-word-limit
          placeholder="请输入Settlement Instructions transaction field"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <c-button
        size="small"
        type="primary"
        icon="el-icon-search"
        @click="onSetinsButtxmsel"
      >
        ...
      </c-button>
    </c-col>

    

    <c-col :span="12">
      <el-form-item label="Less comm." prop="btdgrp.rec.lescom">
        <c-input
          v-model="model.btdgrp.rec.lescom"
          placeholder="请输入Less comm."
        ></c-input>
      </el-form-item>
    </c-col-->
  </div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bttrcl/Event";

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