<template>
  <div class="eibs-tab">
    <c-col :span="19">
      <el-form-item label="附加条件" prop="ledgrp.blk.adlcnd">
        <c-input
          type="textarea"
          :rows="16"
          v-model="model.ledgrp.blk.adlcnd"
          maxlength="65"
          show-word-limit
          placeholder="请输入Additional Conditions"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="2" class="letopn_dogp_button">
      <c-button
        size="small"
        type="primary"
        icon="el-icon-search"
        @click="onAdlcndButtxmsel"
      >
        ...
      </c-button>
    </c-col>

    <!-- Special payment conditions for beneficiary  -->
    <c-col :span="24" class="letopn_adcp_cheak">
      <c-checkbox v-model="model.ledgrp.rec.spcbenflg"
        >受益人特殊付款条款</c-checkbox
      >
    </c-col>

    <!-- Special payment conditions for receiving bank -->
    <c-col :span="24" class="letopn_adcp_cheak">
      <c-checkbox v-model="model.ledgrp.rec.spcrcbflg">
        收款银行特殊付款条款</c-checkbox
      >
    </c-col>

    <c-col :span="24" class="letopn_adcp_cheak">
      <c-checkbox v-model="model.ledgrp.rec.redclsflg"
        >Red/Green Clause</c-checkbox
      >
    </c-col>

    <!-- Instructions to Pay,accept,negot,bank -->
    <c-col :span="19">
      <el-form-item label="付款、承兑、议付银行指示" prop="ledgrp.blk.insbnk">
        <c-input
          type="textarea"
          :rows="4"
          v-model="model.ledgrp.blk.insbnk"
          maxlength="65"
          show-word-limit
          placeholder="付款、承兑、议付银行指示"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="2" class="letopn_dogp_button">
      <c-button
        size="small"
        type="primary"
        icon="el-icon-search"
        @click="onInsbnkButtxmsel"
      >
        ...
      </c-button>
    </c-col>
  </div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Letopn/Event";

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