<template>
  <div class="eibs-tab">
    <c-row>
      <!-- <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="lttamep.recget.sdamod.dadsnd">
            <c-input  v-model="model.lttamep.recget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col> -->
      <!-------------------------顶部---------------------------->
      <c-col :span="11">
        <el-form-item label="Reference" prop="ltdgrp.rec.ownref">
          <c-input
            v-model="model.ltdgrp.rec.ownref"
            maxlength="16"
            placeholder="请输入Reference"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="11" :offset="1">
        <el-form-item label="Name" prop="ltdgrp.rec.nam">
          <c-input
            v-model="model.ltdgrp.rec.nam"
            maxlength="40"
            placeholder="请输入Name"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="11">
        <el-form-item label="Amendment Date" prop="trnmod.swiadd.amedat">
          <c-date-picker
            type="date"
            v-model="model.trnmod.swiadd.amedat"
            style="width: 50%"
            placeholder="请选择Amendment Date"
          ></c-date-picker>
        </el-form-item>
      </c-col>
      <c-col :span="11" :offset="1">
        <c-col :span="12">
          <el-form-item label="Amend No. Received" prop="trnmod.swiadd.amenbr">
            <c-input
              v-model="model.trnmod.swiadd.amenbr"
              placeholder="请输入Amend No. Received"
              style="width: 50%"
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="12">
          <el-form-item label="Current Amendm. No." prop="lttamep.amenbr">
            <c-input
              v-model="model.lttamep.amenbr"
              placeholder="请输入Current Amendm. No."
              style="width: 50%"
            ></c-input>
          </el-form-item>
        </c-col>
      </c-col>
      <!-- <c-col :span="12">
        <el-form-item label="" prop="lttamep.recget.sdamod.seainf">
          <c-input
            v-model="model.lttamep.recget.sdamod.seainf"
            placeholder="请输入"
          ></c-input>
        </el-form-item>
      </c-col> -->
      <!-- 金额 -->
      <c-col :span="24">
        <c-col :span="11">
          <span class="lttame_amed_amt">Nominal Amount</span>
          <c-col :span="24">
            <c-col :span="13">
              <el-form-item label="Original Data" prop="ltdgrp.cbs.nom1.cur">
                <c-select
                  v-model="model.ltdgrp.cbs.nom1.cur"
                  maxlength="3"
                  placeholder="请选择币种"
                  :code="codes.cur"
                  disabled
                ></c-select>
              </el-form-item>
            </c-col>

            <c-col :span="11">
              <el-form-item
                label=""
                label-width="20px"
                prop="oldltdgrp.cbs.nom1.amt"
              >
                <c-input-currency
                  v-model="model.oldltdgrp.cbs.nom1.amt"
                  placeholder="请输入Original Data"
                  style="width: 90%"
                  disabled
                ></c-input-currency>
              </el-form-item>
            </c-col>

            <c-col :span="13">
              <el-form-item label="Amended" prop="trnmod.swiadd.amecur">
                <c-select
                  v-model="model.trnmod.swiadd.amecur"
                  style="width: 100%"
                  :code="codes.cur"
                  placeholder="请选择Amended"
                  disabled
                >
                </c-select>
              </el-form-item>
            </c-col>
            <c-col :span="11">
              <el-form-item
                label=""
                label-width="20px"
                prop="trnmod.swiadd.ameamt"
              >
                <c-input-currency
                  v-model="model.trnmod.swiadd.ameamt"
                  placeholder="请输入Amended"
                  style="width: 90%"
                ></c-input-currency>
              </el-form-item>
            </c-col>

            <c-col :span="13">
              <el-form-item label="New Data" prop="trnmod.swiadd.newcur">
                <c-select
                  v-model="model.trnmod.swiadd.newcur"
                  style="width: 100%"
                  :code="codes.cur"
                  disabled
                  placeholder="请选择币种"
                >
                </c-select>
              </el-form-item>
            </c-col>

            <c-col :span="11">
              <el-form-item
                label=""
                label-width="20px"
                prop="trnmod.swiadd.newamt"
              >
                <c-input-currency
                  v-model="model.trnmod.swiadd.newamt"
                  placeholder="请输入New Data"
                  style="width: 90%"
                ></c-input-currency>
              </el-form-item>
            </c-col>
          </c-col>
        </c-col>
        <!-- <c-col :span="12">
        <el-form-item label="Total Amendment" prop="ltdgrp.cbs.nom1.cur">
          <c-input
            v-model="model.ltdgrp.cbs.nom1.cur"
            maxlength="3"
            placeholder="请输入Total Amendment"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="12">
        <el-form-item label="Original Data" prop="oldltdgrp.cbs.nom1.amt">
          <c-input
            v-model="model.oldltdgrp.cbs.nom1.amt"
            placeholder="请输入Original Data"
          ></c-input>
        </el-form-item>
      </c-col> -->
        <c-col :span="4" :offset="1">
          <span class="lttame_amed_nomtx">Tolerance +/- %</span>
          <c-col :span="24">
            <c-col :span="12">
              <el-form-item
                label=""
                label-width="20px"
                prop="oldltdgrp.rec.nomtop"
              >
                <c-input
                  v-model="model.oldltdgrp.rec.nomtop"
                  placeholder="请输入Tolerance +"
                  style="width: 90%"
                ></c-input>
              </el-form-item>
            </c-col>

            <c-col :span="12">
              <el-form-item
                label=""
                label-width="20px"
                prop="oldltdgrp.rec.nomton"
              >
                <c-input
                  v-model="model.oldltdgrp.rec.nomton"
                  placeholder="请输入Tolerance -"
                  style="width: 90%"
                ></c-input>
              </el-form-item>
            </c-col>
            <c-col :span="24">
              <span class="lttame_amed_newnomtx">Total Amendment</span>
            </c-col>
            <c-col :span="12">
              <el-form-item
                label=""
                label-width="20px"
                prop="trnmod.swiadd.newnomtop"
              >
                <c-input
                  v-model="model.trnmod.swiadd.newnomtop"
                  placeholder="请输入New positive tolerance"
                  style="width: 90%"
                ></c-input>
              </el-form-item>
            </c-col>

            <c-col :span="12">
              <el-form-item
                label=""
                label-width="20px"
                prop="trnmod.swiadd.newnomton"
              >
                <c-input
                  v-model="model.trnmod.swiadd.newnomton"
                  placeholder="请输入New negative tolerance"
                  style="width: 90%"
                ></c-input>
              </el-form-item>
            </c-col>
          </c-col>
        </c-col>
        <c-col :span="7">
          <span class="lttame_amed_nomtx">Maximum Amount</span>
          <c-col :span="24">
            <c-col :span="9">
              <el-form-item
                label=""
                label-width="20px"
                prop="oldltdgrp.cbs.max.cur"
              >
                <c-select
                  v-model="model.oldltdgrp.cbs.max.cur"
                  maxlength="3"
                  placeholder="请选择币种"
                  :code="codes.cur"
                  disabled
                ></c-select>
              </el-form-item>
            </c-col>

            <c-col :span="15">
              <el-form-item
                label=""
                label-width="20px"
                prop="oldltdgrp.cbs.max.amt"
              >
                <c-input-currency
                  v-model="model.oldltdgrp.cbs.max.amt"
                  placeholder="请输入Original Data"
                  style="width: 100%"
                  disabled
                ></c-input-currency>
              </el-form-item>
            </c-col>

            <c-col :span="9">
              <el-form-item label="" label-width="20px" prop="lttamep.engcur">
                <c-select
                  v-model="model.lttamep.engcur"
                  style="width: 100%"
                  placeholder="请选择Total Amendment"
                  :code="codes.cur"
                  disabled
                >
                </c-select>
              </el-form-item>
            </c-col>

            <c-col :span="15">
              <el-form-item label="" label-width="20px" prop="lttamep.engamt">
                <c-input-currency
                  v-model="model.lttamep.engamt"
                  placeholder="请输入Total Amendment"
                  disabled
                ></c-input-currency>
              </el-form-item>
            </c-col>

            <c-col :span="9">
              <el-form-item label="" label-width="20px" prop="lttamep.maxcur">
                <c-select
                  v-model="model.lttamep.maxcur"
                  style="width: 100%"
                  placeholder="请选择Total Amendment"
                  :code="codes.cur"
                  disabled
                >
                </c-select>
              </el-form-item>
            </c-col>

            <c-col :span="15">
              <el-form-item label="" label-width="20px" prop="lttamep.maxamt">
                <c-input-currency
                  v-model="model.lttamep.maxamt"
                  placeholder="请输入New Maximum Amount"
                  disabled
                ></c-input-currency>
              </el-form-item>
            </c-col>
          </c-col>
        </c-col>
      </c-col>
      <c-col :span="24">
        <c-col :span="11">
          <el-form-item
            label="Amount Specification"
            prop="trnmod.swiadd.nomspc"
          >
            <c-select
              v-model="model.trnmod.swiadd.nomspc"
              style="width: 80%"
              placeholder="请选择Amount Specification"
              :code="codes.nomspc"
              disabled
            >
            </c-select>
          </el-form-item>
        </c-col>
      </c-col>

      <c-col :span="11">
        <c-col :span="24">
          <el-form-item label="Date of Expiry" prop="oldltdgrp.rec.expdat">
            <c-date-picker
              type="date"
              v-model="model.oldltdgrp.rec.expdat"
              style="width: 50%"
              placeholder="请选择Date of Expiry"
              disabled
            ></c-date-picker>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="New Expiry Date" prop="trnmod.swiadd.newexpdat">
            <c-date-picker
              type="date"
              v-model="model.trnmod.swiadd.newexpdat"
              style="width: 50%"
              placeholder="请选择New Expiry Date"
            ></c-date-picker>
          </el-form-item>
        </c-col>
      </c-col>
      <c-col :span="11" :offset="1">
        <c-col :span="24">
          <el-form-item label="Shipment Date" prop="oldltdgrp.rec.shpdat">
            <c-date-picker
              type="date"
              v-model="model.oldltdgrp.rec.shpdat"
              style="width: 50%"
              placeholder="请选择Shipment Date"
              disabled
            ></c-date-picker>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item
            label="New Shipment Date"
            prop="trnmod.swiadd.newshpdat"
          >
            <c-date-picker
              type="date"
              v-model="model.trnmod.swiadd.newshpdat"
              style="width: 50%"
              placeholder="请选择New Shipment Date"
            ></c-date-picker>
          </el-form-item>
        </c-col>
      </c-col>

      <!-- <c-col :span="12">
        <el-form-item
          label="Amount Tolerance - Positive"
          prop="oldltdgrp.rec.nomtop"
        >
          <c-input
            v-model="model.oldltdgrp.rec.nomtop"
            placeholder="请输入Amount Tolerance - Positive"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="12">
        <el-form-item
          label="Amount Tolerance - Negative"
          prop="oldltdgrp.rec.nomton"
        >
          <c-input
            v-model="model.oldltdgrp.rec.nomton"
            placeholder="请输入Amount Tolerance - Negative"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="12">
        <el-form-item label="Currency" prop="oldltdgrp.cbs.max.cur">
          <c-input
            v-model="model.oldltdgrp.cbs.max.cur"
            maxlength="3"
            placeholder="请输入Currency"
          ></c-input>
        </el-form-item>
      </c-col>

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

      <c-col :span="12">
        <el-form-item label="Amended" prop="trnmod.swiadd.amecur">
          <c-select
            v-model="model.trnmod.swiadd.amecur"
            style="width: 100%"
            placeholder="请选择Amended"
          >
          </c-select>
        </el-form-item>
      </c-col>

      <c-col :span="12">
        <el-form-item label="Amended" prop="trnmod.swiadd.ameamt">
          <c-input
            v-model="model.trnmod.swiadd.ameamt"
            placeholder="请输入Amended"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="12">
        <el-form-item label="change of engagement:" prop="lttamep.engamt">
          <c-input
            v-model="model.lttamep.engamt"
            placeholder="请输入change of engagement:"
          ></c-input>
        </el-form-item>
      </c-col> -->
      <!-- 
      <c-col :span="12">
        <el-form-item label="New Data" prop="trnmod.swiadd.newcur">
          <c-input
            v-model="model.trnmod.swiadd.newcur"
            maxlength="3"
            placeholder="请输入New Data"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="12">
        <el-form-item label="New amount" prop="trnmod.swiadd.newamt">
          <c-input
            v-model="model.trnmod.swiadd.newamt"
            placeholder="请输入New amount"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="12">
        <el-form-item
          label="New positive tolerance"
          prop="trnmod.swiadd.newnomtop"
        >
          <c-input
            v-model="model.trnmod.swiadd.newnomtop"
            placeholder="请输入New positive tolerance"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="12">
        <el-form-item
          label="New negative tolerance"
          prop="trnmod.swiadd.newnomton"
        >
          <c-input
            v-model="model.trnmod.swiadd.newnomton"
            placeholder="请输入New negative tolerance"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="12">
        <el-form-item label="Currency" prop="ltdgrp.cbs.max.cur">
          <c-input
            v-model="model.ltdgrp.cbs.max.cur"
            maxlength="3"
            placeholder="请输入Currency"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="12">
        <el-form-item label="New Maximum Amount" prop="lttamep.maxamt">
          <c-input
            v-model="model.lttamep.maxamt"
            placeholder="请输入New Maximum Amount"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="12">
        <el-form-item label="Amount Specification" prop="trnmod.swiadd.nomspc">
          <c-select
            v-model="model.trnmod.swiadd.nomspc"
            style="width: 100%"
            placeholder="请选择Amount Specification"
          >
          </c-select>
        </el-form-item>
      </c-col>

      <c-col :span="12">
        <el-form-item label="Date of Expiry" prop="oldltdgrp.rec.expdat">
          <c-date-picker
            type="date"
            v-model="model.oldltdgrp.rec.expdat"
            style="width: 100%"
            placeholder="请选择Date of Expiry"
          ></c-date-picker>
        </el-form-item>
      </c-col>

      <c-col :span="12">
        <el-form-item label="Shipment Date" prop="oldltdgrp.rec.shpdat">
          <c-date-picker
            type="date"
            v-model="model.oldltdgrp.rec.shpdat"
            style="width: 100%"
            placeholder="请选择Shipment Date"
          ></c-date-picker>
        </el-form-item>
      </c-col>

      <c-col :span="12">
        <el-form-item label="New Expiry Date" prop="trnmod.swiadd.newexpdat">
          <c-date-picker
            type="date"
            v-model="model.trnmod.swiadd.newexpdat"
            style="width: 100%"
            placeholder="请选择New Expiry Date"
          ></c-date-picker>
        </el-form-item>
      </c-col>

      <c-col :span="12">
        <el-form-item label="New Shipment Date" prop="trnmod.swiadd.newshpdat">
          <c-date-picker
            type="date"
            v-model="model.trnmod.swiadd.newshpdat"
            style="width: 100%"
            placeholder="请选择New Shipment Date"
          ></c-date-picker>
        </el-form-item>
      </c-col> -->
      <c-col :span="24">
        <c-col :span="11">
          <el-form-item label="Purpose of message" prop="trnmod.swiadd.purpos">
            <c-select
              v-model="model.trnmod.swiadd.purpos"
              style="width: 100%"
              placeholder="请选择Purpose of message"
            >
            </c-select>
          </el-form-item>
        </c-col>
      </c-col>
      <c-col :span="11">
        <el-form-item
          label="Presentation Period"
          prop="oldltdgrp.rec.prepers18"
        >
          <c-input
            v-model="model.oldltdgrp.rec.prepers18"
            placeholder="请输入Presentation Period"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="11" :offset="1">
        <el-form-item
          label="New Presentation Period"
          prop="trnmod.swiadd.prepers18"
        >
          <c-input
            v-model="model.trnmod.swiadd.prepers18"
            placeholder="请输入New Presentation Period"
          ></c-input>
        </el-form-item>
      </c-col>

      <c-col :span="11">
        <el-form-item
          label="Presentation period text"
          prop="oldltdgrp.rec.prepertxts18"
        >
          <c-input
            v-model="model.oldltdgrp.rec.prepertxts18"
            maxlength="35"
            placeholder="请输入Presentation period text"
          ></c-input>
        </el-form-item>
      </c-col>

      <!-- <c-col :span="11">
        <el-form-item
          label="Presentation period text"
          prop="trnmod.swiadd.prepertxts18"
        >
          <c-input
            v-model="model.trnmod.swiadd.prepertxts18"
            maxlength="35"
            placeholder="请输入Presentation period text"
          ></c-input>
        </el-form-item>
      </c-col> -->

      <c-col :span="24">
        <c-col :span="11">
          <el-form-item label="Amendm. charge by" prop="trnmod.swiadd.trnchato">
            <c-select
              v-model="model.trnmod.swiadd.trnchato"
              style="width: 100%"
              placeholder="请选择Amendm. charge by"
            >
            </c-select>
          </el-form-item>
        </c-col>
        <c-col :span="11" :offset="1">
          <c-col :span="5">
            <c-checkbox v-model="model.lttp.aamp.aammod.addamtflg"
              >Add. Amount</c-checkbox
            >
          </c-col>

          <c-col :span="10">
            <el-form-item
              label="Additional Amount"
              label-width="120px"
              prop="ltdgrp.cbs.max2.cur"
            >
              <c-select
                v-model="model.ltdgrp.cbs.max2.cur"
                maxlength="3"
                placeholder="请输入Additional Amount"
                :code="codes.cur"
                disabled
              ></c-select>
            </el-form-item>
          </c-col>

          <c-col :span="9">
            <el-form-item
              label=""
              label-width="20px"
              prop="trnmod.swiadd.addamt"
            >
              <c-input-currency
                v-model="model.trnmod.swiadd.addamt"
                placeholder="请输入Amounts Covered"
                disabled
              ></c-input-currency>
            </el-form-item>
          </c-col>
        </c-col>
      </c-col>

      <c-col :span="11">
        <el-form-item
          label="Details for Charges"
          prop="trnmod.swiadd.trnfeetxt"
        >
          <c-input
            type="textarea"
            v-model="model.trnmod.swiadd.trnfeetxt"
            maxlength="35"
            show-word-limit
            placeholder="请输入Details for Charges"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="11" :offset="1">
        <el-form-item
          label="Details for Charges"
          prop="trnmod.swiadd.addamtcov"
        >
          <c-input
            type="textarea"
            v-model="model.trnmod.swiadd.addamtcov"
            maxlength="35"
            show-word-limit
            placeholder="请输入Details for Charges"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <c-col :span="11">
          <el-form-item label="Send Request to" prop="lttamep.ramrol">
            <c-select
              v-model="model.lttamep.ramrol"
              style="width: 100%"
              placeholder="请选择Send Request to"
            >
            </c-select>
          </el-form-item>
        </c-col>
        <c-col :span="11" :offset="1">
          <c-col :span="24">
            <c-checkbox v-model="model.lttamep.benconflg"
              >Beneficiary's Confirmation Required</c-checkbox
            >
          </c-col>
          <c-col :span="24">
            <c-checkbox v-model="model.trnmod.swiadd.reqcan"
              >Cancellation Request</c-checkbox
            >
          </c-col>
        </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/Lttame/Event";

export default {
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [CommonProcess],
  data() {
    return {};
  },
  methods: { ...Event },
  created: function () {},
};
</script>
<style>
.lttame_amed_amt {
  margin-left: 150px;
  height: 16px;
  color: #606266;
  line-height: 16px;
  font-size: 12px;
}
.lttame_amed_nomtx {
  margin-left: 20px;
  height: 16px;
  color: #606266;
  line-height: 16px;
  font-size: 12px;
}
.lttame_amed_newnomtx {
  margin-left: 20px;
  height: 34px;
  line-height: 34px;
  color: #606266;
  font-size: 12px;
}
</style>
