<template>
  <div class="eibs-tab">
    <!-- <c-col :span="20" >
	    <c-checkbox v-model="model.bedgrp.blk.docdisflg">是否录入不符点</c-checkbox>
       </c-col> -->

    <c-col :span="18">
      <el-form-item label="不符点描述" prop="bedgrp.blk.docdis">
        <c-checkbox v-model="model.bedgrp.blk.docdisflg"
          >是否录入不符点</c-checkbox
        >
        <c-input
          type="textarea"
          :rows="3"
          v-model="model.bedgrp.blk.docdis"
          maxlength="50"
          show-word-limit
          placeholder="请输入Discrepancies"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="6">
      <c-col> &nbsp; </c-col>
      <c-button
        size="small"
        type="primary"
        icon="el-icon-search"
        @click="onDocdisButtxmsel"
      >
        ...
      </c-button>
    </c-col>

    <c-col :span="18">
      <el-form-item label="初审的不符点" prop="bedgrp.blk.intdis">
        <c-input
          type="textarea"
          v-model="model.bedgrp.blk.intdis"
          maxlength="65"
          show-word-limit
          placeholder="请输入Internal Discrepancies"
        ></c-input>
      </el-form-item>
    </c-col>

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

    <!-- <c-col :span="22">
        <el-form-item label="Payer" prop="bedgrp.rec.payrol">
            <c-select v-model="model.bedgrp.rec.payrol" style="width:100%" placeholder="请选择Payer">
              </c-select>
        </el-form-item>
       </c-col> -->

    <!-- <c-col :span="22">
        <el-form-item label="参考号" prop="bedgrp.oth.pts.ref">
            <c-input  v-model="model.bedgrp.oth.pts.ref" maxlength="16"  placeholder="请输入参考号"></c-input>
        </el-form-item>
       </c-col> -->

    <c-col :span="18">
      <el-form-item label="对交易的注释和结论" prop="bedgrp.blk.comcon">
        <c-input
          type="textarea"
          v-model="model.bedgrp.blk.comcon"
          maxlength="65"
          show-word-limit
          placeholder="请输入Comments and Conclusions"
        ></c-input>
      </el-form-item>
    </c-col>

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

    <c-col :span="18">
      <el-form-item label="结算指示" prop="bedgrp.blk.setinsbe">
        <c-input
          type="textarea"
          v-model="model.bedgrp.blk.setinsbe"
          maxlength="65"
          show-word-limit
          placeholder="请输入Settlement Instructions transaction field"
        ></c-input>
      </el-form-item>
    </c-col>

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

    <c-col :span="11">
      <c-istream-table :list="model.betp.docgrdm.docgrd" :columns="columns">
      </c-istream-table>
    </c-col>

    <!-- <c-col :span="22">
	    <span  v-text="model.betp.docgrdm.docdsclab"   data-path=".betp.docgrdm.docdsclab" > </span>
	</c-col> -->
    <c-col :span="12" :offset="1">
      <c-col :span="20">
        <el-form-item label="远期处理" prop="betp.folwupopt">
          <c-select
            v-model="model.betp.folwupopt"
            style="width: 100%"
            placeholder="请选择远期处理"
          >
          </c-select>
        </el-form-item>
      </c-col>

      <c-col :span="20">
        <c-ptap
          :model="model"
          :argadr="{
            title: '付款人',
            grp: 'bedgrp',
            rol: 'oth',
          }"
          :disabled="true"
          @onSeainf="onSeainf"
          @onAplpDet="onAplpDet"
        >
        </c-ptap>
      </c-col>
    </c-col>
  </div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Betdrv/Event";
import Ptap from "~/views/Public/Ptap";

export default {
  components: { "c-ptap": Ptap },
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {
      columns: ['0 0 "lst1" 50 ', '1 1 "lst2" 50', '2 2 "document" 200'],
    };
  },
  methods: { ...Event },
  created: function () {
    this.model.bedgrp.blk.docdis = "";
  },
};
</script>
<style>
</style>
