<template>
  <div class="eibs-tab">
                  <c-row>
        <c-col :span="24">
            <c-col :span="12">
                    <c-col :span="24">
                        <el-form-item label="Delivery of Undertak." prop="gidgrp.rec.deloric">
                            <c-fullbox>
                                <c-select v-model="model.gidgrp.rec.deloric" style="width:100%" placeholder="请选择Delivery of Undertak.">
                                    <el-option
                                        v-for="item in codes.deloric"
                                        :key="item.value"
                                        :label="item.label"
                                        :value="item.value"
                                        >
                                    </el-option>
                                </c-select>
                                <template slot="footer" >
                                    <c-input  v-model="model.gidgrp.rec.deloritxtc" maxlength="35"  placeholder="请输入Delivery of Undertak."></c-input>
                                </template>
                            </c-fullbox>  
                        </el-form-item>
                    </c-col>
                    <c-col :span="24">
                        <el-form-item label="Deli. To/Collection By" prop="gidgrp.rec.deltoc">
                            <c-select v-model="model.gidgrp.rec.deltoc" style="width:100%" placeholder="请选择Deli. To/Collection By">
                                <el-option
                                        v-for="item in codes.deltoc"
                                        :key="item.value"
                                        :label="item.label"
                                        :value="item.value"
                                        >
                                    </el-option>
                            </c-select>
                        </el-form-item>
                    </c-col>
                    <c-col :span="24">
                        <el-form-item label="Delivery to Address" prop="gidgrp.blk.deltoadrc">
                            <c-input disabled type="textarea" rows="4" v-model="model.gidgrp.blk.deltoadrc" maxlength="35" show-word-limit placeholder="请输入Delivery to Address" ></c-input>
                        </el-form-item>
                    </c-col>
                    <c-col :span="24">
                        <c-col :span="20">
                                <el-form-item label="Presentation Instr. " prop="gidgrp.blk.preperc">
                                    <c-input :disabled="model.gitp.prepercmodflg==''" rows="6" type="textarea" v-model="model.gidgrp.blk.preperc" maxlength="65" show-word-limit placeholder="请输入Presentation Instr. " ></c-input>
                                </el-form-item>
                        </c-col>
                        <c-col :span="4">
                            <c-checkbox v-model="model.gitp.prepercmodflg" style="margin:0 0 0 10px">Modify Text</c-checkbox>
                            <c-checkbox v-model="model.gitp.chkpreperc" style="margin:0 0 0 10px">Allow *</c-checkbox>
                            <c-button disabled size="small" type="primary" style="margin:5px 0 0 10px;width:98px" @click="onGitpButdifpreperc">
                                vs. S&ystem
                            </c-button> 
                            <c-button disabled size="small" style="margin:5px 0 0 10px;width:98px" type="primary"  @click="onGitpButdifhispreperc">
                                vs. &History
                            </c-button>
                        </c-col>
                    </c-col>
            </c-col>
            <c-col :span="11" :offset="1">
                    <c-col :span="24">
                        <c-col :span="20">
                                <el-form-item label="Additional Details to Code for Charges" prop="gidgrp.blk.feetxtc">
                                        <c-input rows="4" type="textarea" v-model="model.gidgrp.blk.feetxtc" maxlength="35" show-word-limit placeholder="请输入Additional Details to Code for Charges" ></c-input>
                                </el-form-item>
                        </c-col>
                        <c-col :span="4">
                            <c-button style="margin:5px 0 0 10px" size="small" type="primary" icon="el-icon-search" @click="onChargicButtxmsel">
                                 ...
                            </c-button>

                            <c-checkbox style="margin:0 0 0 10px" v-model="model.gitp.chargic.chkast">Allow *</c-checkbox>
                        </c-col>
                        
                    </c-col>
                    <c-col :span="24">
                        <el-form-item label="Transfer Conditions" prop="gidgrp.blk.trfcondc">
                            <c-input aria-disabled="" rows="5" type="textarea" v-model="model.gidgrp.blk.trfcondc" maxlength="65" show-word-limit placeholder="请输入Transfer Conditions" ></c-input>
                        </el-form-item>
                    </c-col>
            </c-col>
        </c-col>
    </c-row>                             
       <!-- <c-col :span="12">
        <el-form-item label="Delivery of Undertak." prop="gidgrp.rec.deloric">
            <c-select v-model="model.gidgrp.rec.deloric" style="width:100%" placeholder="请选择Delivery of Undertak.">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Delivery of Undertak." prop="gidgrp.rec.deloritxtc">
            <c-input  v-model="model.gidgrp.rec.deloritxtc" maxlength="35"  placeholder="请输入Delivery of Undertak."></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Additional Details to Code for Charges" prop="gidgrp.blk.feetxtc">
            <c-input type="textarea" v-model="model.gidgrp.blk.feetxtc" maxlength="35" show-word-limit placeholder="请输入Additional Details to Code for Charges" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary" icon="el-icon-search" @click="onChargicButtxmsel">
            ...
        </c-button>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Deli. To/Collection By" prop="gidgrp.rec.deltoc">
            <c-select v-model="model.gidgrp.rec.deltoc" style="width:100%" placeholder="请选择Deli. To/Collection By">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Delivery to Address" prop="gidgrp.blk.deltoadrc">
            <c-input type="textarea" v-model="model.gidgrp.blk.deltoadrc" maxlength="35" show-word-limit placeholder="请输入Delivery to Address" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.gitp.chargic.chkast">Allow *</c-checkbox>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Presentation Instr. " prop="gidgrp.blk.preperc">
            <c-input type="textarea" v-model="model.gidgrp.blk.preperc" maxlength="65" show-word-limit placeholder="请输入Presentation Instr. " ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Presentation Instr. " prop="gidgrp.blk.atxpreperc">
            <c-input type="textarea" v-model="model.gidgrp.blk.atxpreperc" maxlength="65" show-word-limit placeholder="请输入Presentation Instr. " ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.gitp.prepercmodflg">Modify Document and Presentation Instructions</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.gitp.chkpreperc">Allow *</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onGitpButdifpreperc">
            vs. S&ystem
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onGitpButdifhispreperc">
            vs. &History
        </c-button>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.gidgrp.rec.transferc">Transfer Indicator - Local Undertaking Seq. C</c-checkbox>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Transfer Conditions" prop="gidgrp.blk.trfcondc">
            <c-input type="textarea" v-model="model.gidgrp.blk.trfcondc" maxlength="65" show-word-limit placeholder="请输入Transfer Conditions" ></c-input>
        </el-form-item>
        </c-col> -->
  </div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Gitopn/Event"

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

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

    }
}
</script>
<style>

</style>
