<template>
  <div class="eibs-tab">
    <c-row>
        <c-col :span="24">
            <c-col :span="11">
                <c-col :span="24">
                    <el-form-item label="Contract Reference" prop="gidgrp.rec.orcref">
                        <c-input  v-model="model.gidgrp.rec.orcref" maxlength="35"  placeholder="请输入Contract Reference"></c-input>
                    </el-form-item>
                </c-col>
                <c-col :span="24">
                    <el-form-item label="Contract Date" prop="gidgrp.rec.orcdat">
                        <c-date-picker disabled type="date"  v-model="model.gidgrp.rec.orcdat" style="width:100%"  placeholder="请选择Date from Original Contract"></c-date-picker>
                    </el-form-item>
                </c-col>
                <c-col :span="24">
                    <el-form-item label="Closing Date" prop="gidgrp.rec.tenclsdat">
                        <c-date-picker disabled type="date"  v-model="model.gidgrp.rec.orcdat" style="width:100%"  placeholder="请选择Date from Original Contract"></c-date-picker>
                    </el-form-item>
                </c-col>
                <c-col :span="24">
                    <c-col :span="20">
                        <el-form-item label="Object of Contract" prop="gidgrp.blk.covgodsrv">
                            <c-input :disabled="model.gitp.covgodsrvmodflg==''||model.gitp.swiftflg=='N'" rows="5" type="textarea" v-model="model.gidgrp.blk.covgodsrv" maxlength="35" show-word-limit placeholder="请输入Object of Contract" ></c-input>
                        </el-form-item>
                    </c-col>
                    <c-col :span="4">
                        <c-checkbox  v-if="model.gitp.swiftflg=='Y'" v-model="model.gitp.covgodsrvmodflg" style="margin:0 0 0 10px">Modify Text</c-checkbox>
                        <c-checkbox v-if="model.gitp.swiftflg=='Y'" v-model="model.gitp.covgod.chkast" style="margin:0 0 0 10px">Allow *</c-checkbox>
                        <c-button disabled v-if="model.gitp.swiftflg=='Y'" size="small" type="primary" style="margin:5px 0 0 10px" @click="onGitpButdifcovgodsrv">
                            vs.&System
                        </c-button>
                        <c-button disabled v-if="model.gitp.swiftflg=='Y'" size="small" type="primary" style="margin:5px 0 0 10px"  @click="onGitpButdifhiscovgodsrv">
                            vs.&History
                        </c-button>
                    </c-col>
                </c-col>
                <c-col :span="24">
                    <el-form-item label="Original Perc./ Rate" prop="gidgrp.rec.orcrat">
                        <c-input disabled v-model="model.gidgrp.rec.orcrat"  placeholder="请输入Original Perc./ Rate"></c-input>
                    </el-form-item>
                </c-col>
                <c-col :span="24">
                    <c-col :span="12">
                         <el-form-item label="Contract Amount " prop="gidgrp.rec.orccur">
                            <c-select disabled v-model="model.gidgrp.rec.orccur" style="width:100%" placeholder="请选择Contract Amount ">
                                 <el-option
                                    v-for="item in codes.curtxt"
                                    :key="item.value"
                                    :label="item.label"
                                    :value="item.value"
                                    >
                                </el-option>
                            </c-select>
                        </el-form-item>
                    </c-col>
                    <c-col :span="11" :offset="1">
                        <c-input disabled v-model="model.gidgrp.rec.orcamt"  placeholder="请输入Contract Amount "></c-input>
                    </c-col>
                </c-col>
                <c-col :span="24">
                    <el-form-item label="Original Contract Place" prop="gidgrp.blk.orcplc">
                        <c-input disabled type="textarea" v-model="model.gidgrp.blk.orcplc" maxlength="35" show-word-limit placeholder="请输入Original Contract Place" ></c-input>
                    </el-form-item>
                </c-col>
                <c-col :span="24">
                    <el-form-item label="A/c for Adv. Paym. Guar." prop="gidgrp.rec.acc">
                        <c-input disabled v-model="model.gidgrp.rec.acc" maxlength="35"  placeholder="请输入A/c for Adv. Paym. Guar."></c-input>
                    </el-form-item>
                </c-col>
                <c-col :span="24">
                    <c-col :span="12">
                        <el-form-item v-if="model.gitp.swiftflg=='Y'" label="Governing Law" prop="gidgrp.rec.jurlaws20">
                            <c-select :disabled="model.gitp.swiftflg!='Y'" v-model="model.gidgrp.rec.jurlaws20" style="width:100%" placeholder="请选择Governing Law">
                                <el-option
                                        v-for="item in codes.ctytxt"
                                        :key="item.value"
                                        :label="item.label"
                                        :value="item.value"
                                        >
                                    </el-option>
                            </c-select>
                        </el-form-item>
                    </c-col>
                    <c-col :span="11" :offset="1">
                         <c-input v-if="model.gitp.swiftflg=='Y'" disabled v-model="model.gidgrp.rec.jurlaw" maxlength="35"  placeholder="请输入Law of Jurisdiction"></c-input>
                    </c-col>
                </c-col>
                <c-col :span="24">
                    <el-form-item label="Place of Jurisdiction" prop="gidgrp.rec.jurplc">
                        <c-input disabled v-model="model.gidgrp.rec.jurplc" maxlength="35"  placeholder="请输入Place of Jurisdiction"></c-input>
                    </el-form-item>
                </c-col>
                 <c-col :span="24">
                    <el-form-item label="Tender Reference" prop="gidgrp.rec.tenref">
                        <c-input disabled v-model="model.gidgrp.rec.tenref" maxlength="35"  placeholder="请输入Tender Reference"></c-input>
                    </el-form-item>
                </c-col>
                <c-col :span="24">
                    <el-form-item label="Tender Date" prop="gidgrp.rec.tendat">
                        <c-date-picker disabled type="date"  v-model="model.gidgrp.rec.tendat" style="width:100%"  placeholder="请选择Tender Date"></c-date-picker>
                    </el-form-item>
                </c-col>
                <c-col :span="24">
                    <el-form-item label="Latest Transmiss. Date" prop="gidgrp.rec.trmdat">
                        <c-date-picker disabled type="date"  v-model="model.gidgrp.rec.trmdat" style="width:100%"  placeholder="请选择Latest Transmiss. Date"></c-date-picker>
                    </el-form-item>
                </c-col>
                
            </c-col>
            <c-col :span="11" :offset="1">
             <c-col :span="24">
                    <el-form-item v-if="model.gitp.swiftflg!='Y'" label="手册号码" prop="gidgrp.rec.mannum">
                        <c-input disabled  v-model="model.gidgrp.rec.mannum" maxlength="12"  placeholder="请输入手册号码"></c-input>
                    </el-form-item>
                 </c-col>
                 <c-col :span="24">
                    <el-form-item v-if="model.gitp.swiftflg!='Y'" label="业务类型" prop="gidgrp.ghd.bustyp">
                        <c-select disabled v-model="model.gidgrp.ghd.bustyp" style="width:100%" placeholder="请选择业务类型">
                             <el-option
                                        v-for="item in codes.bustyp"
                                        :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 v-if="model.gitp.swiftflg!='Y'" label="仓库号" prop="gidgrp.ghd.wahnum">
                        <c-input disabled  v-model="model.gidgrp.ghd.wahnum" maxlength="20"  placeholder="请输入仓库号"></c-input>
                    </el-form-item>
                </c-col>

                <c-col :span="24">
                    <el-form-item v-if="model.gitp.swiftflg!='Y'" label="受益人名称" prop="gidgrp.gidcxm.benefi">
                        <c-input  v-model="model.gidgrp.gidcxm.benefi" maxlength="80"  placeholder="请输入受益人名称"></c-input>
                    </el-form-item>
                </c-col> 
                    <c-col :span="24">
                        <el-form-item v-if="model.gitp.swiftflg!='Y'" label="企业海关编码" prop="gidgrp.rec.bngcod">
                            <c-input disabled v-model="model.gidgrp.rec.bngcod" maxlength="10"  placeholder="请输入企业海关编码"></c-input>
                        </el-form-item>
                    </c-col>
                    <c-col :span="24">
                        <el-form-item v-if="model.gitp.swiftflg!='Y'" label="组织机构代码" prop="gidgrp.rec.juscod">
                            <c-input disabled  v-model="model.gidgrp.rec.juscod" maxlength="10"  placeholder="请输入组织机构代码"></c-input>
                        </el-form-item>
                    </c-col>
                    <c-col :span="24">
                        <el-form-item v-if="model.gitp.swiftflg!='Y'" label="流动资金贷款利率档次" prop="gidgrp.rec.cunqii">
                            <c-select  disabled v-model="model.gidgrp.rec.cunqii" style="width:100%" placeholder="请选择流动资金贷款利率档次">
                                <el-option
                                        v-for="item in codes.cunqii"
                                        :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 v-if="model.gitp.swiftflg!='Y'" label="上浮比率" prop="gidgrp.rec.bilvvv">
                            <c-input disabled v-model="model.gidgrp.rec.bilvvv"  placeholder="请输入上浮比率"></c-input>
                        </el-form-item>
                    </c-col>
                     <c-col :span="24">
                        <el-form-item v-if="model.gitp.swiftflg!='Y'" label="InDirect Swift Add" prop="gitp.indirectswiadd">
                            <c-input disabled type="textarea" v-model="model.gitp.indirectswiadd" maxlength="65" show-word-limit placeholder="请输入InDirect Swift Add" ></c-input>
                        </el-form-item>
                     </c-col>
                     <c-col :span="24">
                        <el-form-item label="Additional Info" prop="gidgrp.blk.addinf">
                            <c-input disabled  type="textarea" v-model="model.gidgrp.blk.addinf" maxlength="35" show-word-limit placeholder="请输入Additional Info" ></c-input>
                        </el-form-item>
                    </c-col>
                    <c-col :span="24">
                        <el-form-item v-if="model.gitp.swiftflg!='Y'" label="备注" prop="gidgrp.ghd.remark">
                            <c-input disabled type="textarea" v-model="model.gidgrp.ghd.remark" maxlength="35" show-word-limit placeholder="请输入备注" ></c-input>
                        </el-form-item>
                    </c-col>
            </c-col>
        </c-col>
    </c-row>
                              
	<!-- <c-col :span="12">
	    <span  v-text="model.gitp.aplnamtxt"   data-path=".gitp.aplnamtxt" > </span>
	</c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Contract Reference" prop="gidgrp.rec.orcref">
            <c-input  v-model="model.gidgrp.rec.orcref" maxlength="35"  placeholder="请输入Contract Reference"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="申请人名称关税保函专用" prop="gidgrp.ghd.aplnam">
            <c-input type="textarea" v-model="model.gidgrp.ghd.aplnam" maxlength="50" show-word-limit placeholder="请输入申请人名称关税保函专用" ></c-input>
        </el-form-item>
        </c-col>
                  
	<c-col :span="12">
	    <span  v-text="model.gitp.laborcdat"   data-path=".gitp.laborcdat" > </span>
	</c-col>
                  
       <c-col :span="12">
        <el-form-item label="Date from Original Contract" prop="gidgrp.rec.orcdat">
            <c-date-picker type="date"  v-model="model.gidgrp.rec.orcdat" style="width:100%"  placeholder="请选择Date from Original Contract"></c-date-picker>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="企业海关编码" prop="gidgrp.rec.bngcod">
            <c-input  v-model="model.gidgrp.rec.bngcod" maxlength="10"  placeholder="请输入企业海关编码"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Closing Date" prop="gidgrp.rec.tenclsdat">
            <c-date-picker type="date"  v-model="model.gidgrp.rec.tenclsdat" style="width:100%"  placeholder="请选择Closing Date"></c-date-picker>
        </el-form-item>
       </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="组织机构代码" prop="gidgrp.rec.juscod">
            <c-input  v-model="model.gidgrp.rec.juscod" maxlength="10"  placeholder="请输入组织机构代码"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Object of Contract" prop="gidgrp.blk.covgodsrv">
            <c-input type="textarea" v-model="model.gidgrp.blk.covgodsrv" maxlength="35" show-word-limit placeholder="请输入Object of Contract" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Underly. Transact. Det." prop="gidgrp.blk.atxcovgodsrv">
            <c-input type="textarea" v-model="model.gidgrp.blk.atxcovgodsrv" maxlength="65" show-word-limit placeholder="请输入Underly. Transact. Det." ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.gitp.covgodsrvmodflg">Modify Object of Contract</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onGitpButdifcovgodsrv">
            vs. S&ystem
        </c-button>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="流动资金贷款利率档次" prop="gidgrp.rec.cunqii">
            <c-select v-model="model.gidgrp.rec.cunqii" style="width:100%" placeholder="请选择流动资金贷款利率档次">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
	    <c-checkbox v-model="model.gitp.covgod.chkast">Allow *</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onGitpButdifhiscovgodsrv">
            vs. &History
        </c-button>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="上浮比率" prop="gidgrp.rec.bilvvv">
            <c-input  v-model="model.gidgrp.rec.bilvvv"  placeholder="请输入上浮比率"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="InDirect Swift Add" prop="gitp.indirectswiadd">
            <c-input type="textarea" v-model="model.gitp.indirectswiadd" maxlength="65" show-word-limit placeholder="请输入InDirect Swift Add" ></c-input>
        </el-form-item>
        </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="Original Perc./ Rate" prop="gidgrp.rec.orcrat">
            <c-input  v-model="model.gidgrp.rec.orcrat"  placeholder="请输入Original Perc./ Rate"></c-input>
        </el-form-item>
       </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="Contract Amount " prop="gidgrp.rec.orccur">
            <c-select v-model="model.gidgrp.rec.orccur" style="width:100%" placeholder="请选择Contract Amount ">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Contract Amount " prop="gidgrp.rec.orcamt">
            <c-input  v-model="model.gidgrp.rec.orcamt"  placeholder="请输入Contract Amount "></c-input>
        </el-form-item>
       </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="Original Contract Place" prop="gidgrp.blk.orcplc">
            <c-input type="textarea" v-model="model.gidgrp.blk.orcplc" maxlength="35" show-word-limit placeholder="请输入Original Contract Place" ></c-input>
        </el-form-item>
        </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="A/c for Adv. Paym. Guar." prop="gidgrp.rec.acc">
            <c-input  v-model="model.gidgrp.rec.acc" maxlength="35"  placeholder="请输入A/c for Adv. Paym. Guar."></c-input>
        </el-form-item>
       </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="Governing Law" prop="gidgrp.rec.jurlaws20">
            <c-select v-model="model.gidgrp.rec.jurlaws20" style="width:100%" placeholder="请选择Governing Law">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Law of Jurisdiction" prop="gidgrp.rec.jurlaw">
            <c-input  v-model="model.gidgrp.rec.jurlaw" maxlength="35"  placeholder="请输入Law of Jurisdiction"></c-input>
        </el-form-item>
       </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="Place of Jurisdiction" prop="gidgrp.rec.jurplc">
            <c-input  v-model="model.gidgrp.rec.jurplc" maxlength="35"  placeholder="请输入Place of Jurisdiction"></c-input>
        </el-form-item>
       </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="Tender Reference" prop="gidgrp.rec.tenref">
            <c-input  v-model="model.gidgrp.rec.tenref" maxlength="35"  placeholder="请输入Tender Reference"></c-input>
        </el-form-item>
       </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="Tender Date" prop="gidgrp.rec.tendat">
            <c-date-picker type="date"  v-model="model.gidgrp.rec.tendat" style="width:100%"  placeholder="请选择Tender Date"></c-date-picker>
        </el-form-item>
       </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="Latest Transmiss. Date" prop="gidgrp.rec.trmdat">
            <c-date-picker type="date"  v-model="model.gidgrp.rec.trmdat" style="width:100%"  placeholder="请选择Latest Transmiss. Date"></c-date-picker>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="备注" prop="gidgrp.ghd.remark">
            <c-input type="textarea" v-model="model.gidgrp.ghd.remark" maxlength="35" show-word-limit placeholder="请输入备注" ></c-input>
        </el-form-item>
        </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="手册号码" prop="gidgrp.rec.mannum">
            <c-input  v-model="model.gidgrp.rec.mannum" maxlength="12"  placeholder="请输入手册号码"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Additional Info" prop="gidgrp.blk.addinf">
            <c-input type="textarea" v-model="model.gidgrp.blk.addinf" maxlength="35" show-word-limit placeholder="请输入Additional Info" ></c-input>
        </el-form-item>
        </c-col>
                  
	<c-col :span="12">
	    <span  v-text="model.gitp.labaddinf"   data-path=".gitp.labaddinf" > </span>
	</c-col>
                                   
       <c-col :span="12">
        <el-form-item label="业务类型" prop="gidgrp.ghd.bustyp">
            <c-select v-model="model.gidgrp.ghd.bustyp" style="width:100%" placeholder="请选择业务类型">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="仓库号" prop="gidgrp.ghd.wahnum">
            <c-input  v-model="model.gidgrp.ghd.wahnum" maxlength="20"  placeholder="请输入仓库号"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="受益人名称" prop="gidgrp.gidcxm.benefi">
            <c-input  v-model="model.gidgrp.gidcxm.benefi" maxlength="80"  placeholder="请输入受益人名称"></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>
