<template>
  <div class="eibs-tab">
    <c-row>

      <!-- =================================左边================================= -->
      <c-col :span="12">
        <!-- S0000198 : 信用证编号 -->
        <c-col :span="24">
          <c-form-item label="Import L/C Ref" prop="lidgrp.rec.ownref">
            <c-fullbox>
              <c-input
                v-model="model.lidgrp.rec.ownref"
                maxlength="16"
                placeholder=""
                style="width: 100%"
                disabled
              ></c-input>
              <template slot="footer">
                <c-button
                  style="margin: 0 10px 0 10px; padding: 0 12px"
                  size="small"
                  type="primary"
                  @click="onSeainf"
                >
                  <span style="font-family: '宋体'; font-weight: bold">i</span>
                </c-button>
                <c-button
                  style="margin: 0 0"
                  size="small"
                  type="primary"
                  :disabled="this.flag"
                  @click="onDitpButgetref"
                >
                  获取
                </c-button>
              </template>
            </c-fullbox>
          </c-form-item>
        </c-col>
        <!-- S0000195 : 到期日 -->
        <c-col :span="24">
          <el-form-item label="Expiry" prop="lidgrp.rec.expdat">
            <c-date-picker
              type="date"
              v-model="model.lidgrp.rec.expdat"
              style="width: 100%"
              placeholder="请输入Expiry"
              disabled
            ></c-date-picker>
          </el-form-item>
        </c-col>
        
        <!-- S0000196 : 单据参考号 -->
        <c-col :span="24">
          <c-form-item label="Bill Set Reference" prop="brdgrp.rec.ownref">
            <c-fullbox>
              <c-input
                v-model="model.brdgrp.rec.ownref"
                maxlength="16"
                placeholder=""
                disabled
              ></c-input>
              <template slot="footer">
                <c-button
                  style="margin: 0 10px 0 10px; padding: 0 12px"
                  size="small"
                  type="primary"
                  @click="onSeainf"
                >
                  <span style="font-family: '宋体'; font-weight: bold">i</span>
                </c-button>
                <c-button
                  style="margin: 0 0"
                  size="small"
                  type="primary"
                  :disabled="this.flag"
                  @click="onDitpButgetref"
                >
                  获取
                </c-button>
              </template>
            </c-fullbox>
          </c-form-item>
        </c-col>
        <!-- S0000197 : 单据金额 -->
        <c-col :span="24">
          <c-col :span="13">
            <el-form-item label="Document Amount" prop="brdgrp.cbs.max.cur">
              <c-select
                v-model="model.brdgrp.cbs.max.cur"
                style="width: 100%"
                placeholder="请输入Document Amount"
                :code="codes.curtxt1"
                disabled
              >
              </c-select>
            </el-form-item>
          </c-col>

          <c-col :span="11">
            <c-form-item label="" label-width="5px" prop="brdgrp.cbs.max.amt">
              <c-input
                v-model="model.brdgrp.cbs.max.amt"
                placeholder=""
                disabled
              ></c-input>
            </c-form-item>
          </c-col>
        </c-col>

        <!-- <c-col :span="12">
            <c-form-item label="" prop="oldbrdgrp.cbs.max.amt">
                <c-input  v-model="model.oldbrdgrp.cbs.max.amt"  placeholder=""></c-input>
            </c-form-item>
       </c-col> -->
        <!-- S0000199 : 单据余额 -->
        <c-col :span="24">
          <c-col :span="13">
            <c-form-item label="Open Amount" prop="brdgrp.cbs.opn1.cur">
              <c-input
                v-model="model.brdgrp.cbs.opn1.cur"
                maxlength="3"
                placeholder="请输入Open Amount"
                disabled
              ></c-input>
            </c-form-item>
          </c-col>

          <c-col :span="11">
            <c-form-item label="" label-width="5px" prop="brdgrp.cbs.opn1.amt">
              <c-input
                v-model="model.brdgrp.cbs.opn1.amt"
                placeholder=""
                disabled
              ></c-input>
            </c-form-item>
          </c-col>
        </c-col>

        <!-- S0000200 : 到单日期 -->
        <c-col :span="12">
          <el-form-item label="Received on" prop="brdgrp.rec.rcvdat">
            <c-date-picker
              type="date"
              v-model="model.brdgrp.rec.rcvdat"
              style="width: 100%"
              placeholder="请输入"
              disabled
            ></c-date-picker>
          </el-form-item>
        </c-col>
        <!-- S0000202 : 通知到单日期 -->
        <c-col :span="12">
          <el-form-item label="Advised on" prop="brdgrp.rec.advdat">
            <c-date-picker
              type="date"
              v-model="model.brdgrp.rec.advdat"
              style="width: 100%"
              placeholder="请输入Advised on"
              disabled
            ></c-date-picker>
          </el-form-item>
        </c-col>
        <!-- S0000080 : Maturity Date -->
        <c-col :span="12">
          <el-form-item label="Maturity Date" prop="brdgrp.rec.matdat">
            <c-date-picker
              type="date"
              v-model="model.brdgrp.rec.matdat"
              style="width: 100%"
              placeholder="请输入Maturity Date"
            ></c-date-picker>
          </el-form-item>
        </c-col>
        <!-- SG000232 : Start Date -->
        <c-col :span="12">
          <el-form-item label="Start Date" prop="brdgrp.rec.stadat">
            <c-date-picker
              type="date"
              v-model="model.brdgrp.rec.stadat"
              style="width: 100%"
              placeholder="请输入 Start Date"
              disabled
            ></c-date-picker>
          </el-form-item>
        </c-col>
        <!-- S0000206 : 单据类型 -->
        <c-col :span="16">
          <el-form-item label="Document Type" prop="brdgrp.rec.docflg">
            <c-select
              v-model="model.brdgrp.rec.docflg"
              style="width: 100%"
              placeholder="请输入Document Type"
              :code="codes.docflg"
              disabled
            >
            </c-select>
          </el-form-item>
        </c-col>
        <!-- SG000233 : Tenor -->
        <c-col :span="8">
          <c-form-item
            label="Tenor"
            label-width="100px"
            prop="brdgrp.rec.tenmaxday"
          >
            <c-input
              v-model="model.brdgrp.rec.tenmaxday"
              placeholder="请输入Tenor"
              disabled
            ></c-input>
          </c-form-item>
        </c-col>
        <!-- S0000207 : 单据状态 -->
        <c-col :span="24">
          <el-form-item label="Document Set Status" prop="brdgrp.rec.docsta">
            <c-select
              v-model="model.brdgrp.rec.docsta"
              style="width: 100%"
              placeholder="请输入"
              :code="codes.docsta"
              disabled
            >
            </c-select>
          </el-form-item>
        </c-col>
        <!-- S0000084 : Document Type -->
        <c-col :span="24">
          <el-form-item label="Document Type" prop="brdgrp.rec.docflg">
            <c-select
              v-model="model.brdgrp.rec.docflg"
              style="width: 100%"
              placeholder="请选择Document Type"
              :code="codes.docflg"
            >
            </c-select>
          </el-form-item>
        </c-col>
        <!-- S0000086 : Document Amount -->
        <c-col :span="24">
          <c-col :span="13">
            <el-form-item label="Document Amount" prop="brdgrp.cbs.max.cur">
              <c-select
                v-model="model.brdgrp.cbs.max.cur"
                style="width: 100%"
                placeholder=""
                :code="codes.curtxt1"
                disabled
              >
              </c-select>
            </el-form-item>
          </c-col>
          <c-col :span="11">
            <c-form-item label="" label-width="5px" prop="brdgrp.cbs.max.amt">
              <c-input
                v-model="model.brdgrp.cbs.max.amt"
                placeholder=""
              ></c-input>
            </c-form-item>
          </c-col>
        </c-col>

        <!-- S0000006 : 附加金额 -->
        <c-col :span="24">
          <c-col :span="13">
            <el-form-item label="Drawn Add Amount" prop="brdgrp.cbs.opn2.cur">
              <c-select
                v-model="model.brdgrp.cbs.opn2.cur"
                style="width: 100%"
                placeholder="请输入Drawn Add Amount"
                :code="codes.curtxt1"
                disabled
              >
              </c-select>
            </el-form-item>
          </c-col>

          <c-col :span="11">
            <c-form-item label="" label-width="5px" prop="brdgrp.cbs.max2.amt">
              <c-input
                v-model="model.brdgrp.cbs.max2.amt"
                placeholder=""
              ></c-input>
            </c-form-item>
          </c-col>
        </c-col>

        <!-- S0000081 : Presentation Date -->
        <c-col :span="12">
          <el-form-item label="Presentation Date" prop="brdgrp.rec.predat">
            <c-date-picker
              type="date"
              v-model="model.brdgrp.rec.predat"
              style="width: 100%"
              placeholder="请输入Presentation Date"
            ></c-date-picker>
          </el-form-item>
        </c-col>
        <!-- S0000082 : Received on -->
        <c-col :span="12">
          <el-form-item label="Received on" prop="brdgrp.rec.rcvdat">
            <c-date-picker
              type="date"
              v-model="model.brdgrp.rec.rcvdat"
              style="width: 100%"
              placeholder="请输入Received on"
            ></c-date-picker>
          </el-form-item>
        </c-col>
        <c-col :span="12">
          <el-form-item label="Maturity Date" prop="brdgrp.rec.matdat">
            <c-date-picker
              type="date"
              v-model="model.brdgrp.rec.matdat"
              style="width: 100%"
              placeholder="Maturity Date"
            ></c-date-picker>
          </el-form-item>
        </c-col>
        <!-- S0000083 : Shipped on -->
        <c-col :span="12">
          <el-form-item label="Shipped on" prop="brdgrp.rec.shpdat">
            <c-date-picker
              type="date"
              v-model="model.brdgrp.rec.shpdat"
              style="width: 100%"
              placeholder="请输入Shipped on"
            ></c-date-picker>
          </el-form-item>
        </c-col>
        <!-- SG000365 : Transaction Type -->
        <c-col :span="12">
          <el-form-item label="Transaction Type" prop="mhtyp">
            <c-select
              v-model="model.mhtyp"
              style="width: 100%"
              placeholder="请输入Transaction Type"
              :code="codes.mhtyp"
            >
            </c-select>
          </el-form-item>
        </c-col>
        <c-col :span="12">
          <c-form-item label="Letter day" prop="days">
            <c-input
              v-model="model.days"
              placeholder="请输入Letter day"
            ></c-input>
          </c-form-item>
        </c-col>
        <!-- S0000079 : Maturity Period -->
        <c-col :span="24">
          <c-form-item label="Maturity Period" prop="brdgrp.blk.matper">
            <c-input
              type="textarea"
              v-model="model.brdgrp.blk.matper"
              maxlength="65"
              show-word-limit
              placeholder="请输入Maturity Period"
            ></c-input>
          </c-form-item>
        </c-col>
        <!-- SF000369 : Applicant Reference -->
        <c-col :span="12">
          <c-form-item label="Applicant Reference" prop="lidgrp.rec.aplref">
            <c-input
              v-model="model.lidgrp.rec.aplref"
              maxlength="16"
              placeholder="请输入Applicant Reference"
            ></c-input>
          </c-form-item>
        </c-col>
        <c-col :span="12">
          <c-checkbox
            v-model="dscinsflg"
            style="width: 100%; margin-left: 40px"
            >Enter Docs,Discrep,Instr and Shipping Detials</c-checkbox
          >
          <!-- <c-checkbox
            v-model="model.brdgrp.rec.dscinsflg"
            style="width: 100%; margin-left: 40px"
            >Enter Docs,Discrep,Instr and Shipping Detials</c-checkbox
          > -->
        </c-col>
        <c-col :span="24">
          <c-form-item
            label="Previous Drawings under this L/C"
            prop="lidgrp.rec.utlnbr"
          >
            <c-input
              v-model="model.lidgrp.rec.utlnbr"
              :placeholder="
                $t('other.please_enter') + 'Count of Received Document Sets'
              "
              disabled
            ></c-input>
          </c-form-item>
        </c-col>
      </c-col>

      <!-- =================================右边=============================== -->
      <c-col :span="11" :offset="1">
        
        <!-- S0000192 : 信用证余额 -->
        <c-col :span="12">
          <c-form-item label="Open Amt L/C" prop="lidgrp.cbs.opn1.cur">
            <c-input
              v-model="model.lidgrp.cbs.opn1.cur"
              maxlength="3"
              :placeholder="$t('other.please_enter') + 'Currency'"
              disabled
            ></c-input>
          </c-form-item>
        </c-col>
        <c-col :span="12">
          <c-form-item label="" label-width="10px" prop="lidgrp.cbs.opn1.amt">
            <c-input
              v-model="model.lidgrp.cbs.opn1.amt"
              placeholder=""
              disabled
            ></c-input>
          </c-form-item>
        </c-col>

        <c-col :span="24">
          <c-form-item label="" prop="brdgrp.rec.nam">
            <c-input
              v-model="model.brdgrp.rec.nam"
              maxlength="40"
              placeholder="请输入"
              disabled
            ></c-input>
          </c-form-item>
        </c-col>
        <c-col :span="24">
          <c-ptsmsg
            :model="model"
            :argadr="{ title: 'Applicant Ref', grp: 'brdgrp', rol: 'apl' }"
            disabled
          >
          </c-ptsmsg>
        </c-col>
        <c-col :span="24">
          <c-ptsmsg
            :model="model"
            :argadr="{ title: 'Beneficiary Ref', grp: 'brdgrp', rol: 'ben' }"
            disabled
          >
          </c-ptsmsg>
        </c-col>
        <c-col :span="24">
          <c-ptsmsg
            :model="model"
            :argadr="{
              title: 'Presenting Bank Ref',
              grp: 'brdgrp',
              rol: 'prb',
            }"
            disabled1
          >
          </c-ptsmsg>
        </c-col>

        <!-- S0000194 : 申请人 -->
        <!-- S0000203 : 编号 -->
        <!-- <c-col :span="24">
            <c-form-item label="Applicant Ref" prop="brdgrp.apl.pts.ref">
                <c-input  v-model="model.brdgrp.apl.pts.ref" maxlength="16"  placeholder="请输入Applicant Ref"></c-input>
            </c-form-item>
       </c-col>
        <c-col :span="24">
            <c-form-item label="" prop="brdgrp.apl.pts.nam">
                <c-input  v-model="model.brdgrp.apl.pts.nam" maxlength="40"  placeholder="请输入"></c-input>
            </c-form-item>
       </c-col> -->
        <!-- S0000193 : 受益人 -->
        <!-- S0000205 : 编号 -->
        <!-- <c-col :span="24">
        <c-form-item label="Beneficiary Ref" prop="brdgrp.ben.pts.ref">
            <c-input  v-model="model.brdgrp.ben.pts.ref" maxlength="16"  placeholder="请输入Beneficiary Ref"></c-input>
        </c-form-item>
       </c-col>
        <c-col :span="24">
            <c-form-item label="" prop="brdgrp.ben.pts.nam">
                <c-input  v-model="model.brdgrp.ben.pts.nam" maxlength="40" placeholder=""></c-input>
            </c-form-item>
       </c-col> -->
        <!-- S0000204 : 交单行 -->
        <!-- S0000208 : 编号 -->
        <!-- <c-col :span="24">
            <c-form-item label="Presenting Bank Ref" prop="brdgrp.prb.pts.ref">
                <c-input  v-model="model.brdgrp.prb.pts.ref" maxlength="16"  placeholder="请输入Presenting Bank Ref"></c-input>
            </c-form-item>
       </c-col>
        <c-col :span="24">
            <c-form-item label="" prop="brdgrp.prb.pts.nam">
                <c-input  v-model="model.brdgrp.prb.pts.nam" maxlength="40"  placeholder=""></c-input>
            </c-form-item>
       </c-col> -->
        <!-- S0000078 : Presented by -->
        <c-col :span="24">
          <el-form-item label="Presented by" prop="brdgrp.rec.docprbrol">
            <c-select
              v-model="model.brdgrp.rec.docprbrol"
              style="width: 100%"
              placeholder="请选择 Presented by"
              :code="codes.docprbrol"
            >
            </c-select>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <c-ptap1
            :model="model"
            :argadr="{
              title: '',
              grp: 'brdgrp',
              rol: 'prb',
            }"
            :disabled="true"
            @onSeainf="onSeainf" @onAplpDet="onPrbpDet"
          >
          </c-ptap1>
        </c-col>
        <!-- SF000087 : Payer -->
        <c-col :span="24">
          <el-form-item label="Payer" prop="brdgrp.rec.payrol">
            <c-select
              v-model="model.brdgrp.rec.payrol"
              style="width: 100%"
              placeholder="请输入Payer"
              :code="codes.payrol"
            >
            </c-select>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <c-ptap1
            :model="model"
            :argadr="{
              title: '',
              grp: 'brtp',
              rol: 'oth',
            }"
            :disabled="true"
            disabled1
            @onSeainf="onSeainf" @onAplpDet="onOthpDet"
          >
          </c-ptap1>
          <!-- <c-ptap
            :model="model"
            :argadr="{
              title: '',
              grp: 'brdgrp',
              rol: 'prb',
            }"
            :disabled="true"
            :isAdrblk="false"
            @onSeainf="onSeainf"
            @onAplpDet="onBenpDet"
          >
          </c-ptap> -->
        </c-col>

        <!-- <c-col :span="12">
        <c-form-item label="External Key of Address" prop="brdgrp.prb.pts.extkey">
            <c-input  v-model="model.brdgrp.prb.pts.extkey" maxlength="16"  :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
        </c-form-item>
       </c-col> -->
      </c-col>

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

      <!-- S0000201 : 远期单据到期日 -->

      <!-- <c-col :span="12">
    <span  v-text="model.brtp.matp.mattxtlab"   data-path=".brtp.matp.mattxtlab" > </span>
