<template>
  <div class="eibs-tab">
    <c-blkTextarea :model="model" v-bind="blk"> </c-blkTextarea>
    <!-- <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>
    <c-blkTextarea :model="model" v-bind="blk1"> </c-blkTextarea>
    <!-- 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";
import BlkTextarea from "~/views/Public/BlkTextarea";

export default {
  inject: ["root"],
  props: ["model", "codes"],
  components: { "c-blkTextarea": BlkTextarea },
  mixins: [CommonProcess],
  data() {
    return {
      blk: {
        blkMsg: {
          title: "附加条件",
          dataUrl: "ledgrp.blk.adlcnd", //字段所在model路劲
          rows: 16,
        },
        rulePath: "letp.adlcnd.buttxmsel",
      },
      blk1: {
        blkMsg: {
          title: "付款、承兑、议付银行指示",
          dataUrl: "ledgrp.blk.insbnk", //字段所在model路劲
          rows: 4,
          maxlength: 2000,
        },
        rulePath: "letp.insbnk.buttxmsel",
      },
    };
  },
  methods: { ...Event },
  created: function () {},
};
</script>
<style>
.letopn_adcp_cheak {
  margin: 0px 0 10px 150px;
}
</style>
