<template>
  <div class="eibs-tab">
    <c-row>
      <c-col :span="12" style="pedding-right: 20px">

           <!-- SF000164 : L/C Reference -->
                  
            <c-col :span="24">
                <el-form-item label="L/C Reference" prop="ledgrp.rec.ownref">
                    <c-fullbox>
                        <c-input
                            disabled
                            v-model="model.ledgrp.rec.ownref" 
                            maxlength="16"  
                            placeholder="Please enter L/C Reference"
                        ></c-input>
                        <template slot="footer">
                            <c-button
                                size="small"
                                style="margin-left: 10px; padding: 0 10px"
                                type="primary"
                            >
                                <i class="el-icon-info"></i>
                            </c-button>
                        </template>
                    </c-fullbox>
                </el-form-item>
            </c-col>  


                 <!-- SF000152 : Transfer Reference -->
                  
            <c-col :span="24">
                <el-form-item label="Transfer Reference" prop="ltdgrp.rec.ownref">
                    <c-fullbox>
                        <c-input  
                            v-model="model.ltdgrp.rec.ownref" 
                            maxlength="16"  
                            placeholder="Please enter Transfer Reference"
                            disabled
                        ></c-input>
                        <template slot="footer">
                            <c-button
                                size="small"
                                style="margin-left: 10px; padding: 0 10px"
                                type="primary"
                            >
                                <i class="el-icon-info"></i>
                            </c-button>
                        </template>
                    </c-fullbox>
                </el-form-item>
            </c-col>

                 <!-- SF000153 : Transfer L/C Amount -->

          <c-col :span="24" class="custom-box-wrap">
	    			<div class="box-1">
			    		<div style="width: 280px;">
		    				<el-form-item label="Transfer L/C Amount" prop="ltdgrp.cbs.nom1.cur">
				    			<c-select 
                                    v-model="model.ltdgrp.cbs.nom1.cur" 
                                    disabled
                                    style="width: 100%" 
                                    placeholder="请选择币种" 
                                    dbCode="curtxt" 
                                    sort="SRT"
                  ></c-select>
						    </el-form-item>
					    </div>
					    <div style="width: calc(100% - 280px);">
						    <el-form-item label-width="5px" prop="ltdgrp.cbs.nom1.amt">
		    					<c-input-currency 
                                    v-model="model.ltdgrp.cbs.nom1.amt" 
                                    :currency="model.ltdgrp.cbs.nom1.cur" 
                                    style="width:100%" 
                                    placeholder="请输入金额"
                                    disabled
                  ></c-input-currency>
						    </el-form-item>
					    </div>
				    </div>
				    <div class="box-2">
					    <c-checkbox 
                        v-model="model.lttp0.aammod.addamtflgg" 
                        true-label="X" 
                        false-label="" 
                        class="checkbox-left"
                        disabled
              >Add.Amount</c-checkbox>
				    </div>
			</c-col>




                 <!-- SF000154 : Open Amount -->

          <c-col :span="24" class="custom-box-wrap">	    			
			    		<div style="width: 280px;">
		    				<el-form-item label="Open Amount" prop="ltdgrp.cbs.opn1.cur">
				    			<c-select 
                                    v-model="model.ltdgrp.cbs.opn1.cur" 
                                    disabled
                                    style="width: 100%" 
                                    placeholder="请选择币种" 
                                    dbCode="curtxt" 
                                    sort="SRT"
                  ></c-select>
						    </el-form-item>
					    </div>
					    <div style="width: calc(100% - 280px);">
						    <el-form-item label-width="5px" prop="ltdgrp.cbs.opn1.amt">
		    					<c-input-currency 
                                    v-model="model.ltdgrp.cbs.opn1.amt" 
                                    :currency="model.ltdgrp.cbs.opn1.cur" 
                                    style="width:100%" 
                                    placeholder="请输入金额"
                                    disabled
                  ></c-input-currency>
						    </el-form-item>
					    </div>
			    </c-col>  


                        <!-- SF000156 : Available with -->
                  
       <c-col :span="24">
        <el-form-item :label="$t('Available with')" prop="ltdgrp.avt.pts.nam">
            <c-input  v-model="model.ltdgrp.avt.pts.nam" maxlength="40" disabled :placeholder="$t('other.please_enter')+$t('Available with')"></c-input>
        </el-form-item>
       </c-col>


                <!-- SF000157 : by -->
      <c-col :span="24">           
       <c-col :span="12">
        <el-form-item label="by" prop="ltdgrp.rec.avbby">
            <c-select v-model="model.ltdgrp.rec.avbby" dbCode='avbby0' style="width:100%" disabled :placeholder="$t('other.please_enter')+'Available by'">
              </c-select>
        </el-form-item>
       </c-col>

                 <!-- SF000166 : Shipment Date -->
                  
       <c-col :span="12">
        <el-form-item label="Shipment Date" prop="ltdgrp.rec.shpdat">
            <c-date-picker type="date"  v-model="model.ltdgrp.rec.shpdat"  disabled :placeholder="$t('other.please_enter')+'Shipment Date'"></c-date-picker>
        </el-form-item>
       </c-col>
      </c-col> 

        <c-col :span="24"  class="custom-box-wrap">
          <div style="width:280px;">
            <el-form-item :label="$t('Date Issued/Form')" prop="ltdgrp.rec.opndat">
              <c-date-picker type="date"  v-model="model.ltdgrp.rec.opndat" style="width: 100%"   disabled :placeholder="$t('other.please_enter')+$t('Date Issued/Form')"></c-date-picker>
            </el-form-item>
          </div>
          <div style="width: calc(100% - 280px)">
            <el-form-item label-width="5px" prop="ltdgrp.rec.lcrtyp">
              <c-select v-model="model.ltdgrp.rec.lcrtyp" dbCode='lcrtyp'  style="width: 100%"  disabled :placeholder="$t('other.please_enter')+$t('Date Issued/Form')"></c-select>
            </el-form-item>
          </div>
        </c-col>

      <c-col :span="24" class="custom-box-wrap">
        <div style="width:280px;">
          <el-form-item label="Date / Place of Expiry" prop="ltdgrp.rec.expdat">
            <c-date-picker type="date"  v-model="model.ltdgrp.rec.expdat" style="width:100%" disabled :placeholder="$t('other.please_enter')+$t('Date / Place of Expiry')"></c-date-picker>
          </el-form-item>
        </div>
                  
       <div style="width: calc(100%-280px);">
        <el-form-item label-width="5px"  prop="ltdgrp.rec.expplc">
            <c-input  v-model="model.ltdgrp.rec.expplc" maxlength="29" style="width:100%" disabled :placeholder="$t('other.please_enter')+$t('Date / Place of Expiry')"></c-input>
        </el-form-item>
       </div>
      </c-col>

                 <!-- SF000039 : Booking Amount -->
      <!-- <c-col :span="24">            
       <c-col :span="12">
        <el-form-item :label="$t('Booking Amount')" prop="ltdgrp.cbs.max.cur">
            <c-input  v-model="model.ltdgrp.cbs.max.cur" maxlength="3"  :placeholder="$t('other.please_enter')+$t('Booking Amount')"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item prop="liaamt">
            <c-input  v-model="model.liaamt"  :placeholder="$t('other.please_enter')+'Booking Amount'"></c-input>
        </el-form-item>
       </c-col>
      </c-col> -->

          <c-col :span="24" class="custom-box-wrap">	    			
			    		<div style="width: 280px;">
		    				<el-form-item label="Booking Amount" prop="ltdgrp.cbs.max.cur">
				    			<c-select 
                                    v-model="model.ltdgrp.cbs.max.cur" 
                                    disabled
                                    style="width: 100%" 
                                    placeholder="请选择币种" 
                                    dbCode="curtxt" 
                                    sort="SRT"
                  ></c-select>
						    </el-form-item>
					    </div>
					    <div style="width: calc(100% - 280px);">
						    <el-form-item label-width="5px" prop="liaamt">
		    					<c-input-currency 
                                    v-model="model.liaamt" 
                                    :currency="model.ltdgrp.cbs.max.cur" 
                                    style="width:100%" 
                                    placeholder="请输入金额"
                  ></c-input-currency>
						    </el-form-item>
					    </div>
			    </c-col>  


      </c-col>


      <!-- =================右边================= -->
      <c-col :span="12" style="pedding-left: 20px">
                 <!-- SF000165 : Name -->
                  
       <c-col :span="24">
        <el-form-item :label="$t('Name')" prop="ledgrp.rec.nam">
            <c-input  v-model="model.ledgrp.rec.nam" maxlength="40"  disabled :placeholder="$t('other.please_enter')+$t('Name')"></c-input>
        </el-form-item>
       </c-col>

                 <!-- SF000161 : Name -->
                  
       <c-col :span="24">
        <el-form-item :label="$t('Name')" prop="ltdgrp.rec.nam">
            <c-input  v-model="model.ledgrp.rec.nam" maxlength="40" disabled  :placeholder="$t('other.please_enter')+$t('Name')"></c-input>
        </el-form-item>
       </c-col>

                 <!-- SF000163 : 1st Beneficiary -->
                 <!-- S0000169 : Ref. -->
