<template> <div class="eibs-tab"> <!-- left --> <c-col :span="11"> <c-col :span="24"> <el-form-item label="L/C Reference" prop="ledgrp.rec.ownref" style="width: 100%" > <c-fullbox> <c-input v-model="model.ledgrp.rec.ownref" maxlength="8" placeholder="Please input L/C Reference" :disabled="true" ></c-input> <template slot="footer"> <c-button style="margin-left: 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf" > <span style=" font-size: 15px; font-family: '宋体'; font-weight: bold; " >i</span > </c-button> </template> </c-fullbox> </el-form-item> </c-col> <c-col :span="24"> <el-form-item label="Transfer Reference" prop="ltdgrp.rec.ownref" style="width: 100%" > <c-fullbox> <c-input v-model="model.ltdgrp.rec.ownref" maxlength="8" placeholder="Please input Transfer Reference" :disabled="true" ></c-input> <template slot="footer"> <c-button style="margin-left: 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf" > <span style=" font-size: 15px; font-family: '宋体'; font-weight: bold; " >i</span > </c-button> </template> </c-fullbox> </el-form-item> </c-col> <c-col :span="24"> <el-form-item label="Transfer 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.lttp0.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.avt.pts.nam"> <c-input v-model="model.ltdgrp.avt.pts.nam" 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: 'ltdgrp', rol: 'be1', }" :enRef="true" :enNam="true" :disabled="false" :disabled1="true" ></c-ptsmsg> </c-col> <c-col :span="24"> <c-ptsmsg :model="model" :argadr="{ title: '2nd Beneficiary', grp: 'ltdgrp', rol: 'be2', }" :enRef="true" :enNam="true" :disabled="false" :disabled1="true" ></c-ptsmsg> </c-col> <c-col :span="24"> <c-ptsmsg :model="model" :argadr="{ title: 'Presenting Bank', grp: 'ltdgrp', rol: 'adt', }" :enRef="true" :enNam="true" :disabled="false" :disabled1="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 --> <c-col :span="11"> <c-col :span="24"> <el-form-item label="Narrative" prop="lttcanp.trnrec.strinf" style="width: 100%" > <c-fullbox> <c-input type="textarea" v-model="model.lttcanp.trnrec.strinf" maxlength="50" show-word-limit placeholder="Please input Narrative" :disabled="!sndmsg" ></c-input> <template slot="footer"> <c-button style="margin-left: 10px; padding: 0 10px" size="small" type="primary" :disabled="!sndmsg" @click=" showGridPromptDialog( 'bttcanp.canlet.buttxmsel', null, null, { TXT: 'lttcanp.trnrec.strinf' }, { TXT: false }, 'doxpDialog' ) " > ... </c-button> </template> </c-fullbox> </el-form-item> </c-col> </c-col> <c-col :span="11" :offset="1"> <c-col :span="24"> <el-form-item label="" style="text-align: left" prop="sndmsg"> <c-checkbox v-model="sndmsg">Send Message</c-checkbox> </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/Lttcan/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 {}; }, computed:{ sndmsg:{ get(){ return this.model.sndmsg != ''; }, set(val){ this.model.sndmsg = val ? 'X':''; } } }, methods: { ...Event }, created: function () {}, }; </script> <style> </style>