<template>
  <div class="eibs-tab">
      <c-col :span="14">
      <el-row>
          <c-col :span="20">
              <el-form-item label="Discrepancies" prop="btdgrp.blk.docdis">
                  <c-input type="textarea" v-model="model.btdgrp.blk.docdis"
                           maxlength="50"
                           show-word-limit
                           :disabled="model.btdgrp.blk.docdisflg ? false : true"
                           placeholder="请输入Discrepancies" ></c-input>
              </el-form-item>
          </c-col>
          <c-col :span="4">
              <c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel">
                  ...
              </c-button>
          </c-col>
      </el-row>
      <el-row>
          <c-col :span="20">
              <el-form-item label="Internal Discrepancies" prop="btdgrp.blk.intdis">
                  <c-input type="textarea" v-model="model.btdgrp.blk.intdis" maxlength="65" show-word-limit placeholder="请输入Internal Discrepancies" ></c-input>
              </el-form-item>
          </c-col>
          <c-col :span="4">
              <c-button size="small" type="primary" icon="el-icon-search" @click="onIntdisButtxmsel">
                  ...
              </c-button>
          </c-col>
      </el-row>
      <el-row>
          <c-col :span="20">
              <el-form-item label="Comments and Conclusions" prop="btdgrp.blk.comcon">
                  <c-input type="textarea" v-model="model.btdgrp.blk.comcon" maxlength="65" show-word-limit placeholder="请输入Comments and Conclusions" ></c-input>
              </el-form-item>
          </c-col>
          <c-col :span="4">
              <c-button size="small" type="primary" icon="el-icon-search" @click="onComconButtxmsel">
                  ...
              </c-button>
          </c-col>
      </el-row>

      <el-row>
          <c-col :span="20">
              <el-form-item label="Settlement Instructions transaction field" prop="btdgrp.blk.setinsbt">
                  <c-input type="textarea" v-model="model.btdgrp.blk.setinsbt" maxlength="65" show-word-limit placeholder="请输入Settlement Instructions transaction field" ></c-input>
              </el-form-item>
          </c-col>
          <c-col :span="4">
              <c-button size="small" type="primary" icon="el-icon-search" @click="onSetinsButtxmsel">
                  ...
              </c-button>
          </c-col>
      </el-row>
        <el-row>
            <c-col :span="22" :offset="2">
                <c-istream-table
                        :list="model.bttp.docgrdmbe1.docgrd"
                        :columns="columns1"
                >
                </c-istream-table>
            </c-col>
            <!--
            <c-col :span="24" :offset="1">
                <div class="e-table-wrapper">
                    <el-table
                            :data="model.bttp.docgrdmbe1.docgrd"
                            style="width: 50%">
                        <el-table-column
                                prop="bttp.docgrdmbe1.docgrd.cmail1"
                                label="1st"
                                width="54">
                        </el-table-column>
                        <el-table-column
                                prop="bttp.docgrdmbe1.docgrd.cmail2"
                                label="2nd"
                                width="54">
                        </el-table-column>
                        <el-table-column
                                prop="bttp.docgrdmbe1.docgrd.docnam"
                                label="Document"
                                width="120">
                        </el-table-column>
                    </el-table>
                </div>
            </c-col>
-->
        </el-row>

      <el-row>
          <c-col :span="22" :offset="2">
              <c-istream-table
                      :list="model.bttp.docgrdmbe2.docgrd"
                      :columns="columns2"
              >
              </c-istream-table>
          </c-col>
          <!--
          <c-col :span="24" :offset="1">
              <div class="e-table-wrapper">
                  <el-table
                          :data="model.bttp.docgrdmbe2.docgrd"
                          style="width: 50%"
                  >
                      <el-table-column
                              prop="bttp.docgrdmbe2.docgrd.cmail1"
                              label="1st"
                              width="54">
                      </el-table-column>
                      <el-table-column
                              prop="bttp.docgrdmbe2.docgrd.cmail2"
                              label="2nd"
                              width="54">
                      </el-table-column>
                      <el-table-column
                              prop="bttp.docgrdmbe2.docgrd.docnam"
                              label="Document"
                              width="120">
                      </el-table-column>
                  </el-table>
              </div>
          </c-col>
          -->
      </el-row>
      </c-col>
      <c-col :span="9" :offset="1">
          <c-col :span="20" :offset="3">
              <c-checkbox v-model="model.btdgrp.blk.docdisflg">Discrepancies modified</c-checkbox>
          </c-col>
          <c-col :span="24">
              <el-form-item label="Further Handling" prop="bttp.futhndflg">
                  <c-select v-model="model.bttp.futhndflg" style="width:100%" placeholder="请选择further handling">
                  </c-select>
              </el-form-item>
          </c-col>
          <c-col :span="24">
              <el-form-item label="Document set Status" prop="bttp.futhndflg">
                  <c-select v-model="model.btdgrp.rec.docsta" style="width:100%" placeholder="请选择further handling">
                  </c-select>
              </el-form-item>
          </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/Bttdck/Event"

export default {
    components: { },
    inject: ['root'],
    props:["model","codes"],
    mixins: [CommonProcess],
    data(){
        return {
            columns1: ['0 0 "lst1" 50 ', '1 1 "lst2" 50', '2 2 "document" 400'],
            columns2: ['0 0 "lst1" 50 ', '1 1 "lst2" 50', '2 2 "document" 400'],
        };
    },
    methods:{...Event},
    created:function(){

    }
}
</script>
<style>

</style>