</c-col>
                   -->

      <!--                   
       <c-col :span="12">
        <c-form-item label="Drag  Drop Sender" prop="brtp.prbp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.brtp.prbp.ptsget.sdamod.dadsnd"  :placeholder="$t('other.please_enter')+'Drag  Drop Sender'"></c-input>
        </c-form-item>
       </c-col>
       
                  
      
                  
       
                  
       <c-col :span="12">
        <c-form-item label="" prop="brtp.prbp.ptsget.sdamod.seainf">
            <c-input  v-model="model.brtp.prbp.ptsget.sdamod.seainf"  :placeholder="$t('other.please_enter')+''"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onPrbpDet">
             {{$t('ptsp.CF000081')}}
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item label="名称" prop="brdgrp.prb.namelc">
            <c-input type="textarea" v-model="model.brdgrp.prb.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input>
        </c-form-item>
        </c-col>
                  
<c-col :span="12">
    <span  v-text="model.oridoclab"   data-path=".oridoclab" > </span>
</c-col>
                  
       
                  
       <c-col :span="12">
        <c-form-item label="Address Block" prop="brdgrp.prb.pts.adrblk">
            <c-input type="textarea" v-model="model.brdgrp.prb.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input>
        </c-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-form-item label="Chinese address" prop="brdgrp.prb.dbfadrblkcn">
            <c-input type="textarea" v-model="model.brdgrp.prb.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input>
        </c-form-item>
        </c-col>
     
                  
     
       <c-col :span="12">
        <c-form-item label="地址" prop="brdgrp.prb.adrelc">
            <c-input type="textarea" v-model="model.brdgrp.prb.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input>
        </c-form-item>
        </c-col>
                  
