diff --git a/src/model/Infltd/Event.js b/src/model/Infltd/Event.js index 25bf281..e43e891 100644 --- a/src/model/Infltd/Event.js +++ b/src/model/Infltd/Event.js @@ -21,24 +21,28 @@ export default { } },*/ - async handleReset() { - this.model.infcon.seaownref = ""; - this.model.infcon.searef = ""; - this.model.infcon.pty.extkey = ""; - this.model.infcon.seapty = ""; - this.model.infcon.opndatfrom = ""; - this.model.infcon.opndatto = ""; - this.model.infcon.seaamtfr = ""; - this.model.infcon.seaamtto = ""; - this.model.infcon.seasta = ""; - this.model.infcon.usr.extkey = ""; - this.model.infcon.nam = ""; - this.model.infcon.hndtyp = ""; - this.model.infcon.pty.nam = ""; - this.model.infcon.searol = ""; - this.model.infcon.seacur = ""; - this.stmData.data = ""; + // async handleReset() { + // this.model.infcon.seaownref = ""; + // this.model.infcon.searef = ""; + // this.model.infcon.pty.extkey = ""; + // this.model.infcon.seapty = ""; + // this.model.infcon.opndatfrom = ""; + // this.model.infcon.opndatto = ""; + // this.model.infcon.seaamtfr = ""; + // this.model.infcon.seaamtto = ""; + // this.model.infcon.seasta = ""; + // this.model.infcon.usr.extkey = ""; + // this.model.infcon.nam = ""; + // this.model.infcon.hndtyp = ""; + // this.model.infcon.pty.nam = ""; + // this.model.infcon.searol = ""; + // this.model.infcon.seacur = ""; + // this.stmData.data = ""; + + // }, + async handleReset(formName) { + this.$refs[formName].resetFields(); }, async handleSearch() { diff --git a/src/model/Lttdck/index.js b/src/model/Lttdck/index.js index 40f72e0..205f43d 100644 --- a/src/model/Lttdck/index.js +++ b/src/model/Lttdck/index.js @@ -1,186 +1,130 @@ import Api from "~/service/Api" import Pts from "../Common/Pts" - -export default class Lttdck{ - constructor () { - this.data = { - ledgrp:{ - rec:{ - ownref:"", // L/C Reference .ledgrp.rec.ownref - nam:"", // Name .ledgrp.rec.nam - }, +import Pub from "../Public" +export default class Lttdck { + constructor() { + this.data = { + ledgrp: { + rec: { + ownref: "", // L/C Reference .ledgrp.rec.ownref + nam: "", // Name .ledgrp.rec.nam + }, + }, + bttp: { + ledget: { + sdamod: { + seainf: "", // .bttp.ledget.sdamod.seainf + }, + }, + ltdget: { + sdamod: { + seainf: "", // .bttp.ltdget.sdamod.seainf + dadsnd: "", // Drag Drop Sender .bttp.ltdget.sdamod.dadsnd + }, + }, + recget: { + sdamod: { + dadsnd: "", // Drag Drop Sender .bttp.recget.sdamod.dadsnd + seainf: "", // .bttp.recget.sdamod.seainf + }, + }, + aammod: { + addamtflg: "", // Add. Amount .bttp.aammod.addamtflg + }, + prbp: { + ptsget: { + sdamod: { + seainf: "", // .bttp.prbp.ptsget.sdamod.seainf + dadsnd: "", // Drag Drop Sender .bttp.prbp.ptsget.sdamod.dadsnd }, - bttp:{ - ledget:{ - sdamod:{ - seainf:"", // .bttp.ledget.sdamod.seainf - }, - }, - ltdget:{ - sdamod:{ - seainf:"", // .bttp.ltdget.sdamod.seainf - dadsnd:"", // Drag Drop Sender .bttp.ltdget.sdamod.dadsnd - }, - }, - recget:{ - sdamod:{ - dadsnd:"", // Drag Drop Sender .bttp.recget.sdamod.dadsnd - seainf:"", // .bttp.recget.sdamod.seainf - }, - }, - aammod:{ - addamtflg:"", // Add. Amount .bttp.aammod.addamtflg - }, - prbp:{ - ptsget:{ - sdamod:{ - seainf:"", // .bttp.prbp.ptsget.sdamod.seainf - dadsnd:"", // Drag Drop Sender .bttp.prbp.ptsget.sdamod.dadsnd - }, - }, - }, - docgrdmbe1:{ - docdsclab:"", // Label of document description .bttp.docgrdmbe1.docdsclab - }, - docgrdmbe2:{ - docdsclab:"", // Label of document description .bttp.docgrdmbe2.docdsclab - }, - futhndflg:"", // further handling .bttp.futhndflg - }, - ltdgrp:{ - rec:{ - ownref:"", // Transfer Reference .ltdgrp.rec.ownref - nam:"", // Name .ltdgrp.rec.nam - avbby:"", // Available by .ltdgrp.rec.avbby - opndat:"", // Date Issued/Form .ltdgrp.rec.opndat - lcrtyp:"", // Date Issued/Form .ltdgrp.rec.lcrtyp - expdat:"", // Date / Place of Expiry .ltdgrp.rec.expdat - expplc:"", // Date / Place of Expiry .ltdgrp.rec.expplc - shpdat:"", // Shipment Date .ltdgrp.rec.shpdat - utlnbr:"", // Number of Utilizations .ltdgrp.rec.utlnbr - docsubflg:"", // Documents to be Substituted .ltdgrp.rec.docsubflg - }, - cbs:{ - nom1:{ - cur:"", // L/C Amount .ltdgrp.cbs.nom1.cur - amt:"", // Balance .ltdgrp.cbs.nom1.amt - }, - opn1:{ - cur:"", // Open Amount .ltdgrp.cbs.opn1.cur - amt:"", // Balance .ltdgrp.cbs.opn1.amt - }, - }, - avbnam:"", // Available with .ltdgrp.avbnam - }, - btdgrp:{ - be1:{ - pts:new Pts().data, - }, - be2:{ - pts:new Pts().data, - }, - prb:{ - pts:new Pts().data, - namelc:"", // 名称 .btdgrp.prb.namelc - adrelc:"", // 地址 .btdgrp.prb.adrelc - dbfadrblkcn:"", // Chinese address .btdgrp.prb.dbfadrblkcn - }, - rec:{ - ownref:"", // Document Set Ref. .btdgrp.rec.ownref - nam:"", // Description .btdgrp.rec.nam - doctypcod:"", // Document Type .btdgrp.rec.doctypcod - rcvdatbe2:"", // Received on (2nd Ben) .btdgrp.rec.rcvdatbe2 - orddatbe2:"", // Order Date 2nd Beneficiary .btdgrp.rec.orddatbe2 - matdat:"", // Maturity Date .btdgrp.rec.matdat - shpdat:"", // Date of Shipment .btdgrp.rec.shpdat - dscinsflg:"", // Enter Docs, Discrep. and Instructions .btdgrp.rec.dscinsflg - docprbrol:"", // Presented by .btdgrp.rec.docprbrol - docsta:"", // Document Set Status .btdgrp.rec.docsta - }, - cbs:{ - max:{ - cur:"", // Document Amount .btdgrp.cbs.max.cur - amt:"", // Document Amount .btdgrp.cbs.max.amt - }, - opn2:{ - cur:"", // 附加金额 .btdgrp.cbs.opn2.cur - }, - max2:{ - amt:"", // 附加金额 .btdgrp.cbs.max2.amt - }, - }, - blk:{ - matper:"", // Maturity Period .btdgrp.blk.matper - intdis:"", // Internal Discrepancies .btdgrp.blk.intdis - comcon:"", // Comments and Conclusions .btdgrp.blk.comcon - setinsbt:"", // Settlement Instructions transaction field .btdgrp.blk.setinsbt - docdis:"", // Discrepancies .btdgrp.blk.docdis - docdisflg:"", // discrepancies modified .btdgrp.blk.docdisflg - }, - }, - liaall:{ - misamt:"", // Amount not yet assigned .liaall.misamt - concur:"", // External Booking Amount .liaall.concur - outpct:"", // Sight Amount Percentage .liaall.outpct - outamt:"", // Sight Amount .liaall.outamt - exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt - exttotamt:"", // Total booking amount external assinged .liaall.exttotamt - }, - setmod:{ - docamttyplab:"", // settled amount description as label .setmod.docamttyplab - retmsg:"", // Label showing Retry overflow condition .setmod.retmsg - ref:"", // our reference .setmod.ref - doccur:"", // document currency .setmod.doccur - docamt:"", // document amount .setmod.docamt - dspflg:"", // Type of settlement .setmod.dspflg - xreflg:"", // Recalculate Rates .setmod.xreflg - setglg:{ - labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg - }, - zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab - zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc - }, - mtabut:{ - coninf:{ - oitinf:{ - labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt - oit:{ - inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt - inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev - }, - }, - oitset:{ - labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt - oit:{ - inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt - inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev - }, - }, - conexedat:"", // 执行日期 .mtabut.coninf.conexedat - usr:{ - extkey:"", // User ID .mtabut.coninf.usr.extkey - }, - }, - }, - trnmod:{ - trndoc:{ - advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel - amdnam:"", // AMDNAM .trnmod.trndoc.amdnam - advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc - advnam:"", // 国内证落款 .trnmod.trndoc.advnam - amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl - doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl - doctrestm:"", // Document tree .trnmod.trndoc.doctrestm - shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc - shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout - condocstm:"", // Connected Documents .trnmod.trndoc.condocstm - rcvatt:{ - seainf:"", // .trnmod.trndoc.rcvatt.seainf - }, - filrecv:"", // File Receiver .trnmod.trndoc.filrecv - }, - }, - pageId: "" // ctx的key - } - } + }, + }, + docgrdmbe1: { + docdsclab: "", // Label of document description .bttp.docgrdmbe1.docdsclab + docgrd: "", + }, + docgrdmbe2: { + docdsclab: "", // Label of document description .bttp.docgrdmbe2.docdsclab + docgrd: "", + }, + futhndflg: "", // further handling .bttp.futhndflg + }, + ltdgrp: { + rec: { + ownref: "", // Transfer Reference .ltdgrp.rec.ownref + nam: "", // Name .ltdgrp.rec.nam + avbby: "", // Available by .ltdgrp.rec.avbby + opndat: "", // Date Issued/Form .ltdgrp.rec.opndat + lcrtyp: "", // Date Issued/Form .ltdgrp.rec.lcrtyp + expdat: "", // Date / Place of Expiry .ltdgrp.rec.expdat + expplc: "", // Date / Place of Expiry .ltdgrp.rec.expplc + shpdat: "", // Shipment Date .ltdgrp.rec.shpdat + utlnbr: "", // Number of Utilizations .ltdgrp.rec.utlnbr + docsubflg: "", // Documents to be Substituted .ltdgrp.rec.docsubflg + }, + cbs: { + nom1: { + cur: "", // L/C Amount .ltdgrp.cbs.nom1.cur + amt: "", // Balance .ltdgrp.cbs.nom1.amt + }, + opn1: { + cur: "", // Open Amount .ltdgrp.cbs.opn1.cur + amt: "", // Balance .ltdgrp.cbs.opn1.amt + }, + }, + avbnam: "", // Available with .ltdgrp.avbnam + }, + btdgrp: { + be1: { + pts: new Pts().data, + }, + be2: { + pts: new Pts().data, + }, + prb: { + pts: new Pts().data, + namelc: "", // 名称 .btdgrp.prb.namelc + adrelc: "", // 地址 .btdgrp.prb.adrelc + dbfadrblkcn: "", // Chinese address .btdgrp.prb.dbfadrblkcn + }, + rec: { + ownref: "", // Document Set Ref. .btdgrp.rec.ownref + nam: "", // Description .btdgrp.rec.nam + doctypcod: "", // Document Type .btdgrp.rec.doctypcod + rcvdatbe2: "", // Received on (2nd Ben) .btdgrp.rec.rcvdatbe2 + orddatbe2: "", // Order Date 2nd Beneficiary .btdgrp.rec.orddatbe2 + matdat: "", // Maturity Date .btdgrp.rec.matdat + shpdat: "", // Date of Shipment .btdgrp.rec.shpdat + dscinsflg: "", // Enter Docs, Discrep. and Instructions .btdgrp.rec.dscinsflg + docprbrol: "", // Presented by .btdgrp.rec.docprbrol + docsta: "", // Document Set Status .btdgrp.rec.docsta + }, + cbs: { + max: { + cur: "", // Document Amount .btdgrp.cbs.max.cur + amt: "", // Document Amount .btdgrp.cbs.max.amt + }, + opn2: { + cur: "", // 附加金额 .btdgrp.cbs.opn2.cur + }, + max2: { + amt: "", // 附加金额 .btdgrp.cbs.max2.amt + }, + }, + blk: { + matper: "", // Maturity Period .btdgrp.blk.matper + intdis: "", // Internal Discrepancies .btdgrp.blk.intdis + comcon: "", // Comments and Conclusions .btdgrp.blk.comcon + setinsbt: "", // Settlement Instructions transaction field .btdgrp.blk.setinsbt + docdis: "", // Discrepancies .btdgrp.blk.docdis + docdisflg: "", // discrepancies modified .btdgrp.blk.docdisflg + }, + }, + pageId: "", // ctx的key + trnmod: new Pub().data.Trnmod, + setmod: new Pub().data.Setmod, + liaall: new Pub().data.Liaall, + mtabut: new Pub().data.Mtabut, + } + } } \ No newline at end of file diff --git a/src/views/Business/Infbed/Infsea.vue b/src/views/Business/Infbed/Infsea.vue index 81914dd..39ad76e 100644 --- a/src/views/Business/Infbed/Infsea.vue +++ b/src/views/Business/Infbed/Infsea.vue @@ -1,131 +1,265 @@ <template> <div class="eibs-tab"> - <!-- 持续展示区 --> - <c-list-search @form-reset="handleReset('paramsForm')" @form-search="handleSearch"> - <template v-slot="searchSlot"> - <el-form - class="m-table-search-form" - ref="paramsForm" - :inline="true" - label-position="right" - label-width="110px" - size="small" - :model="model" - > - <c-row> - <c-col :span="24"> - <c-col :span="8"> - <el-form-item label="Own Reference" prop="infcon.seaownref" style="width: 100%"> - <c-input v-model="model.infcon.seaownref" maxlength="16" placeholder="请输入Own Reference" style="width: 100%"></c-input> - </el-form-item> - </c-col> - <c-col :span="8"> - <el-form-item label="Opening between" prop="infcon.opndatfrom" style="width: 100%"> - <c-col :span="11"> - <c-date-picker type="date" v-model="model.infcon.opndatfrom" style="width:100%" placeholder="请选择"></c-date-picker> - </c-col> - <c-col :span="2" style="text-align: center"> - <label style="display: inline-block; width: 100%">-</label> - </c-col> - <c-col :span="11"> - <c-date-picker type="date" v-model="model.infcon.opndatto" style="width:100%" placeholder="请选择"></c-date-picker> - </c-col> - </el-form-item> - </c-col> - <c-col :span="8"> - <el-form-item label="Name" prop="infcon.nam" style="width: 100%"> - <c-input v-model="model.infcon.nam" maxlength="40" placeholder="请输入Name"></c-input> - </el-form-item> - </c-col> - </c-col> - </c-row> + <!-- 持续展示区 --> + <c-list-search + @form-reset="handleReset('paramsForm')" + @form-search="handleSearch" + > + <template v-slot="searchSlot"> + <el-form + class="m-table-search-form" + ref="paramsForm" + :inline="true" + label-position="right" + label-width="110px" + size="small" + :model="model" + > + <c-row> + <c-col :span="24"> + <c-col :span="8"> + <el-form-item + label="Own Reference" + prop="infcon.seaownref" + style="width: 100%" + > + <c-input + v-model="model.infcon.seaownref" + maxlength="16" + placeholder="请输入Own Reference" + style="width: 100%" + ></c-input> + </el-form-item> + </c-col> + <c-col :span="8"> + <el-form-item + label="Opening between" + prop="infcon.opndatfrom" + style="width: 100%" + > + <c-col :span="11"> + <c-date-picker + type="date" + v-model="model.infcon.opndatfrom" + style="width: 100%" + placeholder="请选择" + ></c-date-picker> + </c-col> + <c-col :span="2" style="text-align: center"> + <label style="display: inline-block; width: 100%">-</label> + </c-col> + <c-col :span="11"> + <c-date-picker + type="date" + v-model="model.infcon.opndatto" + style="width: 100%" + placeholder="请选择" + ></c-date-picker> + </c-col> + </el-form-item> + </c-col> + <c-col :span="8"> + <el-form-item + label="Name" + prop="infcon.nam" + style="width: 100%" + > + <c-input + v-model="model.infcon.nam" + maxlength="40" + placeholder="请输入Name" + ></c-input> + </el-form-item> + </c-col> + </c-col> + </c-row> - <!-- 可控展示区 --> - <c-row v-show="searchSlot.searchToggle"> - <c-col :span="24"> - <c-col :span="8"> - <el-form-item label="Party Reference" prop="infcon.searef" style="width: 100%"> - <c-input v-model="model.infcon.searef" maxlength="16" placeholder="请输入Party Reference" style="width: 100%"></c-input> - </el-form-item> - </c-col> - <c-col :span="8"> - <el-form-item label="Party Name" prop="infcon.pty.nam" style="width: 100%"> - <c-input disabled v-model="model.infcon.pty.nam" maxlength="40" placeholder="请输入Party Name" style="width: 100%"></c-input> - </el-form-item> - </c-col> - <c-col :span="8"> - <el-form-item label="Sel Single Party" prop="infcon.pty.extkey" style="width: 100%"> - <c-input v-model="model.infcon.pty.extkey" maxlength="24" placeholder="请输入Select Single Party"></c-input> - </el-form-item> - </c-col> - </c-col> + <!-- 可控展示区 --> + <c-row v-show="searchSlot.searchToggle"> + <c-col :span="24"> + <c-col :span="8"> + <el-form-item + label="Party Reference" + prop="infcon.searef" + style="width: 100%" + > + <c-input + v-model="model.infcon.searef" + maxlength="16" + placeholder="请输入Party Reference" + style="width: 100%" + ></c-input> + </el-form-item> + </c-col> + <c-col :span="8"> + <el-form-item + label="Party Name" + prop="infcon.pty.nam" + style="width: 100%" + > + <c-input + disabled + v-model="model.infcon.pty.nam" + maxlength="40" + placeholder="请输入Party Name" + style="width: 100%" + ></c-input> + </el-form-item> + </c-col> + <c-col :span="8"> + <el-form-item + label="Sel Single Party" + prop="infcon.pty.extkey" + style="width: 100%" + > + <c-input + v-model="model.infcon.pty.extkey" + maxlength="24" + placeholder="请输入Select Single Party" + ></c-input> + </el-form-item> + </c-col> + </c-col> - <c-col :span="24"> - <c-col :span="8"> - <el-form-item label="Party Name/BIC" prop="infcon.seapty" style="width: 100%"> - <c-input v-model="model.infcon.seapty" maxlength="24" placeholder="请输入Party Name/BIC"></c-input> - </el-form-item> - </c-col> - <c-col :span="8"> - <el-form-item label="Resp.User" prop="infcon.usr.extkey" style="width: 100%"> - <c-input v-model="model.infcon.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input> - </el-form-item> - </c-col> - <c-col :span="8"> - <el-form-item label="Role" prop="infcon.searol" style="width: 100%"> - <c-select v-model="model.infcon.searol" style="width:100%" placeholder="请选择Role" :code="codes.rolall"></c-select> - </el-form-item> - </c-col> - </c-col> + <c-col :span="24"> + <c-col :span="8"> + <el-form-item + label="Party Name/BIC" + prop="infcon.seapty" + style="width: 100%" + > + <c-input + v-model="model.infcon.seapty" + maxlength="24" + placeholder="请输入Party Name/BIC" + ></c-input> + </el-form-item> + </c-col> + <c-col :span="8"> + <el-form-item + label="Resp.User" + prop="infcon.usr.extkey" + style="width: 100%" + > + <c-input + v-model="model.infcon.usr.extkey" + maxlength="8" + placeholder="请输入User ID" + disabled + ></c-input> + </el-form-item> + </c-col> + <c-col :span="8"> + <el-form-item + label="Role" + prop="infcon.searol" + style="width: 100%" + > + <c-select + v-model="model.infcon.searol" + style="width: 100%" + placeholder="请选择Role" + :code="codes.rolall" + ></c-select> + </el-form-item> + </c-col> + </c-col> + + <c-col :span="24"> + <c-col :span="8"> + <el-form-item + label="Status" + prop="infcon.seasta" + style="width: 100%" + > + <c-select + v-model="model.infcon.seasta" + style="width: 100%" + placeholder="请选择Status" + :code="codes.seasta" + ></c-select> + </el-form-item> + </c-col> + <c-col :span="8"> + <el-form-item + label="Currency" + prop="infcon.seacur" + style="width: 100%" + > + <c-select + v-model="model.infcon.seacur" + style="width: 100%" + placeholder="请选择Currency" + :code="codes.curtxt1" + ></c-select> + </el-form-item> + </c-col> + <c-col :span="8"> + <el-form-item + label="Amount between" + prop="infcon.seaamtfr" + style="width: 100%" + > + <c-col :span="11"> + <c-input-currency + v-model="model.infcon.seaamtfr" + placeholder="请输入Amount" + ></c-input-currency> + </c-col> + <c-col :span="2" style="text-align: center"> + <label style="display: inline-block; width: 100%">-</label> + </c-col> + <c-col :span="11"> + <c-input-currency + v-model="model.infcon.seaamtto" + placeholder="请输入Amount" + ></c-input-currency> + </c-col> + </el-form-item> + </c-col> + </c-col> - <c-col :span="24"> - <c-col :span="8"> - <el-form-item label="Status" prop="infcon.seasta" style="width: 100%"> - <c-select v-model="model.infcon.seasta" style="width:100%" placeholder="请选择Status" :code="codes.seasta"></c-select> - </el-form-item> - </c-col> - <c-col :span="8"> - <el-form-item label="Currency" prop="infcon.seacur" style="width: 100%"> - <c-select v-model="model.infcon.seacur" style="width:100%" placeholder="请选择Currency" :code="codes.cur"></c-select> - </el-form-item> - </c-col> - <c-col :span="8"> - <el-form-item label="Amount between" prop="infcon.seaamtfr" style="width: 100%"> - <c-col :span="11"> - <c-input-currency v-model="model.infcon.seaamtfr" placeholder="请输入Amount"></c-input-currency> - </c-col> - <c-col :span="2" style="text-align: center"> - <label style="display: inline-block; width: 100%">-</label> - </c-col> - <c-col :span="11"> - <c-input-currency v-model="model.infcon.seaamtto" placeholder="请输入Amount"></c-input-currency> - </c-col> - </el-form-item> - </c-col> - </c-col> + <c-col :span="24"> + <c-col :span="8"> + <el-form-item + label="Document Type" + prop="seadoctypcod" + style="width: 100%" + > + <c-select + v-model="model.seadoctypcod" + style="width: 100%" + placeholder="请选择Document Type" + :code="codes.docflg" + ></c-select> + </el-form-item> + </c-col> + <c-col :span="8"> + <el-form-item + label="Invoice No." + prop="infcon.invnum" + style="width: 100%" + > + <c-input + v-model="model.infcon.invnum" + maxlength="16" + placeholder="请输入Invoice No." + ></c-input> + </el-form-item> + </c-col> + <c-col :span="8"> + <el-form-item label="" prop="infcon.forflg" label-width="20px" style="margin-left:110px;"> + <c-checkbox v-model="model.infcon.forflg" + >转卖单据</c-checkbox + > + </el-form-item> + </c-col> + </c-col> + </c-row> + </el-form> + </template> - <c-col :span="24"> - <c-col :span="8"> - <el-form-item label="Document Type" prop="seadoctypcod" style="width: 100%"> - <c-select v-model="model.seadoctypcod" style="width:100%" placeholder="请选择Document Type" :code="codes.seadoctypcod"></c-select> - </el-form-item> - </c-col> - <c-col :span="8"> - <el-form-item label="Invoice No." prop="infcon.invnum" style="width: 100%"> - <c-input v-model="model.infcon.invnum" maxlength="16" placeholder="请输入Invoice No."></c-input> - </el-form-item> - </c-col> - <c-col :span="6" :offset="2"> - <el-form-item label="" prop="infcon.forflg" label-width="20px"> - <c-checkbox v-model="model.infcon.forflg">转卖单据</c-checkbox> - </el-form-item> - </c-col> - </c-col> - </c-row> - </el-form> - </template> - - <!-- <c-col :span="6"> + <!-- <c-col :span="6"> <el-form-item label="Release Status" prop="infcon.relflg"> <c-select v-model="model.infcon.relflg" style="width:100%" placeholder="请选择Release Status"> </c-select> @@ -139,13 +273,12 @@ </el-form-item> </c-col> --> - <!-- <c-col :span="6"> + <!-- <c-col :span="6"> <el-form-item label="是否显示查询码" prop="infcon.cxmflg"> <c-select v-model="model.infcon.cxmflg" style="width:100%" placeholder="请选择是否显示查询码"> </c-select> </el-form-item> </c-col> --> - </c-list-search> <!-- <c-row style="margin-top:20px; padding: 0 10px 0 10px;"> @@ -159,34 +292,42 @@ <el-row> <c-col :span="24"> <c-istream-table :list="stmData.data" :columns="stmData.columns"> - <el-table-column - fixed="right" - prop="op" - label="操作" - width="150px" - > - <template slot="header"> - <c-col :span="11" style="text-align:left"><span>操作</span></c-col> - <c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col> + <el-table-column fixed="right" prop="op" label="操作" width="150px"> + <template slot="header"> + <c-col :span="11" style="text-align: left" + ><span>操作</span></c-col + > + <c-col :span="12" style="text-align: right" + ><c-button icon="el-icon-s-tools"></c-button + ></c-col> </template> <template slot-scope="scope"> - <!-- <c-button style="margin-left: 0" size="small" > 详情 </c-button> --> - <el-popover + <el-popover placement="top-start" title="历史信息" width="800" trigger="click" :ref="'popover_' + scope.row.IDX" > - <div style="text-align: right; margin-top: -30px; margin-right: 5px; font-size: 16px;"> - <span class="el-icon-close" @click="closeTrn('popover_' + scope.row.IDX)"/> - </div> + <div + style=" + text-align: right; + margin-top: -30px; + margin-right: 5px; + font-size: 16px; + " + > + <span + class="el-icon-close" + @click="closeTrn('popover_' + scope.row.IDX)" + /> + </div> <c-istream-table :list="trnData.data" :columns="trnData.columns" @@ -237,144 +378,178 @@ </c-col> </el-row> - <m-busbtn ref="childs" :ownref="ownref" trnCode="letsel" ownrefPath="bedgrp" tabIndex=3 :model="letselModel" @onChoose="onChoose" >11</m-busbtn> - + <m-busbtn + ref="childs" + :ownref="ownref" + trnCode="letsel" + ownrefPath="bedgrp" + tabIndex="3" + :model="letselModel" + @onChoose="onChoose" + >11</m-busbtn + > </div> </template> <script> -import Api from "~/service/Api" +import Api from "~/service/Api"; import commonProcess from "~/mixin/commonProcess"; -import CodeTable from "~/config/CodeTable" -import Event from "~/model/Infbed/Event" +import CodeTable from "~/config/CodeTable"; +import Event from "~/model/Infbed/Event"; -import LetselModel from "~/model/Letsel" +import LetselModel from "~/model/Letsel"; import BusNavbar from "~/views/Public/BusNavbar"; export default { - inject: ['root'], - props:["model","codes"], - mixins: [commonProcess], - components:{'m-busbtn':BusNavbar}, - data(){ - return { - letselModel: new LetselModel().data, - ownref:"", - trnData: { - columns: [ - '1 1 "编号" 200', - '2 2 "交易名称" 100', - '3 3 "日期" 200', - '4 4 "状态" 50', - '5 5 "币种" 80', - '6 6 "金额" 80', - ], - data: [], - }, - stmData: { - columns: [ - '1 14 \"转卖日期\" 133 4 7', - '2 1 \"Reference\" 100', - '3 2 \"Resp. User\" 100', - '4 3 \"Invoice No.\" 100', - '5 15 \"Opened\" 500 4 7', - '6 16 \"Closed\" 500 4 7', - '7 4 \"Party Number\" 133', - '8 5 \"Applicant\" 133', - '9 6 \"PTA NO.\" 410', - '10 7 \"Party Number\" 133', - '11 8 \"Beneficiary\" 133', - '12 9 \"Beneficiary CN\" 133', - '13 10 \"Party Number\" 133', - '14 11 \"Issuing Bank\" 133', - '15 12 \"Party Number\" 133', - '16 13 \"Purchasing bank\" 133', - '17 17 \"Cur\" 410', - '18 19 \"Doc.Amount\" 508 2 8 1 17', - '19 18 \"Cur\" 410', - '20 20 \"Open Amount\" 508 2 8 1 19', + inject: ["root"], + props: ["model", "codes"], + mixins: [commonProcess], + components: { "m-busbtn": BusNavbar }, + data() { + return { + letselModel: new LetselModel().data, + ownref: "", + trnData: { + columns: [ + // '0 7 "Trn ID" 80', + // '1 1 "Transaction Name" 250', + // '2 2 "Entry" 100 4 7', + // // '3 3 \"Status\" 80 1 0 1 RELSTA', + // { + // index: 3, + // position: 3, + // width: 80, + // pattern: "code", + // label: "Status", + // code: this.codes.relstaEN, + // }, + // '4 4 "Cur." 50', + // '5 5 "Relevant Amount" 150 2 8 1 4', + // '6 6 "Signed" 80', - // '1 1 "Reference" 100', - // '2 1 "Resp. User" 100', - // '3 1 "Invoice No." 100', - // '1 2 "Party Number" 133', - // '2 2 "Applicant" 133', - // '3 2 "PTA NO." 0', - // '1 3 "Party Number" 133', - // '2 3 "Beneficiary" 133', - // '3 3 "Beneficiary CN" 133', - // '1 4 "Party Number" 133', - // '2 4 "Issuing Bank" 133', - // '1 5 "Party Number" 133', - // '2 5 "Purchasing bank" 133', - // '3 5 "转卖日期" 133', - // '1 6 "Opened" 0', - // '2 6 "Closed" 0', - // '1 7 "Cur" 0', - // '2 7 "Cur" 0', - // '1 8 "Doc.Amount" 0', - // '2 8 "Open Amount"0' - - // '1 14 "转卖日期" 133', - // '2 1 "Reference" 100', - // '3 2 "Resp. User" 100', - // '4 3 "Invoice No." 100', - // '5 15 "Opened" 0', - // '6 16 "Closed" 0', - // '7 4 "Party Number" 133', - // '8 5 "Applicant" 133', - // '9 6 "PTA NO." 0', - // '10 7 "Party Number1" 133', - // '11 8 "Beneficiary" 133', - // '12 9 "Beneficiary CN" 133', - // '13 10 "Party Number2" 133', - // '14 11 "Issuing Bank" 133', - // '15 12 "Party Number3" 133', - // '16 13 "Purchasing bank" 133', - // '17 17 "Cur" 0', - // '18 19 "Doc.Amount" 0', - // '19 18 "Cur" 0', - // '20 20 "Open Amount"0' - ], - data: [], + '0 8 "Trn ID" 100', + '1 1 "Reference" 150', + '2 2 "Transaction Name" 195', + '3 3 "Entry" 80 4 7', + // '4 4 "Status" 65 1 0 1 RELSTA', + { + index: 4, + position: 4, + width: 100, + pattern: "code", + label: "Status", + code: this.codes.relstaEN, }, - }; - }, - methods:{...Event, - async getButtons(ownref){ - this.ownref = ownref - this.$refs.childs.initdialog = true - console.log("ownref:" +ownref); + '5 5 "Cur." 80', + '6 6 "Relevant Amount" 150 2 8 1 5', + '7 7 "Signed" 100', + ], + + data: [], }, - async onChoose(code){ - //跳转交易 - this.$router.history.push("/business/" + code) - this.$refs.childs.initdialog = false - } , - async getDitSelInfo(code){ - //跳转交易 - this.$router.history.push("/business/" + code) - this.initdialog = false - }, - closeTrn(refId){ - this.$refs[refId].doClose(); - }, - async getTrnInfo(idx, row) { + stmData: { + columns: [ + '1 14 "转卖日期" 150', + '2 1 "Reference" 150', + '3 2 "Resp. User" 150', + '4 3 "Invoice No." 150', + '5 15 "Opened" 150', + '6 16 "Closed" 150', + '7 4 "Applicant Party Number" 200', + '8 5 "Applicant" 150', + '9 6 "PTA NO." 150', + '10 7 "Beneficiary Party Number" 200', + '11 8 "Beneficiary" 150', + '12 9 "Beneficiary CN" 150', + '13 10 "Issuing Party Number" 200', + '14 11 "Issuing Bank" 150', + '15 12 "Party Number" 150', + '16 13 "Purchasing bank" 150', + '17 17 "Cur" 150', + '18 19 "Doc.Amount" 150', + '19 18 "Cur" 150', + '20 20 "Open Amount" 150', - this.model.infcon.objinr = row["INR"]; - this.model.ledgrp.rec.inr = row["INR"]; - this.model.infcon.chksubcon = "X"; + // '1 1 "Reference" 100', + // '2 1 "Resp. User" 100', + // '3 1 "Invoice No." 100', + // '1 2 "Party Number" 133', + // '2 2 "Applicant" 133', + // '3 2 "PTA NO." 0', + // '1 3 "Party Number" 133', + // '2 3 "Beneficiary" 133', + // '3 3 "Beneficiary CN" 133', + // '1 4 "Party Number" 133', + // '2 4 "Issuing Bank" 133', + // '1 5 "Party Number" 133', + // '2 5 "Purchasing bank" 133', + // '3 5 "转卖日期" 133', + // '1 6 "Opened" 0', + // '2 6 "Closed" 0', + // '1 7 "Cur" 0', + // '2 7 "Cur" 0', + // '1 8 "Doc.Amount" 0', + // '2 8 "Open Amount"0' - this.dialogTableVisible = true; - let rtnmsg = await this.executeDefault("infcon.chksubcon"); + // '1 14 "转卖日期" 133', + // '2 1 "Reference" 100', + // '3 2 "Resp. User" 100', + // '4 3 "Invoice No." 100', + // '5 15 "Opened" 0', + // '6 16 "Closed" 0', + // '7 4 "Party Number" 133', + // '8 5 "Applicant" 133', + // '9 6 "PTA NO." 0', + // '10 7 "Party Number1" 133', + // '11 8 "Beneficiary" 133', + // '12 9 "Beneficiary CN" 133', + // '13 10 "Party Number2" 133', + // '14 11 "Issuing Bank" 133', + // '15 12 "Party Number3" 133', + // '16 13 "Purchasing bank" 133', + // '17 17 "Cur" 0', + // '18 19 "Doc.Amount" 0', + // '19 18 "Cur" 0', + // '20 20 "Open Amount"0' + ], + data: [], + }, + }; + }, + methods: { + ...Event, + async getButtons(ownref) { + this.ownref = ownref; + this.$refs.childs.initdialog = true; + console.log("ownref:" + ownref); + }, + async onChoose(code) { + //跳转交易 + this.$router.history.push("/business/" + code); + this.$refs.childs.initdialog = false; + }, + async getDitSelInfo(code) { + //跳转交易 + this.$router.history.push("/business/" + code); + this.initdialog = false; + }, + closeTrn(refId) { + this.$refs[refId].doClose(); + }, + async getTrnInfo(idx, row) { + this.model.infcon.objinr = row["INR"]; + this.model.ledgrp.rec.inr = row["INR"]; + this.model.infcon.chksubcon = "X"; + + this.dialogTableVisible = true; + let rtnmsg = await this.executeDefault("infcon.chksubcon"); - if ((rtnmsg.respCode = SUCCESS)) { - this.trnData.data = rtnmsg.data.infcon_trnstm.rows; - } - }, - }, - created: function () {}, + if ((rtnmsg.respCode = SUCCESS)) { + this.trnData.data = rtnmsg.data.infcon_trnstm.rows; + } + }, + }, + created: function () {}, }; </script> <style> - </style> diff --git a/src/views/Business/Infbed/index.vue b/src/views/Business/Infbed/index.vue index 9f8b06b..0df564d 100644 --- a/src/views/Business/Infbed/index.vue +++ b/src/views/Business/Infbed/index.vue @@ -12,11 +12,11 @@ > <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick" class="infbedTab"> - <!-- <el-tab-pane label="选择" name="infsea"> --> - <!-- <c-content> --> + <el-tab-pane label="出口信用证单据查询" name="infsea"> + <c-content> <m-infsea :model="model" :codes="codes"/> - <!-- </c-content> --> - <!-- </el-tab-pane> --> + </c-content> + </el-tab-pane> <!-- <el-tab-pane label="内容" name="ovwp"> <c-content> diff --git a/src/views/Business/Infled/Infsea.vue b/src/views/Business/Infled/Infsea.vue index 98467ec..4e43855 100644 --- a/src/views/Business/Infled/Infsea.vue +++ b/src/views/Business/Infled/Infsea.vue @@ -1,6 +1,9 @@ <template> <div class="eibs-tab"> - <c-list-search @form-reset="handleReset('paramsForm')" @form-search="handleSearch"> + <c-list-search + @form-reset="handleReset('paramsForm')" + @form-search="handleSearch" + > <template v-slot="searchSlot"> <el-form class="m-table-search-form" @@ -14,7 +17,7 @@ <el-row> <c-col :span="8"> <el-form-item - label="业务编号" + label="Own Reference" prop="infcon.seaownref" style="width: 100%" > @@ -28,7 +31,7 @@ <c-col :span="8"> <el-form-item - label="开立日期" + label="Opening Date" prop="infcon.opndatfrom" style="width: 100%" > @@ -56,11 +59,7 @@ </el-form-item> </c-col> <c-col :span="8"> - <el-form-item - label="业务主题" - prop="infcon.nam" - style="width: 100%" - > + <el-form-item label="Name" prop="infcon.nam" style="width: 100%"> <c-input v-model="model.infcon.nam" maxlength="40" @@ -83,14 +82,22 @@ </c-col>--> <el-row v-show="searchSlot.searchToggle"> - <!--<c-col :span="12"> - <el-form-item label="Party Reference" prop="infcon.searef" > - <c-input v-model="model.infcon.searef" maxlength="16" placeholder="请输入Party Reference" ></c-input> - </el-form-item> - </c-col>--> - <c-col :span="8"> <el-form-item + label="Party Reference" + prop="infcon.searef" + style="width: 100%" + > + <c-input + v-model="model.infcon.searef" + maxlength="16" + placeholder="请输入Party Reference" + ></c-input> + </el-form-item> + </c-col> + + <!-- <c-col :span="8"> + <el-form-item label="复核状态" prop="infcon.relflg" style="width: 100%" @@ -109,7 +116,7 @@ </el-option> </c-select> </el-form-item> - </c-col> + </c-col> --> <!--<c-col :span="12"> <el-form-item label="Handling Type" v-show ="false" prop="infcon.hndtyp" > @@ -125,37 +132,70 @@ </el-form-item> </c-col>--> - <!--<c-col :span="12"> - <el-form-item label="Select Single Party" prop="infcon.pty.extkey" > - <c-input v-model="model.infcon.pty.extkey" maxlength="24" placeholder="请输入Select Single Party" ></c-input> - </el-form-item> - </c-col> - - <c-col :span="12"> - <el-form-item label="Party Name" prop="infcon.pty.nam" > - <c-input v-model="model.infcon.pty.nam" maxlength="40" placeholder="请输入Party Name" ></c-input> - </el-form-item> - </c-col> + <c-col :span="8"> + <el-form-item + label="Select Single Party" + prop="infcon.pty.extkey" + style="width: 100%" + > + <c-input + v-model="model.infcon.pty.extkey" + maxlength="24" + placeholder="请输入Select Single Party" + ></c-input> + </el-form-item> + </c-col> - <c-col :span="12"> - <el-form-item label="Party Name/BIC" prop="infcon.seapty" > - <c-input v-model="model.infcon.seapty" maxlength="24" placeholder="请输入Party Name/BIC"></c-input> - </el-form-item> - </c-col> - - <c-col :span="12"> - <el-form-item label="Role" prop="infcon.searol" > - <c-select v-model="model.infcon.searol" style="width:100%" placeholder="请选择Role"> - <el-option - v-for="item in codes.searol" - :key="item.value" - :label="item.label" - :value="item.value" - > - </el-option> - </c-select> - </el-form-item> - </c-col>--> + <c-col :span="8"> + <el-form-item + label="Party Name" + prop="infcon.pty.nam" + style="width: 100%" + > + <c-input + v-model="model.infcon.pty.nam" + maxlength="40" + placeholder="请输入Party Name" + disabled + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="8"> + <el-form-item + label="Party Name/BIC" + prop="infcon.seapty" + style="width: 100%" + > + <c-input + v-model="model.infcon.seapty" + maxlength="24" + placeholder="请输入Party Name/BIC" + ></c-input> + </el-form-item> + </c-col> + + <c-col :span="8"> + <el-form-item + label="Role" + prop="infcon.searol" + style="width: 100%" + > + <c-select + v-model="model.infcon.searol" + style="width: 100%" + placeholder="请选择Role" + > + <el-option + v-for="item in codes.searol1" + :key="item.value" + :label="item.label" + :value="item.value" + > + </el-option> + </c-select> + </el-form-item> + </c-col> <!--<c-col :span="12"> <el-form-item label="Opening between" prop="infcon.opndatfrom" > @@ -169,15 +209,25 @@ </el-form-item> </c-col>--> - <!--<c-col :span="12"> - <el-form-item label="Resp.User" disabled prop="infcon.usr.extkey" > - <c-input v-model="model.infcon.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input> - </el-form-item> - </c-col>--> + <c-col :span="8"> + <el-form-item + label="Resp.User" + disabled + prop="infcon.usr.extkey" + style="width: 100%" + > + <c-input + v-model="model.infcon.usr.extkey" + maxlength="8" + placeholder="请输入User ID" + disabled + ></c-input> + </el-form-item> + </c-col> <c-col :span="8"> <el-form-item - label="业务状态" + label="Status" prop="infcon.seasta" style="width: 100%" > @@ -199,7 +249,7 @@ <c-col :span="8"> <el-form-item - label="币种" + label="Currency" prop="infcon.seacur" style="width: 100%" > @@ -209,7 +259,7 @@ placeholder="请选择Currency" > <el-option - v-for="item in codes.seacur" + v-for="item in codes.curtxt1" :key="item.value" :label="item.label" :value="item.value" @@ -220,7 +270,7 @@ </c-col> <c-col :span="8"> - <el-form-item label="金额" style="width: 100%"> + <el-form-item label="Amount" style="width: 100%"> <c-col :span="11"> <c-input v-model="model.infcon.seaamtfr" @@ -241,7 +291,7 @@ </el-form-item> </c-col> - <c-col :span="8"> + <!-- <c-col :span="8"> <el-form-item label="是否显示查询码" prop="infcon.cxmflg" @@ -261,9 +311,9 @@ </el-option> </c-select> </el-form-item> - </c-col> + </c-col> --> - <c-col :span="8"> + <!-- <c-col :span="8"> <el-form-item label="确认状态" prop="seacnfdet" @@ -283,17 +333,17 @@ </el-option> </c-select> </el-form-item> - </c-col> + </c-col> --> <c-col :span="8"> <el-form-item - label="信用证类型" + label="form of L/C" prop="sealcrtyp" style="width: 100%" > <c-select v-model="model.sealcrtyp" - :code="codes.lcrtyp" + :code="codes.lcrtyp1" style="width: 100%" placeholder="请选择form of L/C" > @@ -301,7 +351,7 @@ </el-form-item> </c-col> - <c-col :span="8"> + <!-- <c-col :span="8"> <el-form-item label="货物种类" prop="seagodcod" @@ -321,7 +371,7 @@ </el-option> </c-select> </el-form-item> - </c-col> + </c-col> --> </el-row> </el-form> </template> @@ -469,9 +519,15 @@ </c-istream-table> </c-col> - <m-busbtn ref="childs" :ownref="ownref" trnCode="letsel" ownrefPath="ledgrp" :model="letselModel" @onChoose="onChoose" - >11</m-busbtn - > + <m-busbtn + ref="childs" + :ownref="ownref" + trnCode="letsel" + ownrefPath="ledgrp" + :model="letselModel" + @onChoose="onChoose" + >11</m-busbtn + > </div> </template> <script> @@ -480,7 +536,7 @@ import Api from "~/service/Api"; import commonProcess from "~/mixin/commonProcess"; import CodeTable from "~/config/CodeTable"; import Event from "~/model/Infled/Event"; -import LetselModel from "~/model/Letsel" +import LetselModel from "~/model/Letsel"; import BusNavbar from "~/views/Public/BusNavbar"; export default { @@ -490,128 +546,157 @@ export default { components: { "m-busbtn": BusNavbar }, data() { return { - letselModel:new LetselModel().data, - curinr:"", + letselModel: new LetselModel().data, + curinr: "", ownref: "", dialogTableVisible: false, trnData: { columns: [ - '0 7 \"Trn ID\" 56', - '1 1 \"Transaction Name\" 250', - '2 2 \"Entry\" 72 4 7', - '3 3 \"Status\" 80 1 0 1 RELSTA', - '4 4 \"Cur.\" 40', - '5 5 \"Relevant Amount\" 120 2 8 1 4', - '6 6 \"Signed\" 60', - - // '1 1 "编号" 200', - // '2 2 "交易名称" 120', - // // '3 3 "日期" 200', - // { index: 3, position: 3, width: 110, pattern: "date", label: "日期" }, - // // '4 4 "状态" 50', - // { - // index: 4, - // position: 4, - // width: 100, - // pattern: "code", - // label: "状态", - // code: this.codes.relstaEN, - // }, - // '5 5 "币种" 80', - // '6 6 "金额" 110', + '0 7 "Trn ID" 100', + '1 1 "Transaction Name" 250', + '2 2 "Entry" 100 4 7', + // '3 3 \"Status\" 80 1 0 1 RELSTA', + { + index: 3, + position: 3, + width: 100, + pattern: "code", + label: "Status", + code: this.codes.relstaEN, + }, + '4 4 "Cur." 80', + '5 5 "Relevant Amount" 150 2 8 1 4', + '6 6 "Signed" 100', + + // '1 1 "编号" 200', + // '2 2 "交易名称" 120', + // // '3 3 "日期" 200', + // { index: 3, position: 3, width: 110, pattern: "date", label: "日期" }, + // // '4 4 "状态" 50', + // { + // index: 4, + // position: 4, + // width: 100, + // pattern: "code", + // label: "状态", + // code: this.codes.relstaEN, + // }, + // '5 5 "币种" 80', + // '6 6 "金额" 110', ], data: [], }, stmData: { columns: [ - '1 1 \"Reference\" 105', - '2 2 \"Resp. User\" 105', - '3 3 \"Tenor day\" 105 0', - '4 4 \"Party Number\" 500 4 7', - '5 14 \"Expired\" 500 4 7', - '6 15 \"Closed\" 500 4 7', - '7 11 \"Issuing Bank\" 136', - '8 5 \"Applicant\" 410', - '9 6 \"PTA NO.\" 136', - '10 7 \"Party Number\" 100', - '11 8 \"Beneficiary\" 410', - '12 9 \"Beneficiary CN\" 136', - '13 10 \"Party Number\" 136', - '14 12 \"分行名称\" 410', - '15 13 \"Opened\" 136', - '16 16 \"cur\" 410', - '17 17 \"cur\" 508 2 8 1 16', - '18 18 \"L/C Amount\" 410', - '19 19 \"Open Amount\" 508 2 8 1 18', - // '1 1 \"Reference\" 105', - // '2 2 \"Resp. User\" 105', - // '3 3 \"Tenor day\" 105 0', - // '4 4 \"Party Number\" 500 4 7', - // '5 14 \"Expired\" 500 4 7', - // '6 15 \"Closed\" 500 4 7', - // '7 11 \"Issuing Bank\" 136', - // '8 5 \"Applicant\" 410', - // '9 6 \"PTA NO.\" 136', - // '10 7 \"Party Number\" 100', - // '11 8 \"Beneficiary\" 410', - // '12 9 \"Beneficiary CN\" 136', - // '13 10 \"Party Number\" 136', - // '14 12 \"分行名称\" 410', - // '15 13 \"Opened\" 136', - // '16 16 \"cur\" 410', - // '17 17 \"cur\" 508 2 8 1 16', - // '18 18 \"L/C Amount\" 410', - // '19 19 \"Open Amount\" 508 2 8 1 18', - - // '1 1 \"Party Number\" 105', - // '2 2 \"Applicant\" 105', - // '3 3 \"PTA NO.\" 105 0', - // '4 4 \"Party Number\" 500 4 7', - // '5 14 \"Beneficiary\" 500 4 7', - // '6 15 \"Beneficiary CN\" 500 4 7', - // '7 11 \"Issuing Bank\" 136', - // '8 5 \"Cur\" 410', - // '9 6 \"L/C Amount\" 136', - // '10 7 \"Cur\" 100', - // '11 8 \"Open Amount\" 410', - // '12 9 \"???CT000288???\" 136', - // '13 10 \"???CT000296???\" 136', - // '14 12 \"???CT000297???\" 410', - // '15 13 \"???CT000298???\" 136', - // '16 16 \"???CT000299???\" 410', - // '17 18 \"???CT000300???\" 508 2 8 1 16', - // '18 17 \"???CT000301???\" 410', - // '19 19 \"???CT000302???\" 508 2 8 1 18', - - // '1 1 "Reference" 120', - // '2 2 "Resp. User" 100', - // '3 3 "Tenor day" 100 ', - // '4 4 "Goods Code" 100 ', - // '5 13 "Opened" 500 4 7', - // '6 14 "Expired" 500 4 7', - // '7 15 "Closed" 500 4 7', - // '8 17 "分行名称" 136', - // '9 16 "PTA NO." 410', - // '10 5 "Party Number" 191', - // '11 8 "Applicant" 191', - // '12 9 "Applicant CN" 191', - // '13 11 "Advising Bank BIC" 165', - // '14 10 "Party Number" 165', - // '15 12 "Beneficiary" 165', - // '16 6 "Cur" 80', - // '17 7 "L/C Amount" 110 2 8 1 16', - // '18 18 "Cur" 410', - // '19 19 "Open Amount" 110 2 8 1 18', - // '1 1 "Reference" 130 200', - // "2 2 \"经办柜员\" 90 80", - // "5 5 \"开立日期\" 180 300", - // "6 6 \"到期日\" 180 250", - // "8 7 \"分行名称\" 150 300", - // "9 8 \"申请人编号\" 150 200", - // "11 9 \"申请人名称\" 150 300", - // "15 10 \"受益人名称\" 150 300", - // "16 3 \"开立币种\" 90 80", - // "17 4 \"开立金额\" 90 80", + '1 1 "Reference" 150', + '2 2 "Resp. User" 150', + '3 3 "Tenor day" 150', + '4 14 "Expired" 150', + '5 13 "Opened" 150', + '6 15 "Closed" 150', + '7 12 "分行名称" 150', + '8 4 "Applicant Party Number" 200', + '9 5 "Applicant" 150', + '10 6 "PTA NO." 150', + '11 7 "Beneficiary Party Number" 200', + '12 8 "Beneficiary" 150', + '13 9 "Beneficiary CN" 150', + '14 10 "Issuing Party Number" 200', + '15 11 "Issuing Bank" 150', + '16 16 "cur" 150', + '17 18 "L/C Amount" 150', + '18 17 "cur" 150', + '19 19 "Open Amount" 150', + + // '1 1 \"Reference\" 105', + // '2 2 \"Resp. User\" 105', + // '3 3 \"Tenor day\" 105 0', + // '7 4 \"Party Number\" 500 4 7', + // '5 14 \"Expired\" 500 4 7', + // '6 15 \"Closed\" 500 4 7', + // '14 11 \"Issuing Bank\" 136', + // '8 5 \"Applicant\" 410', + // '9 6 \"PTA NO.\" 136', + // '10 7 \"Party Number\" 100', + // '11 8 \"Beneficiary\" 410', + // '12 9 \"Beneficiary CN\" 136', + // '13 10 \"Party Number\" 136', + // '6 12 \"分行名称\" 410', + // '4 13 \"Opened\" 136', + // '15 16 \"cur\" 410', + // '17 17 \"cur\" 508 2 8 1 16', + // '16 18 \"L/C Amount\" 410', + // '18 19 \"Open Amount\" 508 2 8 1 18', + + // '1 1 \"Reference\" 105', + // '2 2 \"Resp. User\" 105', + // '3 3 \"Tenor day\" 105 0', + // '4 4 \"Party Number\" 500 4 7', + // '5 14 \"Expired\" 500 4 7', + // '6 15 \"Closed\" 500 4 7', + // '7 11 \"Issuing Bank\" 136', + // '8 5 \"Applicant\" 410', + // '9 6 \"PTA NO.\" 136', + // '10 7 \"Party Number\" 100', + // '11 8 \"Beneficiary\" 410', + // '12 9 \"Beneficiary CN\" 136', + // '13 10 \"Party Number\" 136', + // '14 12 \"分行名称\" 410', + // '15 13 \"Opened\" 136', + // '16 16 \"cur\" 410', + // '17 17 \"cur\" 508 2 8 1 16', + // '18 18 \"L/C Amount\" 410', + // '19 19 \"Open Amount\" 508 2 8 1 18', + + // '1 1 \"Party Number\" 105', + // '2 2 \"Applicant\" 105', + // '3 3 \"PTA NO.\" 105 0', + // '4 4 \"Party Number\" 500 4 7', + // '5 14 \"Beneficiary\" 500 4 7', + // '6 15 \"Beneficiary CN\" 500 4 7', + // '7 11 \"Issuing Bank\" 136', + // '8 5 \"Cur\" 410', + // '9 6 \"L/C Amount\" 136', + // '10 7 \"Cur\" 100', + // '11 8 \"Open Amount\" 410', + // '12 9 \"???CT000288???\" 136', + // '13 10 \"???CT000296???\" 136', + // '14 12 \"???CT000297???\" 410', + // '15 13 \"???CT000298???\" 136', + // '16 16 \"???CT000299???\" 410', + // '17 18 \"???CT000300???\" 508 2 8 1 16', + // '18 17 \"???CT000301???\" 410', + // '19 19 \"???CT000302???\" 508 2 8 1 18', + + // '1 1 "Reference" 120', + // '2 2 "Resp. User" 100', + // '3 3 "Tenor day" 100 ', + // '4 4 "Goods Code" 100 ', + // '5 13 "Opened" 500 4 7', + // '6 14 "Expired" 500 4 7', + // '7 15 "Closed" 500 4 7', + // '8 17 "分行名称" 136', + // '9 16 "PTA NO." 410', + // '10 5 "Party Number" 191', + // '11 8 "Applicant" 191', + // '12 9 "Applicant CN" 191', + // '13 11 "Advising Bank BIC" 165', + // '14 10 "Party Number" 165', + // '15 12 "Beneficiary" 165', + // '16 6 "Cur" 80', + // '17 7 "L/C Amount" 110 2 8 1 16', + // '18 18 "Cur" 410', + // '19 19 "Open Amount" 110 2 8 1 18', + // '1 1 "Reference" 130 200', + // "2 2 \"经办柜员\" 90 80", + // "5 5 \"开立日期\" 180 300", + // "6 6 \"到期日\" 180 250", + // "8 7 \"分行名称\" 150 300", + // "9 8 \"申请人编号\" 150 200", + // "11 9 \"申请人名称\" 150 300", + // "15 10 \"受益人名称\" 150 300", + // "16 3 \"开立币种\" 90 80", + // "17 4 \"开立金额\" 90 80", ], data: [], }, @@ -624,24 +709,23 @@ export default { methods: { ...Event, -async getButtons(ownref){ - this.ownref = ownref - this.$refs.childs.initdialog = true - console.log("ownref:" +ownref); - }, - async onChoose(code){ - //跳转交易 - this.$router.history.push("/business/" + code) - this.$refs.childs.initdialog = false - } , - async getDitSelInfo(code){ - //跳转交易 - this.$router.history.push("/business/" + code) - this.$refs.childs.initdialog = false - }, + async getButtons(ownref) { + this.ownref = ownref; + this.$refs.childs.initdialog = true; + console.log("ownref:" + ownref); + }, + async onChoose(code) { + //跳转交易 + this.$router.history.push("/business/" + code); + this.$refs.childs.initdialog = false; + }, + async getDitSelInfo(code) { + //跳转交易 + this.$router.history.push("/business/" + code); + this.$refs.childs.initdialog = false; + }, async getTrnInfo(idx, row) { - this.model.infcon.objinr = row["INR"]; this.model.ledgrp.rec.inr = row["INR"]; this.model.infcon.chksubcon = "X"; @@ -653,21 +737,21 @@ async getButtons(ownref){ this.trnData.data = rtnmsg.data.infcon_trnstm.rows; } }, - closeTrn(refId){ - this.$refs[refId].doClose(); + closeTrn(refId) { + this.$refs[refId].doClose(); }, - toLetnot(){ - this.$router.history.push("/business/letnot") + toLetnot() { + this.$router.history.push("/business/letnot"); }, - toLetopn(){ - this.$router.history.push("/business/letopn") + toLetopn() { + this.$router.history.push("/business/letopn"); }, - toLetdrw(){ - this.$router.history.push("/business/letdrw") + toLetdrw() { + this.$router.history.push("/business/letdrw"); }, - toLetrsv(){ - this.$router.history.push("/business/letrsv") + toLetrsv() { + this.$router.history.push("/business/letrsv"); }, // handleReset: function () { @@ -676,9 +760,6 @@ async getButtons(ownref){ // instName: "", // }; // }, - - - }, created: function () {}, }; diff --git a/src/views/Business/Lttdck/Dscinsp.vue b/src/views/Business/Lttdck/Dscinsp.vue index 53d38f5..7badfd4 100644 --- a/src/views/Business/Lttdck/Dscinsp.vue +++ b/src/views/Business/Lttdck/Dscinsp.vue @@ -156,75 +156,29 @@ <!-- right --> <c-col :span="11" :offset="1"> - <!-- <c-col :span="24"> - <el-form-item label="Further Handling" prop="betp.folwupopt"> - <c-fullbox> - <c-select - v-model="model.betp.folwupopt" - style="width: 100%" - placeholder="Please select Further Handling" - disabled - @change="defaultFunction()" - > - <el-option - v-for="item in codes.folwupopt1" - :key="item.value" - :label="item.label" - :value="item.value" - > - </el-option> - </c-select> - <template slot="footer"> - <c-checkbox v-model="docdisflg" style="margin-left: 10px" @change="defaultFunction()" - >Discrepancies modified</c-checkbox - > - </template> - </c-fullbox> - </el-form-item> - </c-col> --> - <!-- <c-col :span="24"> - <el-form-item label="Payer" prop="btdgrp.rec.payrol"> - <c-select - v-model="model.btdgrp.rec.payrol" - style="width: 100%" - placeholder="Please select Payer" - @change="selectOrCheckboxRule('btdgrp.rec.payrol')" + <c-col :span="4"> + <el-form-item label="" style="text-align: left" prop="docdisflg"> + <c-checkbox v-model="docdisflg" @change="defaultFunction()" + >Discrepancies modified</c-checkbox > - <el-option - v-for="item in codes.payrol" - :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: 'oth', - }" - :noRef="false" - :disabled="!(model.btdgrp.rec.payrol=='OTH')" - :isAdrblk="true" - :disabledRef="payrolFlag" - :disabledExtkey="payrolFlag" - @onSeainf="onSeainf" - @onAplpDet="onBenpDet" - > - </c-ptap> - </c-col> --> + </c-col> </c-col> <!-- next part --> + <c-docpre + :model="model" + :argadr="{ + path: 'btdgrp.blk.prsdocbe1', + grp: 'bttp', + code: 'docpre', + }" + > + </c-docpre> <c-docpre :model="model" :argadr="{ - path: 'btdgrp.blk.prsdoc', + path: 'btdgrp.blk.prsdocbe2', grp: 'bttp', code: 'docpre', }"