<template>
  <div class="eibs-tab">
    <c-col :span="24">
      <c-col :span="18">
        <el-form-item label="初审的不符点" prop="bedgrp.blk.intdis">
          <c-input
            type="textarea"
            :rows="5"
            v-model="model.bedgrp.blk.intdis"
            maxlength="65"
            show-word-limit
            placeholder="请输入初审的不符点"
          ></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="onIntdisButtxmsel"
        >
          ...
        </c-button>
      </c-col>
    </c-col>

    <c-col :span="24">
      <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="5"
            v-model="model.bedgrp.blk.docdis"
            :disabled="model.bedgrp.blk.docdisflg ? false : true"
            maxlength="50"
            show-word-limit
            placeholder="请输入不符点描述"
          ></c-input>
        </el-form-item>
      </c-col>

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

    <c-col :span="24">
      <c-col :span="18">
        <el-form-item label="拒付理由" prop="bedgrp.blk.docins">
          <c-input
            type="textarea"
            :rows="3"
            v-model="model.bedgrp.blk.docins"
            maxlength="35"
            show-word-limit
            placeholder="请输入拒付理由"
          ></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="onResrejButtxmsel"
        >
          ...
        </c-button>
      </c-col>
    </c-col>

    <c-col :span="24">
      <c-col :span="18">
        <el-form-item label="单据处理说明" prop="bedgrp.blk.disdoc">
          <c-input
            type="textarea"
            :rows="3"
            v-model="model.bedgrp.blk.disdoc"
            maxlength="35"
            show-word-limit
            placeholder="请输入单据处理说明"
          ></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="onDisdocButtxmsel"
        >
          ...
        </c-button>
      </c-col>
    </c-col>

    <c-col :span="12">
      <el-form-item label="" prop="">
        <c-checkbox v-model="model.rejpenins">是否保留单据</c-checkbox>
      </el-form-item>
    </c-col>

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

    <!-- <c-col :span="12">
      <span
        v-text="model.betp.docgrdm.docdsclab"
        data-path=".betp.docgrdm.docdsclab"
      >
      </span>
    </c-col> -->
  </div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Betdcr/Event";

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