<c-col :span="12">
    <span  v-text="model.oriaddlab"   data-path=".oriaddlab" > </span>
</c-col>
                  
       <c-col :span="12">
        <c-form-item label="Balance" prop="oldbrdgrp.cbs.max2.amt">
            <c-input  v-model="model.oldbrdgrp.cbs.max2.amt"  :placeholder="$t('other.please_enter')+'Balance'"></c-input>
        </c-form-item>
       </c-col>
    
     
        
                  
       <c-col :span="12">
        <c-form-item label="Drag  Drop Sender" prop="brtp.othp.ptsget.sdamod.dadsnd">
            <c-input  v-model="model.brtp.othp.ptsget.sdamod.dadsnd"  :placeholder="$t('other.please_enter')+'Drag  Drop Sender'"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item label="External Key of Address" prop="brtp.oth.pts.extkey">
            <c-input  v-model="model.brtp.oth.pts.extkey" maxlength="16"  :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-form-item label="" prop="brtp.othp.ptsget.sdamod.seainf">
            <c-input  v-model="model.brtp.othp.ptsget.sdamod.seainf"  :placeholder="$t('other.please_enter')+''"></c-input>
        </c-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onOthpDet">
             {{$t('ptsp.CF000081')}}
        </c-button>
       </c-col>-->

      <!-- SF000381 : Letter day -->
      <!-- SG000380 : days -->

      <!-- <c-col :span="12">
        <c-form-item label="名称" prop="brtp.oth.namelc">
            <c-input type="textarea" v-model="model.brtp.oth.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input>
        </c-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-form-item label="Address Block" prop="brtp.oth.pts.adrblk">
            <c-input type="textarea" v-model="model.brtp.oth.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input>
        </c-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-form-item label="Chinese address" prop="brtp.oth.dbfadrblkcn">
            <c-input type="textarea" v-model="model.brtp.oth.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input>
        </c-form-item>
        </c-col>
                 
                  
       <c-col :span="12">
        <c-form-item label="地址" prop="brtp.oth.adrelc">
            <c-input type="textarea" v-model="model.brtp.oth.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input>
        </c-form-item>
        </c-col> -->

      <!-- S0000076 : Previous Drawings under this L/C -->

      <!-- <c-col :span="12">
	    <c-checkbox v-model="model.brtp.setnowflg">{{$t('brtdck.CF000094')}}</c-checkbox>
       </c-col>  -->
    </c-row>
  </div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Brtdck/Event";
import Ptap1 from "~/views/Public/Ptap1";
// import Ptap from "~/views/Public/Ptap";
import Ptsmsg from "~/views/Public/Ptsmsg";

export default {
  components: {
    "c-ptap1": Ptap1,
    // "c-ptap": Ptap,
    "c-ptsmsg": Ptsmsg,
  },
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {};
  },
  methods: { ...Event},
  created: function () {},
  computed: {
    flag() {
      return this.model.brdgrp.prb.pts.extkey == "";
    },
    dscinsflg: {
      get() {
        return this.model.brdgrp.rec.dscinsflg != ''
      },
      set(val) {
        this.model.brdgrp.rec.dscinsflg = val ? "X" : ""
      }
    },
  },
};
</script>
<style>
</style>
