<template> <div class="eibs-tab"> <!-- left --> <c-col :span="11"> <c-col :span="24"> <c-col :span="20"> <el-form-item label="L/C Reference" prop="ledgrp.rec.ownref" style="width: 100%" > <c-input v-model="model.ledgrp.rec.ownref" maxlength="16" placeholder="请输入L/C Reference" style="width: 100%" disabled ></c-input> </el-form-item> </c-col> <c-col :span="1"> <c-button style="margin: 0 10px 0 0; padding: 0 12px" size="small" type="primary" @click="onSeainf" > <span style="font-size: 15px; font-family: '宋体'; font-weight: bold" >i</span > </c-button> </c-col> </c-col> <c-col :span="24"> <c-col :span="20"> <el-form-item label="Transfer Reference" prop="ltdgrp.rec.ownref" style="width: 100%" > <c-input v-model="model.ltdgrp.rec.ownref" maxlength="16" placeholder="请输入Transfer Reference" style="width: 100%" disabled ></c-input> </el-form-item> </c-col> <c-col :span="1"> <c-button style="margin: 0 10px 0 0; padding: 0 12px" size="small" type="primary" @click="onSeainf" > <span style="font-size: 15px; font-family: '宋体'; font-weight: bold" >i</span > </c-button> </c-col> </c-col> <c-col :span="24"> <el-form-item label="L/C Amount" prop="ltdgrp.cbs.nom1.cur"> <c-fullbox> <c-input v-model="model.ltdgrp.cbs.nom1.cur" maxlength="3" style="width: 50%" placeholder="请输入L/C Amount" disabled ></c-input> <c-input v-model="model.ltdgrp.cbs.nom1.amt" style="width: 50%" placeholder="请输入Balance" disabled ></c-input> <template slot="footer"> <c-checkbox v-model="model.bttp.aammod.addamtflg" style="margin-left: 10px" disabled >Add. Amount</c-checkbox > </template> </c-fullbox> </el-form-item> </c-col> <c-col :span="24"> <el-form-item label="Open Amount" prop="ltdgrp.cbs.opn1.cur"> <c-fullbox> <c-input v-model="model.ltdgrp.cbs.opn1.cur" maxlength="3" style="width: 50%" placeholder="请输入Open Amount" disabled ></c-input> <c-input v-model="model.ltdgrp.cbs.opn1.amt" style="width: 50%" placeholder="请输入Balance" disabled ></c-input> </c-fullbox> </el-form-item> </c-col> <c-col :span="24"> <c-form-item label="Available with" prop="ltdgrp.avbnam"> <c-input v-model="model.ltdgrp.avbnam" maxlength="40" placeholder="Please input Available with" disabled ></c-input> </c-form-item> </c-col> <c-col :span="24"> <c-col :span="12"> <el-form-item label="by" prop="ltdgrp.rec.avbby"> <c-fullbox> <c-select v-model="model.ltdgrp.rec.avbby" maxlength="3" style="width: 100%" placeholder="Please input Open Amount" disabled :code="codes.avbby" ></c-select> </c-fullbox> </el-form-item> </c-col> <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" style="width: 100%" placeholder="Please select Shipment Date" disabled ></c-date-picker> </el-form-item> </c-col> </c-col> <c-col :span="24"> <c-col :span="12"> <el-form-item label="Date Issued/Form" prop="ltdgrp.rec.opndat"> <c-date-picker type="date" v-model="model.ltdgrp.rec.opndat" style="width: 100%" placeholder="Please select Date Issued/Form" disabled ></c-date-picker> </el-form-item> </c-col> <c-col :span="12"> <c-input v-model="model.ltdgrp.rec.lcrtyp" maxlength="40" placeholder="Please input Available with" disabled :code="codes.lcrtyp1" ></c-input> </c-col> </c-col> <c-col :span="24"> <c-col :span="12"> <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%" placeholder="Please select Shipment Date" disabled ></c-date-picker> </el-form-item> </c-col> <c-col :span="12"> <c-input v-model="model.ltdgrp.rec.expplc" maxlength="40" placeholder="Please input Available with" disabled ></c-input> </c-col> </c-col> </c-col> <!-- right --> <c-col :span="11" :offset="1"> <c-col :span="24"> <el-form-item label="Name" prop="ledgrp.rec.nam"> <c-input v-model="model.ledgrp.rec.nam" maxlength="40" placeholder="请输入Externally Displayed Name to Identify the Contract" disabled ></c-input> </el-form-item> </c-col> <c-col :span="24"> <el-form-item label="Name" prop="ltdgrp.rec.nam"> <c-input v-model="model.ltdgrp.rec.nam" maxlength="40" placeholder="请输入Externally Displayed Name to Identify the Contract" disabled ></c-input> </el-form-item> </c-col> <c-col :span="24"> <c-ptsmsg :model="model" :argadr="{ title: '1st Beneficiary', grp: 'btdgrp', rol: 'be1', }" :enRef="true" :enNam="true" :disabled="true" ></c-ptsmsg> </c-col> <c-col :span="24"> <c-ptsmsg :model="model" :argadr="{ title: '2nd Beneficiary', grp: 'btdgrp', rol: 'be2', }" :enRef="true" :enNam="true" :disabled="true" ></c-ptsmsg> </c-col> <c-col :span="24"> <c-ptsmsg :model="model" :argadr="{ title: 'Presenting Bank', grp: 'btdgrp', rol: 'prb', }" :enRef="true" :enNam="true" :disabled="true" ></c-ptsmsg> </c-col> </c-col> <c-col :span="24"> <el-form-item style="margin-left: -150px"> <el-divider /> </el-form-item> </c-col> <!-- next part --> <!-- left --> <c-col :span="11"> <c-col :span="24"> <c-col :span="20"> <el-form-item label="Document Set Ref." prop="btdgrp.rec.ownref" style="width: 100%" > <c-input v-model="model.btdgrp.rec.ownref" maxlength="16" placeholder="请输入Reference" style="width: 95%" disabled ></c-input> </el-form-item> </c-col> <c-col :span="1"> <c-button style="margin: 0 10px 0 0; padding: 0 12px" size="small" type="primary" @click="onSeainf" > <span style="font-size: 15px; font-family: '宋体'; font-weight: bold" >i</span > </c-button> </c-col> <c-col :span="2" :offset="1" style="text-align: right"> <c-button style="margin: 0 0" size="small" type="primary" @click="onBttmodButgetref" :disabled=" model.ltdgrp.rec.inr && !model.btdgrp.rec.ownref ? false : true " > Get </c-button> </c-col> </c-col> <c-col :span="24"> <el-form-item label="Document Type" prop="btdgrp.rec.doctypcod" style="width: 100%" > <c-select v-model="model.btdgrp.rec.doctypcod" style="width: 100%" placeholder="Please select Document Type" disabled > <el-option v-for="item in codes.doctypcod1" :key="item.value" :label="item.label" :value="item.value" > </el-option> </c-select> </el-form-item> </c-col> <c-col :span="24"> <c-col :span="12"> <el-form-item label="Document Amount" prop="btdgrp.cbs.max.cur"> <c-input v-model="model.btdgrp.cbs.max.cur" maxlength="3" placeholder="Please input Document Amount" disabled ></c-input> </el-form-item> </c-col> <c-col :span="12"> <el-form-item label="" label-width="5px" prop="btdgrp.cbs.max.amt"> <c-input v-model="model.btdgrp.cbs.max.amt" placeholder="Please input Balance" ></c-input> </el-form-item> </c-col> </c-col> <c-col :span="24"> <c-col :span="12"> <el-form-item label="Drawn Add. Amount" prop="btdgrp.cbs.opn2.cur"> <c-input v-model="model.btdgrp.cbs.opn2.cur" maxlength="3" placeholder="Please input Drawn Add. Amount" disabled ></c-input> </el-form-item> </c-col> <c-col :span="12"> <el-form-item label="" label-width="5px" prop="btdgrp.cbs.max2.amt"> <c-input v-model="model.btdgrp.cbs.max2.amt" placeholder="Please input Balance" ></c-input> </el-form-item> </c-col> </c-col> <c-col :span="24"> <c-col :span="12"> <el-form-item label="Received on(2nd Ben)" prop="btdgrp.rec.rcvdatbe2" > <c-date-picker type="date" v-model="model.btdgrp.rec.rcvdatbe2" style="width: 100%" placeholder="Please select Received on(2nd Ben)" ></c-date-picker> </el-form-item> </c-col> <c-col :span="12"> <el-form-item label="Order Date" prop="btdgrp.rec.orddatbe2"> <c-date-picker type="date" v-model="model.btdgrp.rec.orddatbe2" style="width: 100%" placeholder="Please select Order Date" ></c-date-picker> </el-form-item> </c-col> </c-col> <c-col :span="24"> <c-col :span="12"> <el-form-item label="Maturity Date" prop="btdgrp.rec.matdat"> <c-date-picker type="date" v-model="model.btdgrp.rec.matdat" style="width: 100%" placeholder="Please select Maturity Date" ></c-date-picker> </el-form-item> </c-col> <c-col :span="12"> <el-form-item label="Shipped on" prop="btdgrp.rec.shpdat"> <c-date-picker type="date" v-model="model.btdgrp.rec.shpdat" style="width: 100%" placeholder="Please select Shipped on" ></c-date-picker> </el-form-item> </c-col> </c-col> <c-col :span="24"> <el-form-item label="Maturity Period" prop="btdgrp.blk.matper"> <c-input type="textarea" v-model="model.btdgrp.blk.matper" maxlength="65" show-word-limit placeholder="Please input Maturity Period" ></c-input> </el-form-item> </c-col> <c-col :span="24"> <el-form-item label="Previous Drawings under this L/C" prop="ltdgrp.rec.utlnbr" > <c-input v-model.number="model.ltdgrp.rec.utlnbr" placeholder="Please input Previous Drawings under this L/C" disabled ></c-input> </el-form-item> </c-col> </c-col> <!-- right --> <c-col :span="11" :offset="1"> <c-col :span="24"> <el-form-item label="Description" prop="btdgrp.rec.nam"> <c-input v-model="model.btdgrp.rec.nam" maxlength="40" placeholder="Please input Description" disabled ></c-input> </el-form-item> </c-col> <c-col :span="24"> <el-form-item label="Presented by" prop="btdgrp.rec.docprbrol"> <c-select v-model="model.btdgrp.rec.docprbrol" style="width: 100%" placeholder="Please select Presented by" @change="selectOrCheckboxRule('btdgrp.rec.docprbrol')" > <el-option v-for="item in codes.docprbrol0" :key="item.value" :label="item.label" :value="item.value" > </el-option> </c-select> </el-form-item> </c-col> <c-col :span="24"> <c-ptap :model="model" :argadr="{ title: '', grp: 'btdgrp', rol: 'prb', }" :noRef="true" :disabled="!(model.btdgrp.rec.docprbrol == 'PRB')" :disabledExtkey="model.btdgrp.rec.docprbrol == 'BEN'" @onSeainf="onSeainf" @onAplpDet="onBenpDet" > </c-ptap> </c-col> <!-- <c-col :span="24"> <el-form-item label="发票类型" prop="btdgrp.rec.invtyp" style="width: 100%" > <c-select v-model="model.btdgrp.rec.invtyp" style="width: 100%" placeholder="请选择发票类型" > <el-option v-for="item in codes.invtyp1" :key="item.value" :label="item.label" :value="item.value" > </el-option> </c-select> </el-form-item> </c-col> --> </c-col> </div> </template> <script> import Api from "~/service/Api"; import commonProcess from "~/mixin/commonProcess"; import CodeTable from "~/config/CodeTable"; import Event from "~/model/Lttdck/Event"; import Ptsmsg from "~/views/Public/Ptsmsg"; import Ptap from "~/views/Public/Ptap"; export default { components: { "c-ptsmsg": Ptsmsg, "c-ptap": Ptap }, inject: ["root"], props: ["model", "codes"], mixins: [commonProcess], data() { return {}; }, methods: { ...Event }, computed: { flag() { return this.model.mtabut.coninf.usr.extkey == ""; }, }, created: function () {}, }; </script> <style> </style>