<!--                   
       <c-col :span="24">
        <el-form-item :label="$t('1st Beneficiary Ref')" prop="ltdgrp.be1.pts.ref">
            <c-input  v-model="model.ltdgrp.be1.pts.ref" maxlength="16"  :placeholder="$t('other.please_enter')+$t('1st Beneficiary Ref')"></c-input>
        </el-form-item>
       </c-col>

       <c-col :span="24">
        <el-form-item label="Name of Party" prop="ltdgrp.be1.pts.nam">
            <c-input  v-model="model.ltdgrp.be1.pts.nam" maxlength="40"  :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
        </el-form-item>
       </c-col> -->

        <c-col :span="24" >
          <el-form-item>
          	  <c-ptap
		    			  :model="model"
				    	  :disabledExtkey="true"
		    		  	:disabled="true"
			      		:argadr="{title: '1st Beneficiary Ref', grp: 'ltdgrp', rol: 'be1'}"
		  		    	ptytyp="C"
					      bchinr='00000047'
				       :isLabel120="false"></c-ptap>
          </el-form-item>
			  </c-col>


                 <!-- SF000155 : 2nd Beneficiary -->
                 <!-- SF000162 : Ref. -->
                  
       <!-- <c-col :span="24">
        <el-form-item :label="$t('2nd Beneficiary Ref')" prop="ltdgrp.be2.pts.ref">
            <c-input  v-model="model.ltdgrp.be2.pts.ref" maxlength="16"  :placeholder="$t('other.please_enter')+$t('2nd Beneficiary Ref')"></c-input>
        </el-form-item>
       </c-col>

        <c-col :span="24">
          <el-form-item label="Name of Party" prop="ltdgrp.be2.pts.nam">
            <c-input  v-model="model.ltdgrp.be2.pts.nam" maxlength="40"  :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
          </el-form-item>
        </c-col> -->

        <c-col :span="24" >
          <el-form-item >
          	  <c-ptap
		    			  :model="model"
				    	  :disabledExtkey="true"
		    		  	:disabled="true"
			      		:argadr="{title: '1st Beneficiary Ref', grp: 'ltdgrp', rol: 'be2'}"
		  		    	ptytyp="C"
					      bchinr='00000047'
				       :isLabel120="false"></c-ptap>
          </el-form-item>
			  </c-col>

                 <!-- SF000159 : Advising Bank -->
                 <!-- S0000168 : Ref. -->
                  
       <!-- <c-col :span="24">
        <el-form-item :label="$t('Advising Bank Ref')" prop="ltdgrp.adt.pts.ref">
            <c-input  v-model="model.ltdgrp.adt.pts.ref" maxlength="16"  :placeholder="$t('other.please_enter')+$t('lttp0.SF000159')"></c-input>
        </el-form-item>
       </c-col>

       <c-col :span="24">
        <el-form-item label="Name of Party" prop="ltdgrp.adt.pts.nam">
            <c-input  v-model="model.ltdgrp.adt.pts.nam" maxlength="40"  :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
        </el-form-item>
       </c-col> -->

        <c-col :span="24" >
          <el-form-item >
          	  <c-ptap
		    			  :model="model"
				    	  :disabledExtkey="true"
		    		  	:disabled="true"
			      		:argadr="{title: '1st Beneficiary Ref', grp: 'ltdgrp', rol: 'adt'}"
		  		    	ptytyp="C"
					      bchinr='00000047'
				       :isLabel120="false"></c-ptap>
          </el-form-item>
			  </c-col>       

      </c-col>


    </c-row>                        
                             
                             
 
       <!-- <c-col :span="24">
        <el-form-item label="" prop="lttp0.ledget.sdamod.seainf">
            <c-input  v-model="model.lttp0.ledget.sdamod.seainf"  :placeholder="$t('other.please_enter')+''"></c-input>
        </el-form-item>
       </c-col>

       <c-col :span="24">
        <el-form-item label="Drag  Drop Sender" prop="lttp0.recget.sdamod.dadsnd">
            <c-input  v-model="model.lttp0.recget.sdamod.dadsnd"  :placeholder="$t('other.please_enter')+'Drag  Drop Sender'"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="24">
        <el-form-item label="" prop="lttp0.recget.sdamod.seainf">
            <c-input  v-model="model.lttp0.recget.sdamod.seainf"  :placeholder="$t('other.please_enter')+''"></c-input>
        </el-form-item>
       </c-col>

 -->


  </div>
</template>
<script>

import event from "../event";

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

        }
    },   
}
</script>
<style>

</style>