<template>
  <div class="eibs-tab">
                                               
       <el-col :span="12">
        <el-form-item label="Release of Goods" prop="bddgrp.rec.relgodflg">
            <c-select v-model="model.bddgrp.rec.relgodflg" style="width:100%" placeholder="请选择Release of Goods">
              </c-select>
        </el-form-item>
       </el-col>
                                   
       <el-col :span="12">
        <el-form-item label="Contract Number" prop="bdtp.connum">
            <c-input  v-model="model.bdtp.connum" maxlength="35"  placeholder="请输入Contract Number"></c-input>
        </el-form-item>
       </el-col>             
                                   
       <el-col :span="12">
        <el-form-item label="Release Type" prop="bddgrp.rec.reltyp">
            <c-select v-model="model.bddgrp.rec.reltyp" style="width:100%" placeholder="请选择Release Type">
              </c-select>
        </el-form-item>
       </el-col>
                                   
       <el-col :span="12">
        <el-form-item label="issue date" prop="bddgrp.rec.relgoddat">
            <c-date-picker type="date"  v-model="model.bddgrp.rec.relgoddat" style="width:100%"  placeholder="请选择issue date"></c-date-picker>
        </el-form-item>
       </el-col>
                                   
       <el-col :span="12">
        <el-form-item label="Expiry Date of Shipping Guarantee" prop="bddgrp.rec.expdat">
            <c-date-picker type="date"  v-model="model.bddgrp.rec.expdat" style="width:100%"  placeholder="请选择Expiry Date of Shipping Guarantee"></c-date-picker>
        </el-form-item>
       </el-col>
                                   
       <el-col :span="12">
        <el-form-item label="Carrier" prop="bddgrp.blk.carnam">
            <c-input  v-model="model.bddgrp.blk.carnam" maxlength="35"  placeholder="请输入Carrier"></c-input>
        </el-form-item>
       </el-col>             
                                   
       <el-col :span="12">
        <el-form-item label="Transport Doc. Type" prop="bddgrp.rec.trpdoctyp">
            <c-select v-model="model.bddgrp.rec.trpdoctyp" style="width:100%" placeholder="请选择Transport Doc. Type">
              </c-select>
        </el-form-item>
       </el-col>
                                   
       <el-col :span="12">
        <el-form-item label="B/L Number" prop="bddgrp.rec.blnum">
            <c-input  v-model="model.bddgrp.rec.blnum" maxlength="20"  placeholder="请输入B/L Number"></c-input>
        </el-form-item>
       </el-col>             
                                   
       <el-col :span="12">
        <el-form-item label="Transport Doc. No." prop="bddgrp.rec.trpdocnum">
            <c-input  v-model="model.bddgrp.rec.trpdocnum" maxlength="40"  placeholder="请输入Transport Doc. No."></c-input>
        </el-form-item>
       </el-col>             
                                   
       <el-col :span="12">
	    <c-checkbox v-model="model.bddgrp.rec.rtoaplflg">Release Goods to Applicant ?</c-checkbox>
       </el-col> 
                                   
       <el-col :span="12">
        <el-form-item label="shipment date" prop="bddgrp.rec.tradat">
            <c-date-picker type="date"  v-model="model.bddgrp.rec.tradat" style="width:100%"  placeholder="请选择shipment date"></c-date-picker>
        </el-form-item>
       </el-col>
                  
       <el-col :span="12">
        <el-form-item label="Release to Address">
            <c-input type="textarea" v-model="model.bddgrp.blk.relstoadr" maxlength="35" show-word-limit placeholder="请输入Release to Address" ></c-input>
        </el-form-item>
        </el-col>
                                   
       <el-col :span="12">
        <el-form-item label="Mode of Transport" prop="bddgrp.rec.tramod">
            <c-select v-model="model.bddgrp.rec.tramod" style="width:100%" placeholder="请选择Mode of Transport">
              </c-select>
        </el-form-item>
       </el-col>
                                   
       <el-col :span="12">
        <el-form-item label="Vessel Name" prop="bddgrp.blk.vesnam">
            <c-input  v-model="model.bddgrp.blk.vesnam" maxlength="40"  placeholder="请输入Vessel Name"></c-input>
        </el-form-item>
       </el-col>             
                                   
       <el-col :span="12">
        <el-form-item label="Port of Discharge" prop="bddgrp.blk.pordis">
            <c-input  v-model="model.bddgrp.blk.pordis" maxlength="40"  placeholder="请输入Port of Discharge"></c-input>
        </el-form-item>
       </el-col>             
                                   
       <el-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="bdtp.shpp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.bdtp.shpp.ptsget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </el-col>             
                                   
       <el-col :span="12">
        <el-form-item label="Place of Delivery" prop="bddgrp.blk.delplc">
            <c-input  v-model="model.bddgrp.blk.delplc" maxlength="40"  placeholder="请输入Place of Delivery"></c-input>
        </el-form-item>
       </el-col>             
                  
       <el-col :span="12">
        <el-form-item label="External Key of Address" prop="bddgrp.shp.pts.extkey">
            <c-input  v-model="model.bddgrp.shp.pts.extkey" maxlength="16"  placeholder="请输入External Key of Address"></c-input>
        </el-form-item>
       </el-col>             
                  
       <el-col :span="12">
        <el-form-item label="" prop="bdtp.shpp.ptsget.sdamod.seainf">
            <c-input  v-model="model.bdtp.shpp.ptsget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </el-col>             
                  
       <!-- <el-col :span="12">
        <c-button size="small" type="primary"  @click="onShppDet">
            Details
        </c-button>
       </el-col> -->
                  
       <el-col :span="12">
        <el-form-item label="名称">
            <c-input type="textarea" v-model="model.bddgrp.shp.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
        </el-form-item>
        </el-col>
                                   
       <el-col :span="12">
        <el-form-item label="Covered Goods">
            <c-input type="textarea" v-model="model.bddgrp.blk.roggod" maxlength="40" show-word-limit placeholder="请输入Covered Goods" ></c-input>
        </el-form-item>
        </el-col>
                  
       <el-col :span="12">
        <el-form-item label="Address Block">
            <c-input type="textarea" v-model="model.bddgrp.shp.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
        </el-form-item>
        </el-col>
                  
       <el-col :span="12">
        <el-form-item label="Chinese address">
            <c-input type="textarea" v-model="model.bddgrp.shp.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
        </el-form-item>
        </el-col>
                  
       <el-col :span="12">
        <el-form-item label="地址">
            <c-input type="textarea" v-model="model.bddgrp.shp.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
        </el-form-item>
        </el-col>
                                   
       <el-col :span="12">
        <el-form-item label="Notify Party">
            <c-input type="textarea" v-model="model.bddgrp.blk.notpty" maxlength="35" show-word-limit placeholder="请输入Notify Party" ></c-input>
        </el-form-item>
        </el-col>
                                   
       <el-col :span="12">
        <el-form-item label="Port of loading" prop="bddgrp.blk.porlod">
            <c-input  v-model="model.bddgrp.blk.porlod" maxlength="40"  placeholder="请输入Port of loading"></c-input>
        </el-form-item>
       </el-col>             
                                                    
       <el-col :span="12">
        <el-form-item label="Voyage numer" prop="bddgrp.blk.voynum">
            <c-input  v-model="model.bddgrp.blk.voynum" maxlength="30"  placeholder="请输入Voyage numer"></c-input>
        </el-form-item>
       </el-col>             
                  
       <el-col :span="12">
        <el-form-item label="Goods code" prop="bddgrp.rec.ngrcod">
            <c-select v-model="model.bddgrp.rec.ngrcod" style="width:100%" placeholder="请选择Goods code">
              </c-select>
        </el-form-item>
       </el-col>
  </div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bdtudp/Event"

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

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

    }
}
</script>
<style>

</style>
