<template>
  <div class="eibs-tab">

    <el-col :span="11">
        <c-col :span="24">
        <el-form-item label="Discrepancies" prop="brdgrp.blk.docdis">
            <c-fullbox>
            <c-input type="textarea" v-model="model.brdgrp.blk.docdis" maxlength="50" show-word-limit placeholder="请输入Discrepancies" ></c-input>
            <template slot="footer">
                <c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel">
            ...
        </c-button>
            </template>
            
            </c-fullbox>
        </el-form-item>
        </c-col>
        <c-col :span="24">
        <el-form-item label="Comments and Conclusions" prop="brdgrp.blk.comcon">
            <c-input type="textarea" v-model="model.brdgrp.blk.comcon" maxlength="65" show-word-limit placeholder="请输入Comments and Conclusions" ></c-input>
        </el-form-item>
        </c-col>
        <c-col :span="24">
        <el-form-item label="Settlement Instructions BR" prop="brdgrp.blk.setinsbr">
            <c-fullbox>
            <c-input type="textarea" v-model="model.brdgrp.blk.setinsbr" maxlength="65" show-word-limit placeholder="请输入Settlement Instructions BR" ></c-input>
            <template slot="footer">
            <c-button size="small" type="primary" icon="el-icon-search" @click="onSetinstxmButtxmsel">
            ...
            </c-button>
            </template>
            </c-fullbox>
        </el-form-item>
        </c-col>
        <el-col :span="24">
    <el-form-item label="Documents Presented">
        <c-table>
            <el-table-column prop="CMAIL1"
            label="1st"
            sortable
            >
            </el-table-column>
            <el-table-column prop="CMAIL2"
            label="2nd"
            sortable
            >
            </el-table-column>
            </el-table-column>
            <el-table-column prop="DOCNAM"
            label="Document"
            sortable
            >
            </el-table-column>
            <el-table-column label="" prop="det" width="80px" fixed="right">
                    <template slot-scope="scope" slot="header">
                        <el-button
                            circle
                            style="padding:4px"
                            class="el-icon-plus"
                            size="mini"
                            @click="addRow(scope)"
                        >
                        </el-button>
                        <el-button
                            style="padding:4px"
                            circle
                            class="el-icon-minus"
                            size="mini"
                            @click="removeRow(scope)"
                        >
                        </el-button>
                    </template>
                    <template slot-scope="scoped">
                        <el-button
                            style="margin-left:0"
                            size="small"
                            type="primary"
                            @click="detail1(scoped.$index, scoped.row)"
                            >详情</el-button
                        >
                    </template>
                </el-table-column>

        </c-table>

    </el-form-item>
    
    </el-col>
    </el-col>

    <el-col :span="11" :offset="1">
         <c-col :span="12">
	    <c-checkbox v-model="model.brdgrp.rec.igndisflg">Ignore Discrepancies</c-checkbox>
       </c-col>
        <c-col :span="12">
	    <c-checkbox v-model="model.brdgrp.blk.docdisflg">Discrepancies modified</c-checkbox>
       </c-col>
         <c-col :span="24">
        <el-form-item label="Type of Advice Received" prop="brdgrp.rec.advtyp">
            <c-input disabled v-model="model.brdgrp.rec.advtyp" style="width:100%" placeholder="请选择Type of Advice Received">
              </c-input>
        </el-form-item>
       </c-col>
        <c-col :span="24">
        <el-form-item label="付款日期" prop="brdgrp.rec.totdat">
            <c-date-picker disabled type="date"  v-model="model.brdgrp.rec.totdat" style="width:100%"  placeholder="请选择付款日期"></c-date-picker>
        </el-form-item>
       </c-col>
        <c-col :span="24">
        <el-form-item label="Discrepancy Advice Dated" 
        label-width="150px"
        prop="brdgrp.rec.disdat">
            <c-date-picker disabled type="date"  v-model="model.brdgrp.rec.disdat" style="width:100%"  placeholder="请选择Discrepancy Advice Dated"></c-date-picker>
        </el-form-item>
       </c-col>
       <c-col :span="12">
	    <c-checkbox v-model="model.brdgrp.rec.approvcod">Documents on Approval Basis</c-checkbox>
       </c-col>
       <!-- <c-col :span="12">
	    <c-checkbox v-model="model.brtp.cre752flg">Create 752</c-checkbox>
       </c-col>
         <c-col :span="12">
        <el-form-item label="Further Identification" prop="brtp.furide">
            <c-select v-model="model.brtp.furide" style="width:100%" placeholder="请选择Further Identification">
              </c-select>
        </el-form-item>
       </c-col> -->
       <c-col :span="12">
	    <c-checkbox disabled v-model="model.brtp.cre732flg">Create MT 732</c-checkbox>
       </c-col>
    </el-col>

    
          
	<!-- <c-col :span="12">
	    <span  v-text="model.brtp.docgrdm.docdsclab"   data-path=".brtp.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/Litdck/Event"

export default {
    inject: ['root'],
    props:["model","codes"],
    mixins: [commonProcess],
    data(){
        return {

        }
    },
    methods:{...Event 
  
  ,addRow(){},
  removeRow(){},},
    created:function(){
        
    }
}
</script>
<style>

</style>
