<template>
  <div class="eibs-tab">
                                               
       <c-col :span="12">
        <el-form-item label="Release of Goods" prop="bcdgrp.rec.relgodflg">
            <c-select v-model="model.bcdgrp.rec.relgodflg" style="width:100%" placeholder="请选择Release of Goods">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Covered Goods" prop="bcdgrp.blk.covgod">
            <c-input type="textarea" v-model="model.bcdgrp.blk.covgod" maxlength="35" show-word-limit placeholder="请输入Covered Goods" ></c-input>
        </el-form-item>
        </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Release Type" prop="bcdgrp.rec.reltyp">
            <c-select v-model="model.bcdgrp.rec.reltyp" style="width:100%" placeholder="请选择Release Type">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Release Date" prop="bcdgrp.rec.relgoddat">
            <c-date-picker type="date"  v-model="model.bcdgrp.rec.relgoddat" style="width:100%"  placeholder="请选择Release Date"></c-date-picker>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Expiry Date of Shipping Guarantee" prop="bcdgrp.rec.expdat">
            <c-date-picker type="date"  v-model="model.bcdgrp.rec.expdat" style="width:100%"  placeholder="请选择Expiry Date of Shipping Guarantee"></c-date-picker>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Transport Doc. Type" prop="bcdgrp.rec.trpdoctyp">
            <c-select v-model="model.bcdgrp.rec.trpdoctyp" style="width:100%" placeholder="请选择Transport Doc. Type">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Transport Doc. Ref." prop="bcdgrp.rec.trpdocnum">
            <c-input  v-model="model.bcdgrp.rec.trpdocnum" maxlength="40"  placeholder="请输入Transport Doc. Ref."></c-input>
        </el-form-item>
       </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="Carrier" prop="bcdgrp.rog.pts.ref">
            <c-input  v-model="model.bcdgrp.rog.pts.ref" maxlength="16"  placeholder="请输入Carrier"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="bctp.rogp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.bctp.rogp.ptsget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Document Dated" prop="bcdgrp.rec.tradat">
            <c-date-picker type="date"  v-model="model.bcdgrp.rec.tradat" style="width:100%"  placeholder="请选择Document Dated"></c-date-picker>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="External Key of Address" prop="bcdgrp.rog.pts.extkey">
            <c-input  v-model="model.bcdgrp.rog.pts.extkey" maxlength="16"  placeholder="请输入External Key of Address"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="" prop="bctp.rogp.ptsget.sdamod.seainf">
            <c-input  v-model="model.bctp.rogp.ptsget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onRogpDet">
            Details
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="名称" prop="bcdgrp.rog.namelc">
            <c-input type="textarea" v-model="model.bcdgrp.rog.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
        </el-form-item>
        </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Mode of Transport" prop="bcdgrp.rec.tramod">
            <c-select v-model="model.bcdgrp.rec.tramod" style="width:100%" placeholder="请选择Mode of Transport">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Address Block" prop="bcdgrp.rog.pts.adrblk">
            <c-input type="textarea" v-model="model.bcdgrp.rog.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Chinese address" prop="bcdgrp.rog.dbfadrblkcn">
            <c-input type="textarea" v-model="model.bcdgrp.rog.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
        </el-form-item>
        </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Vessel Name" prop="bcdgrp.blk.vesselnam">
            <c-input  v-model="model.bcdgrp.blk.vesselnam" maxlength="44"  placeholder="请输入Vessel Name"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="地址" prop="bcdgrp.rog.adrelc">
            <c-input type="textarea" v-model="model.bcdgrp.rog.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
        </el-form-item>
        </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Shipment from" prop="bcdgrp.rec.shpfro">
            <c-input  v-model="model.bcdgrp.rec.shpfro" maxlength="40"  placeholder="请输入Shipment from"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
	    <c-checkbox v-model="model.bcdgrp.rec.rtodreflg">Release to Drawee Flag</c-checkbox>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Shipment to" prop="bcdgrp.rec.shpto">
            <c-input  v-model="model.bcdgrp.rec.shpto" maxlength="40"  placeholder="请输入Shipment to"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Release to Address" prop="bcdgrp.blk.reladr">
            <c-input type="textarea" v-model="model.bcdgrp.blk.reladr" maxlength="35" show-word-limit placeholder="请输入Release to Address" ></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/Bctset/Event"

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

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

    }
}
</script>
<style>

</style>
