<template>
    <c-content class="eibs-tab" :height="200">
        <div class="infTopBtn">
            <el-button-group>
                <c-button size="small" type="primary" icon="el-icon-arrow-left"></c-button>
                <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
            </el-button-group>
            <c-button size="small" type="primary">Print</c-button>
            <c-button size="small" type="primary" disabled="disableed">Use</c-button>
            <c-button size="small" type="primary" disabled="disableed">Loginfo</c-button>
        </div>
 
        <c-row>
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="18">
                        <el-form-item label="Type of Document" prop="infcon.smhcortyp">
                            <c-select v-model="model.infcon.smhcortyp" style="width:100%"
                                placeholder="请选择Type of Document" :code="codes.cortyp">
                            </c-select>
                        </el-form-item>
                    </c-col>
                    <c-col :span="6">
                        <el-form-item label="" prop="infcon.chktrn" label-width="0">
                            <c-checkbox v-model="model.infcon.chktrn">Active only</c-checkbox>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
            <c-col :span="11" :offset="1">
                <el-form-item label="Direction" prop="infcon.smhdir">
                    <c-select v-model="model.infcon.smhdir" style="width:100%" placeholder="请选择Direction">
                    </c-select>
                </el-form-item>
            </c-col>
        </c-row>

        <c-row>
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="14">
                        <el-form-item label="Created between " prop="infcon.smhdatfrom">
                            <c-date-picker type="date" v-model="model.infcon.smhdatfrom" style="width:100%"
                                placeholder="请选择Created between "></c-date-picker>
                        </el-form-item>
                    </c-col>
                    <c-col :span="10">
                        <el-form-item label="and" prop="infcon.smhdatto" label-width="40px">
                            <c-date-picker type="date" v-model="model.infcon.smhdatto" style="width:100%"
                                placeholder="请选择created till"></c-date-picker>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
            <c-col :span="11" :offset="1">

            </c-col>
        </c-row>

        <c-row>
            <c-col :span="22" :offset="1">
                <c-table :border="true" :list="model.infcon.glestm" style="text-align:center">
                    <el-table-column prop="" label="Type" width="auto"></el-table-column>
                    <el-table-column prop="" label="Document" width="auto"></el-table-column>
                    <el-table-column prop="" label="Created" width="auto"></el-table-column>
                    <el-table-column prop="" label="Direction" width="auto"></el-table-column>
                    <el-table-column prop="" label="SMHINR" width="auto"></el-table-column>
                </c-table>
            </c-col>
        </c-row>
<!--                                               
       <c-col :span="12">
        <el-form-item label="Type of Document" prop="infcon.smhcortyp">
            <c-select v-model="model.infcon.smhcortyp" style="width:100%" placeholder="请选择Type of Document">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.infcon.chktrn">Active only</c-checkbox>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Created between " prop="infcon.smhdatfrom">
            <c-date-picker type="date"  v-model="model.infcon.smhdatfrom" style="width:100%"  placeholder="请选择Created between "></c-date-picker>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="created till" prop="infcon.smhdatto">
            <c-date-picker type="date"  v-model="model.infcon.smhdatto" style="width:100%"  placeholder="请选择created till"></c-date-picker>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Direction" prop="infcon.smhdir">
            <c-select v-model="model.infcon.smhdir" style="width:100%" placeholder="请选择Direction">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="stream of documents to selected contract" prop="infcon.smhstm">
            <c-input  v-model="model.infcon.smhstm"  placeholder="请输入stream of documents to selected contract"></c-input>
        </el-form-item>
       </c-col>
       -->
  </c-content>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infdet/Event"

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

        }
    },
    methods:{...Event},
    created:function(){

    }
}
</script>
<style>

</style>
