<template>
  <div class="eibs-tab">
                              
       <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="ditp0.recget.sdamod.dadsnd">
            <c-input  v-model="model.ditp0.recget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="参考号" prop="didgrp.rec.ownref">
            <c-input  v-model="model.didgrp.rec.ownref" maxlength="16"  placeholder="请输入参考号"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="" prop="ditp0.recget.sdamod.seainf">
            <c-input  v-model="model.ditp0.recget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="名称" prop="didgrp.rec.nam">
            <c-input  v-model="model.didgrp.rec.nam" maxlength="40"  placeholder="请输入名称"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onSav">
            保存
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onUsrcon">
            用户确认
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onChk">
            检核
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onUsrchk">
            检核
        </c-button>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="开证金额" prop="didgrp.cbs.nom1.cur">
            <c-select v-model="model.didgrp.cbs.nom1.cur" style="width:100%" placeholder="请选择开证金额">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="开证金额" prop="didgrp.cbs.nom1.amt">
            <c-input  v-model="model.didgrp.cbs.nom1.amt"  placeholder="请输入开证金额"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.ditp0.aammod.addamtflg">Add. Amount</c-checkbox>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="申请人                     参考号" prop="didgrp.apl.pts.ref">
            <c-input  v-model="model.didgrp.apl.pts.ref" maxlength="16"  placeholder="请输入申请人                     参考号"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onSyswrnButshw">
            提示信息
        </c-button>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="信用证余额" prop="didgrp.cbs.opn1.cur">
            <c-input  v-model="model.didgrp.cbs.opn1.cur" maxlength="3"  placeholder="请输入信用证余额"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Balance" prop="didgrp.cbs.opn1.amt">
            <c-input  v-model="model.didgrp.cbs.opn1.amt"  placeholder="请输入Balance"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.didgrp.rec.revflg">Revolving Flag</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Name of Party" prop="didgrp.apl.pts.nam">
            <c-input  v-model="model.didgrp.apl.pts.nam" maxlength="40"  placeholder="请输入Name of Party"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="指定银行" prop="didgrp.avbnam">
            <c-input  v-model="model.didgrp.avbnam" maxlength="40"  placeholder="请输入指定银行"></c-input>
        </el-form-item>
       </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="受益人" prop="didgrp.ben.pts.ref">
            <c-input  v-model="model.didgrp.ben.pts.ref" maxlength="16"  placeholder="请输入受益人"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.didgrp.rec.redclsflg">Red/Green Clause</c-checkbox>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="兑付方式" prop="didgrp.rec.avbby">
            <c-select v-model="model.didgrp.rec.avbby" style="width:100%" placeholder="请选择兑付方式">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Name of Party" prop="didgrp.ben.pts.nam">
            <c-input  v-model="model.didgrp.ben.pts.nam" maxlength="40"  placeholder="请输入Name of Party"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="开立日期" prop="didgrp.rec.opndat">
            <c-date-picker type="date"  v-model="model.didgrp.rec.opndat" style="width:100%"  placeholder="请选择开立日期"></c-date-picker>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Shipment Date" prop="didgrp.rec.shpdat">
            <c-date-picker type="date"  v-model="model.didgrp.rec.shpdat" style="width:100%"  placeholder="请选择Shipment Date"></c-date-picker>
        </el-form-item>
       </c-col>
                  
	<c-col :span="12">
	    <span  v-text="model.ditp0.thdate"   data-path=".ditp0.thdate" > </span>
	</c-col>
                  
       <c-col :span="12">
        <el-form-item label="通知行编号" prop="didgrp.rec.tzref">
            <c-input  v-model="model.didgrp.rec.tzref" maxlength="35"  placeholder="请输入通知行编号"></c-input>
        </el-form-item>
       </c-col>
                                                    
       <c-col :span="12">
        <el-form-item label="通知行" prop="didgrp.adv.pts.ref">
            <c-input  v-model="model.didgrp.adv.pts.ref" maxlength="16"  placeholder="请输入通知行"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="到期日" prop="didgrp.rec.expdat">
            <c-date-picker type="date"  v-model="model.didgrp.rec.expdat" style="width:100%"  placeholder="请选择到期日"></c-date-picker>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="到期日" prop="didgrp.rec.expplc">
            <c-input type="textarea" v-model="model.didgrp.rec.expplc" maxlength="35" show-word-limit placeholder="请输入到期日" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Name of Party" prop="didgrp.adv.pts.nam">
            <c-input  v-model="model.didgrp.adv.pts.nam" maxlength="40"  placeholder="请输入Name of Party"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary" icon="el-icon-search" @click="onDiasel">
            备忘录
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onInc">
            显示 &Inc.
        </c-button>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="信用证类型" prop="didgrp.rec.lcrtyp">
            <c-select v-model="model.didgrp.rec.lcrtyp" style="width:100%" placeholder="请选择信用证类型">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onNotmap">
            &Unmapped
        </c-button>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="附言" prop="ditcanf.strinf">
            <c-input type="textarea" v-model="model.ditcanf.strinf" maxlength="50" show-word-limit placeholder="请输入附言" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary" icon="el-icon-search" @click="onIlccanletButtxmsel">
            ...
        </c-button>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.byinst">On Applicant instruction</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onFrmbut">
            &Redirect
        </c-button>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.sndmsg">Send message to apllicant</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onOrd">
            &Order
        </c-button>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="注销/闭卷" prop="rejhnd">
            <c-select v-model="model.rejhnd" style="width:100%" placeholder="请选择注销/闭卷">
              </c-select>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onIncben">
            Inc to Ben
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onImgmodImage">
            E结算影像
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onImgmodNewimg">
            影像
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onImgmodNewhisimg">
            历史影像
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onImgmodElcimage">
            人行影像
        </c-button>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="注销/闭卷原因" prop="didgrp.blk.canrsn">
            <c-input type="textarea" v-model="model.didgrp.blk.canrsn" maxlength="35" show-word-limit placeholder="请输入注销/闭卷原因" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onEntmodEntbut">
            企业名录
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onPen">
            暂存
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onCan">
            退出
        </c-button>
       </c-col>
  </div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditcan/Event"

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

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

    }
}
</script>
<style>

</style>
