Commit e050fc44 by Wuyuqiu

交易Bug修改,lttdck交易页面布局

parent b9c61edd
...@@ -21,24 +21,28 @@ export default { ...@@ -21,24 +21,28 @@ export default {
} }
},*/ },*/
async handleReset() { // async handleReset() {
this.model.infcon.seaownref = ""; // this.model.infcon.seaownref = "";
this.model.infcon.searef = ""; // this.model.infcon.searef = "";
this.model.infcon.pty.extkey = ""; // this.model.infcon.pty.extkey = "";
this.model.infcon.seapty = ""; // this.model.infcon.seapty = "";
this.model.infcon.opndatfrom = ""; // this.model.infcon.opndatfrom = "";
this.model.infcon.opndatto = ""; // this.model.infcon.opndatto = "";
this.model.infcon.seaamtfr = ""; // this.model.infcon.seaamtfr = "";
this.model.infcon.seaamtto = ""; // this.model.infcon.seaamtto = "";
this.model.infcon.seasta = ""; // this.model.infcon.seasta = "";
this.model.infcon.usr.extkey = ""; // this.model.infcon.usr.extkey = "";
this.model.infcon.nam = ""; // this.model.infcon.nam = "";
this.model.infcon.hndtyp = ""; // this.model.infcon.hndtyp = "";
this.model.infcon.pty.nam = ""; // this.model.infcon.pty.nam = "";
this.model.infcon.searol = ""; // this.model.infcon.searol = "";
this.model.infcon.seacur = ""; // this.model.infcon.seacur = "";
this.stmData.data = ""; // this.stmData.data = "";
// },
async handleReset(formName) {
this.$refs[formName].resetFields();
}, },
async handleSearch() { async handleSearch() {
......
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Lttdck{ export default class Lttdck {
constructor () { constructor() {
this.data = { this.data = {
ledgrp:{ ledgrp: {
rec:{ rec: {
ownref:"", // L/C Reference .ledgrp.rec.ownref ownref: "", // L/C Reference .ledgrp.rec.ownref
nam:"", // Name .ledgrp.rec.nam 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:{ docgrdmbe1: {
seainf:"", // .bttp.ledget.sdamod.seainf docdsclab: "", // Label of document description .bttp.docgrdmbe1.docdsclab
}, docgrd: "",
}, },
ltdget:{ docgrdmbe2: {
sdamod:{ docdsclab: "", // Label of document description .bttp.docgrdmbe2.docdsclab
seainf:"", // .bttp.ltdget.sdamod.seainf docgrd: "",
dadsnd:"", // Drag Drop Sender .bttp.ltdget.sdamod.dadsnd },
}, futhndflg: "", // further handling .bttp.futhndflg
}, },
recget:{ ltdgrp: {
sdamod:{ rec: {
dadsnd:"", // Drag Drop Sender .bttp.recget.sdamod.dadsnd ownref: "", // Transfer Reference .ltdgrp.rec.ownref
seainf:"", // .bttp.recget.sdamod.seainf nam: "", // Name .ltdgrp.rec.nam
}, avbby: "", // Available by .ltdgrp.rec.avbby
}, opndat: "", // Date Issued/Form .ltdgrp.rec.opndat
aammod:{ lcrtyp: "", // Date Issued/Form .ltdgrp.rec.lcrtyp
addamtflg:"", // Add. Amount .bttp.aammod.addamtflg expdat: "", // Date / Place of Expiry .ltdgrp.rec.expdat
}, expplc: "", // Date / Place of Expiry .ltdgrp.rec.expplc
prbp:{ shpdat: "", // Shipment Date .ltdgrp.rec.shpdat
ptsget:{ utlnbr: "", // Number of Utilizations .ltdgrp.rec.utlnbr
sdamod:{ docsubflg: "", // Documents to be Substituted .ltdgrp.rec.docsubflg
seainf:"", // .bttp.prbp.ptsget.sdamod.seainf },
dadsnd:"", // Drag Drop Sender .bttp.prbp.ptsget.sdamod.dadsnd cbs: {
}, nom1: {
}, cur: "", // L/C Amount .ltdgrp.cbs.nom1.cur
}, amt: "", // Balance .ltdgrp.cbs.nom1.amt
docgrdmbe1:{ },
docdsclab:"", // Label of document description .bttp.docgrdmbe1.docdsclab opn1: {
}, cur: "", // Open Amount .ltdgrp.cbs.opn1.cur
docgrdmbe2:{ amt: "", // Balance .ltdgrp.cbs.opn1.amt
docdsclab:"", // Label of document description .bttp.docgrdmbe2.docdsclab },
}, },
futhndflg:"", // further handling .bttp.futhndflg avbnam: "", // Available with .ltdgrp.avbnam
}, },
ltdgrp:{ btdgrp: {
rec:{ be1: {
ownref:"", // Transfer Reference .ltdgrp.rec.ownref pts: new Pts().data,
nam:"", // Name .ltdgrp.rec.nam },
avbby:"", // Available by .ltdgrp.rec.avbby be2: {
opndat:"", // Date Issued/Form .ltdgrp.rec.opndat pts: new Pts().data,
lcrtyp:"", // Date Issued/Form .ltdgrp.rec.lcrtyp },
expdat:"", // Date / Place of Expiry .ltdgrp.rec.expdat prb: {
expplc:"", // Date / Place of Expiry .ltdgrp.rec.expplc pts: new Pts().data,
shpdat:"", // Shipment Date .ltdgrp.rec.shpdat namelc: "", // 名称 .btdgrp.prb.namelc
utlnbr:"", // Number of Utilizations .ltdgrp.rec.utlnbr adrelc: "", // 地址 .btdgrp.prb.adrelc
docsubflg:"", // Documents to be Substituted .ltdgrp.rec.docsubflg dbfadrblkcn: "", // Chinese address .btdgrp.prb.dbfadrblkcn
}, },
cbs:{ rec: {
nom1:{ ownref: "", // Document Set Ref. .btdgrp.rec.ownref
cur:"", // L/C Amount .ltdgrp.cbs.nom1.cur nam: "", // Description .btdgrp.rec.nam
amt:"", // Balance .ltdgrp.cbs.nom1.amt doctypcod: "", // Document Type .btdgrp.rec.doctypcod
}, rcvdatbe2: "", // Received on (2nd Ben) .btdgrp.rec.rcvdatbe2
opn1:{ orddatbe2: "", // Order Date 2nd Beneficiary .btdgrp.rec.orddatbe2
cur:"", // Open Amount .ltdgrp.cbs.opn1.cur matdat: "", // Maturity Date .btdgrp.rec.matdat
amt:"", // Balance .ltdgrp.cbs.opn1.amt shpdat: "", // Date of Shipment .btdgrp.rec.shpdat
}, dscinsflg: "", // Enter Docs, Discrep. and Instructions .btdgrp.rec.dscinsflg
}, docprbrol: "", // Presented by .btdgrp.rec.docprbrol
avbnam:"", // Available with .ltdgrp.avbnam docsta: "", // Document Set Status .btdgrp.rec.docsta
}, },
btdgrp:{ cbs: {
be1:{ max: {
pts:new Pts().data, cur: "", // Document Amount .btdgrp.cbs.max.cur
}, amt: "", // Document Amount .btdgrp.cbs.max.amt
be2:{ },
pts:new Pts().data, opn2: {
}, cur: "", // 附加金额 .btdgrp.cbs.opn2.cur
prb:{ },
pts:new Pts().data, max2: {
namelc:"", // 名称 .btdgrp.prb.namelc amt: "", // 附加金额 .btdgrp.cbs.max2.amt
adrelc:"", // 地址 .btdgrp.prb.adrelc },
dbfadrblkcn:"", // Chinese address .btdgrp.prb.dbfadrblkcn },
}, blk: {
rec:{ matper: "", // Maturity Period .btdgrp.blk.matper
ownref:"", // Document Set Ref. .btdgrp.rec.ownref intdis: "", // Internal Discrepancies .btdgrp.blk.intdis
nam:"", // Description .btdgrp.rec.nam comcon: "", // Comments and Conclusions .btdgrp.blk.comcon
doctypcod:"", // Document Type .btdgrp.rec.doctypcod setinsbt: "", // Settlement Instructions transaction field .btdgrp.blk.setinsbt
rcvdatbe2:"", // Received on (2nd Ben) .btdgrp.rec.rcvdatbe2 docdis: "", // Discrepancies .btdgrp.blk.docdis
orddatbe2:"", // Order Date 2nd Beneficiary .btdgrp.rec.orddatbe2 docdisflg: "", // discrepancies modified .btdgrp.blk.docdisflg
matdat:"", // Maturity Date .btdgrp.rec.matdat },
shpdat:"", // Date of Shipment .btdgrp.rec.shpdat },
dscinsflg:"", // Enter Docs, Discrep. and Instructions .btdgrp.rec.dscinsflg pageId: "", // ctx的key
docprbrol:"", // Presented by .btdgrp.rec.docprbrol trnmod: new Pub().data.Trnmod,
docsta:"", // Document Set Status .btdgrp.rec.docsta setmod: new Pub().data.Setmod,
}, liaall: new Pub().data.Liaall,
cbs:{ mtabut: new Pub().data.Mtabut,
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
}
}
} }
\ No newline at end of file
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- 持续展示区 --> <!-- 持续展示区 -->
<c-list-search @form-reset="handleReset('paramsForm')" @form-search="handleSearch"> <c-list-search
<template v-slot="searchSlot"> @form-reset="handleReset('paramsForm')"
<el-form @form-search="handleSearch"
class="m-table-search-form" >
ref="paramsForm" <template v-slot="searchSlot">
:inline="true" <el-form
label-position="right" class="m-table-search-form"
label-width="110px" ref="paramsForm"
size="small" :inline="true"
:model="model" label-position="right"
> label-width="110px"
<c-row> size="small"
<c-col :span="24"> :model="model"
<c-col :span="8"> >
<el-form-item label="Own Reference" prop="infcon.seaownref" style="width: 100%"> <c-row>
<c-input v-model="model.infcon.seaownref" maxlength="16" placeholder="请输入Own Reference" style="width: 100%"></c-input> <c-col :span="24">
</el-form-item> <c-col :span="8">
</c-col> <el-form-item
<c-col :span="8"> label="Own Reference"
<el-form-item label="Opening between" prop="infcon.opndatfrom" style="width: 100%"> prop="infcon.seaownref"
<c-col :span="11"> style="width: 100%"
<c-date-picker type="date" v-model="model.infcon.opndatfrom" style="width:100%" placeholder="请选择"></c-date-picker> >
</c-col> <c-input
<c-col :span="2" style="text-align: center"> v-model="model.infcon.seaownref"
<label style="display: inline-block; width: 100%">-</label> maxlength="16"
</c-col> placeholder="请输入Own Reference"
<c-col :span="11"> style="width: 100%"
<c-date-picker type="date" v-model="model.infcon.opndatto" style="width:100%" placeholder="请选择"></c-date-picker> ></c-input>
</c-col> </el-form-item>
</el-form-item> </c-col>
</c-col> <c-col :span="8">
<c-col :span="8"> <el-form-item
<el-form-item label="Name" prop="infcon.nam" style="width: 100%"> label="Opening between"
<c-input v-model="model.infcon.nam" maxlength="40" placeholder="请输入Name"></c-input> prop="infcon.opndatfrom"
</el-form-item> style="width: 100%"
</c-col> >
</c-col> <c-col :span="11">
</c-row> <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-row v-show="searchSlot.searchToggle">
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="Party Reference" prop="infcon.searef" style="width: 100%"> <el-form-item
<c-input v-model="model.infcon.searef" maxlength="16" placeholder="请输入Party Reference" style="width: 100%"></c-input> label="Party Reference"
</el-form-item> prop="infcon.searef"
</c-col> style="width: 100%"
<c-col :span="8"> >
<el-form-item label="Party Name" prop="infcon.pty.nam" style="width: 100%"> <c-input
<c-input disabled v-model="model.infcon.pty.nam" maxlength="40" placeholder="请输入Party Name" style="width: 100%"></c-input> v-model="model.infcon.searef"
</el-form-item> maxlength="16"
</c-col> placeholder="请输入Party Reference"
<c-col :span="8"> style="width: 100%"
<el-form-item label="Sel Single Party" prop="infcon.pty.extkey" style="width: 100%"> ></c-input>
<c-input v-model="model.infcon.pty.extkey" maxlength="24" placeholder="请输入Select Single Party"></c-input> </el-form-item>
</el-form-item> </c-col>
</c-col> <c-col :span="8">
</c-col> <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="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="Party Name/BIC" prop="infcon.seapty" style="width: 100%"> <el-form-item
<c-input v-model="model.infcon.seapty" maxlength="24" placeholder="请输入Party Name/BIC"></c-input> label="Party Name/BIC"
</el-form-item> prop="infcon.seapty"
</c-col> style="width: 100%"
<c-col :span="8"> >
<el-form-item label="Resp.User" prop="infcon.usr.extkey" style="width: 100%"> <c-input
<c-input v-model="model.infcon.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input> v-model="model.infcon.seapty"
</el-form-item> maxlength="24"
</c-col> placeholder="请输入Party Name/BIC"
<c-col :span="8"> ></c-input>
<el-form-item label="Role" prop="infcon.searol" style="width: 100%"> </el-form-item>
<c-select v-model="model.infcon.searol" style="width:100%" placeholder="请选择Role" :code="codes.rolall"></c-select> </c-col>
</el-form-item> <c-col :span="8">
</c-col> <el-form-item
</c-col> 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="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="Status" prop="infcon.seasta" style="width: 100%"> <el-form-item
<c-select v-model="model.infcon.seasta" style="width:100%" placeholder="请选择Status" :code="codes.seasta"></c-select> label="Document Type"
</el-form-item> prop="seadoctypcod"
</c-col> style="width: 100%"
<c-col :span="8"> >
<el-form-item label="Currency" prop="infcon.seacur" style="width: 100%"> <c-select
<c-select v-model="model.infcon.seacur" style="width:100%" placeholder="请选择Currency" :code="codes.cur"></c-select> v-model="model.seadoctypcod"
</el-form-item> style="width: 100%"
</c-col> placeholder="请选择Document Type"
<c-col :span="8"> :code="codes.docflg"
<el-form-item label="Amount between" prop="infcon.seaamtfr" style="width: 100%"> ></c-select>
<c-col :span="11"> </el-form-item>
<c-input-currency v-model="model.infcon.seaamtfr" placeholder="请输入Amount"></c-input-currency> </c-col>
</c-col> <c-col :span="8">
<c-col :span="2" style="text-align: center"> <el-form-item
<label style="display: inline-block; width: 100%">-</label> label="Invoice No."
</c-col> prop="infcon.invnum"
<c-col :span="11"> style="width: 100%"
<c-input-currency v-model="model.infcon.seaamtto" placeholder="请输入Amount"></c-input-currency> >
</c-col> <c-input
</el-form-item> v-model="model.infcon.invnum"
</c-col> maxlength="16"
</c-col> 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="6">
<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">
<el-form-item label="Release Status" prop="infcon.relflg"> <el-form-item label="Release Status" prop="infcon.relflg">
<c-select v-model="model.infcon.relflg" style="width:100%" placeholder="请选择Release Status"> <c-select v-model="model.infcon.relflg" style="width:100%" placeholder="请选择Release Status">
</c-select> </c-select>
...@@ -139,13 +273,12 @@ ...@@ -139,13 +273,12 @@
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
<!-- <c-col :span="6"> <!-- <c-col :span="6">
<el-form-item label="是否显示查询码" prop="infcon.cxmflg"> <el-form-item label="是否显示查询码" prop="infcon.cxmflg">
<c-select v-model="model.infcon.cxmflg" style="width:100%" placeholder="请选择是否显示查询码"> <c-select v-model="model.infcon.cxmflg" style="width:100%" placeholder="请选择是否显示查询码">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
</c-list-search> </c-list-search>
<!-- <c-row style="margin-top:20px; padding: 0 10px 0 10px;"> <!-- <c-row style="margin-top:20px; padding: 0 10px 0 10px;">
...@@ -159,34 +292,42 @@ ...@@ -159,34 +292,42 @@
<el-row> <el-row>
<c-col :span="24"> <c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns"> <c-istream-table :list="stmData.data" :columns="stmData.columns">
<el-table-column <el-table-column fixed="right" prop="op" label="操作" width="150px">
fixed="right" <template slot="header">
prop="op" <c-col :span="11" style="text-align: left"
label="操作" ><span>操作</span></c-col
width="150px" >
> <c-col :span="12" style="text-align: right"
<template slot="header"> ><c-button icon="el-icon-s-tools"></c-button
<c-col :span="11" style="text-align:left"><span>操作</span></c-col> ></c-col>
<c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col>
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<!-- <c-button <!-- <c-button
style="margin-left: 0" style="margin-left: 0"
size="small" size="small"
> >
详情 详情
</c-button> --> </c-button> -->
<el-popover <el-popover
placement="top-start" placement="top-start"
title="历史信息" title="历史信息"
width="800" width="800"
trigger="click" trigger="click"
:ref="'popover_' + scope.row.IDX" :ref="'popover_' + scope.row.IDX"
> >
<div style="text-align: right; margin-top: -30px; margin-right: 5px; font-size: 16px;"> <div
<span class="el-icon-close" @click="closeTrn('popover_' + scope.row.IDX)"/> style="
</div> 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 <c-istream-table
:list="trnData.data" :list="trnData.data"
:columns="trnData.columns" :columns="trnData.columns"
...@@ -237,144 +378,178 @@ ...@@ -237,144 +378,178 @@
</c-col> </c-col>
</el-row> </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> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Event from "~/model/Infbed/Event" import Event from "~/model/Infbed/Event";
import LetselModel from "~/model/Letsel" import LetselModel from "~/model/Letsel";
import BusNavbar from "~/views/Public/BusNavbar"; import BusNavbar from "~/views/Public/BusNavbar";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
components:{'m-busbtn':BusNavbar}, components: { "m-busbtn": BusNavbar },
data(){ data() {
return { return {
letselModel: new LetselModel().data, letselModel: new LetselModel().data,
ownref:"", ownref: "",
trnData: { trnData: {
columns: [ columns: [
'1 1 "编号" 200', // '0 7 "Trn ID" 80',
'2 2 "交易名称" 100', // '1 1 "Transaction Name" 250',
'3 3 "日期" 200', // '2 2 "Entry" 100 4 7',
'4 4 "状态" 50', // // '3 3 \"Status\" 80 1 0 1 RELSTA',
'5 5 "币种" 80', // {
'6 6 "金额" 80', // index: 3,
], // position: 3,
data: [], // width: 80,
}, // pattern: "code",
stmData: { // label: "Status",
columns: [ // code: this.codes.relstaEN,
'1 14 \"转卖日期\" 133 4 7', // },
'2 1 \"Reference\" 100', // '4 4 "Cur." 50',
'3 2 \"Resp. User\" 100', // '5 5 "Relevant Amount" 150 2 8 1 4',
'4 3 \"Invoice No.\" 100', // '6 6 "Signed" 80',
'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',
// '1 1 "Reference" 100', '0 8 "Trn ID" 100',
// '2 1 "Resp. User" 100', '1 1 "Reference" 150',
// '3 1 "Invoice No." 100', '2 2 "Transaction Name" 195',
// '1 2 "Party Number" 133', '3 3 "Entry" 80 4 7',
// '2 2 "Applicant" 133', // '4 4 "Status" 65 1 0 1 RELSTA',
// '3 2 "PTA NO." 0', {
// '1 3 "Party Number" 133', index: 4,
// '2 3 "Beneficiary" 133', position: 4,
// '3 3 "Beneficiary CN" 133', width: 100,
// '1 4 "Party Number" 133', pattern: "code",
// '2 4 "Issuing Bank" 133', label: "Status",
// '1 5 "Party Number" 133', code: this.codes.relstaEN,
// '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: [],
}, },
}; '5 5 "Cur." 80',
}, '6 6 "Relevant Amount" 150 2 8 1 5',
methods:{...Event, '7 7 "Signed" 100',
async getButtons(ownref){ ],
this.ownref = ownref
this.$refs.childs.initdialog = true data: [],
console.log("ownref:" +ownref);
}, },
async onChoose(code){ stmData: {
//跳转交易 columns: [
this.$router.history.push("/business/" + code) '1 14 "转卖日期" 150',
this.$refs.childs.initdialog = false '2 1 "Reference" 150',
} , '3 2 "Resp. User" 150',
async getDitSelInfo(code){ '4 3 "Invoice No." 150',
//跳转交易 '5 15 "Opened" 150',
this.$router.history.push("/business/" + code) '6 16 "Closed" 150',
this.initdialog = false '7 4 "Applicant Party Number" 200',
}, '8 5 "Applicant" 150',
closeTrn(refId){ '9 6 "PTA NO." 150',
this.$refs[refId].doClose(); '10 7 "Beneficiary Party Number" 200',
}, '11 8 "Beneficiary" 150',
async getTrnInfo(idx, row) { '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"]; // '1 1 "Reference" 100',
this.model.ledgrp.rec.inr = row["INR"]; // '2 1 "Resp. User" 100',
this.model.infcon.chksubcon = "X"; // '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; // '1 14 "转卖日期" 133',
let rtnmsg = await this.executeDefault("infcon.chksubcon"); // '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)) { if ((rtnmsg.respCode = SUCCESS)) {
this.trnData.data = rtnmsg.data.infcon_trnstm.rows; this.trnData.data = rtnmsg.data.infcon_trnstm.rows;
} }
}, },
}, },
created: function () {}, created: function () {},
}; };
</script> </script>
<style> <style>
</style> </style>
...@@ -12,11 +12,11 @@ ...@@ -12,11 +12,11 @@
> >
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick" class="infbedTab"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick" class="infbedTab">
<!-- <el-tab-pane label="选择" name="infsea"> --> <el-tab-pane label="出口信用证单据查询" name="infsea">
<!-- <c-content> --> <c-content>
<m-infsea :model="model" :codes="codes"/> <m-infsea :model="model" :codes="codes"/>
<!-- </c-content> --> </c-content>
<!-- </el-tab-pane> --> </el-tab-pane>
<!-- <el-tab-pane label="内容" name="ovwp"> <!-- <el-tab-pane label="内容" name="ovwp">
<c-content> <c-content>
......
<template> <template>
<div class="eibs-tab"> <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"> <template v-slot="searchSlot">
<el-form <el-form
class="m-table-search-form" class="m-table-search-form"
...@@ -14,7 +17,7 @@ ...@@ -14,7 +17,7 @@
<el-row> <el-row>
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item
label="业务编号" label="Own Reference"
prop="infcon.seaownref" prop="infcon.seaownref"
style="width: 100%" style="width: 100%"
> >
...@@ -28,7 +31,7 @@ ...@@ -28,7 +31,7 @@
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item
label="开立日期" label="Opening Date"
prop="infcon.opndatfrom" prop="infcon.opndatfrom"
style="width: 100%" style="width: 100%"
> >
...@@ -56,11 +59,7 @@ ...@@ -56,11 +59,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="Name" prop="infcon.nam" style="width: 100%">
label="业务主题"
prop="infcon.nam"
style="width: 100%"
>
<c-input <c-input
v-model="model.infcon.nam" v-model="model.infcon.nam"
maxlength="40" maxlength="40"
...@@ -83,14 +82,22 @@ ...@@ -83,14 +82,22 @@
</c-col>--> </c-col>-->
<el-row v-show="searchSlot.searchToggle"> <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"> <c-col :span="8">
<el-form-item <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="复核状态" label="复核状态"
prop="infcon.relflg" prop="infcon.relflg"
style="width: 100%" style="width: 100%"
...@@ -109,7 +116,7 @@ ...@@ -109,7 +116,7 @@
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
<!--<c-col :span="12"> <!--<c-col :span="12">
<el-form-item label="Handling Type" v-show ="false" prop="infcon.hndtyp" > <el-form-item label="Handling Type" v-show ="false" prop="infcon.hndtyp" >
...@@ -125,37 +132,70 @@ ...@@ -125,37 +132,70 @@
</el-form-item> </el-form-item>
</c-col>--> </c-col>-->
<!--<c-col :span="12"> <c-col :span="8">
<el-form-item label="Select Single Party" prop="infcon.pty.extkey" > <el-form-item
<c-input v-model="model.infcon.pty.extkey" maxlength="24" placeholder="请输入Select Single Party" ></c-input> label="Select Single Party"
</el-form-item> prop="infcon.pty.extkey"
</c-col> style="width: 100%"
>
<c-col :span="12"> <c-input
<el-form-item label="Party Name" prop="infcon.pty.nam" > v-model="model.infcon.pty.extkey"
<c-input v-model="model.infcon.pty.nam" maxlength="40" placeholder="请输入Party Name" ></c-input> maxlength="24"
</el-form-item> placeholder="请输入Select Single Party"
</c-col> ></c-input>
</el-form-item>
</c-col>
<c-col :span="12"> <c-col :span="8">
<el-form-item label="Party Name/BIC" prop="infcon.seapty" > <el-form-item
<c-input v-model="model.infcon.seapty" maxlength="24" placeholder="请输入Party Name/BIC"></c-input> label="Party Name"
</el-form-item> prop="infcon.pty.nam"
</c-col> style="width: 100%"
>
<c-col :span="12"> <c-input
<el-form-item label="Role" prop="infcon.searol" > v-model="model.infcon.pty.nam"
<c-select v-model="model.infcon.searol" style="width:100%" placeholder="请选择Role"> maxlength="40"
<el-option placeholder="请输入Party Name"
v-for="item in codes.searol" disabled
:key="item.value" ></c-input>
:label="item.label" </el-form-item>
:value="item.value" </c-col>
>
</el-option> <c-col :span="8">
</c-select> <el-form-item
</el-form-item> label="Party Name/BIC"
</c-col>--> 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"> <!--<c-col :span="12">
<el-form-item label="Opening between" prop="infcon.opndatfrom" > <el-form-item label="Opening between" prop="infcon.opndatfrom" >
...@@ -169,15 +209,25 @@ ...@@ -169,15 +209,25 @@
</el-form-item> </el-form-item>
</c-col>--> </c-col>-->
<!--<c-col :span="12"> <c-col :span="8">
<el-form-item label="Resp.User" disabled prop="infcon.usr.extkey" > <el-form-item
<c-input v-model="model.infcon.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input> label="Resp.User"
</el-form-item> disabled
</c-col>--> 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"> <c-col :span="8">
<el-form-item <el-form-item
label="业务状态" label="Status"
prop="infcon.seasta" prop="infcon.seasta"
style="width: 100%" style="width: 100%"
> >
...@@ -199,7 +249,7 @@ ...@@ -199,7 +249,7 @@
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item
label="币种" label="Currency"
prop="infcon.seacur" prop="infcon.seacur"
style="width: 100%" style="width: 100%"
> >
...@@ -209,7 +259,7 @@ ...@@ -209,7 +259,7 @@
placeholder="请选择Currency" placeholder="请选择Currency"
> >
<el-option <el-option
v-for="item in codes.seacur" v-for="item in codes.curtxt1"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
...@@ -220,7 +270,7 @@ ...@@ -220,7 +270,7 @@
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="金额" style="width: 100%"> <el-form-item label="Amount" style="width: 100%">
<c-col :span="11"> <c-col :span="11">
<c-input <c-input
v-model="model.infcon.seaamtfr" v-model="model.infcon.seaamtfr"
...@@ -241,7 +291,7 @@ ...@@ -241,7 +291,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <!-- <c-col :span="8">
<el-form-item <el-form-item
label="是否显示查询码" label="是否显示查询码"
prop="infcon.cxmflg" prop="infcon.cxmflg"
...@@ -261,9 +311,9 @@ ...@@ -261,9 +311,9 @@
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
<c-col :span="8"> <!-- <c-col :span="8">
<el-form-item <el-form-item
label="确认状态" label="确认状态"
prop="seacnfdet" prop="seacnfdet"
...@@ -283,17 +333,17 @@ ...@@ -283,17 +333,17 @@
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item
label="信用证类型" label="form of L/C"
prop="sealcrtyp" prop="sealcrtyp"
style="width: 100%" style="width: 100%"
> >
<c-select <c-select
v-model="model.sealcrtyp" v-model="model.sealcrtyp"
:code="codes.lcrtyp" :code="codes.lcrtyp1"
style="width: 100%" style="width: 100%"
placeholder="请选择form of L/C" placeholder="请选择form of L/C"
> >
...@@ -301,7 +351,7 @@ ...@@ -301,7 +351,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <!-- <c-col :span="8">
<el-form-item <el-form-item
label="货物种类" label="货物种类"
prop="seagodcod" prop="seagodcod"
...@@ -321,7 +371,7 @@ ...@@ -321,7 +371,7 @@
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
</el-row> </el-row>
</el-form> </el-form>
</template> </template>
...@@ -469,9 +519,15 @@ ...@@ -469,9 +519,15 @@
</c-istream-table> </c-istream-table>
</c-col> </c-col>
<m-busbtn ref="childs" :ownref="ownref" trnCode="letsel" ownrefPath="ledgrp" :model="letselModel" @onChoose="onChoose" <m-busbtn
>11</m-busbtn ref="childs"
> :ownref="ownref"
trnCode="letsel"
ownrefPath="ledgrp"
:model="letselModel"
@onChoose="onChoose"
>11</m-busbtn
>
</div> </div>
</template> </template>
<script> <script>
...@@ -480,7 +536,7 @@ import Api from "~/service/Api"; ...@@ -480,7 +536,7 @@ import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Infled/Event"; import Event from "~/model/Infled/Event";
import LetselModel from "~/model/Letsel" import LetselModel from "~/model/Letsel";
import BusNavbar from "~/views/Public/BusNavbar"; import BusNavbar from "~/views/Public/BusNavbar";
export default { export default {
...@@ -490,128 +546,157 @@ export default { ...@@ -490,128 +546,157 @@ export default {
components: { "m-busbtn": BusNavbar }, components: { "m-busbtn": BusNavbar },
data() { data() {
return { return {
letselModel:new LetselModel().data, letselModel: new LetselModel().data,
curinr:"", curinr: "",
ownref: "", ownref: "",
dialogTableVisible: false, dialogTableVisible: false,
trnData: { trnData: {
columns: [ columns: [
'0 7 \"Trn ID\" 56', '0 7 "Trn ID" 100',
'1 1 \"Transaction Name\" 250', '1 1 "Transaction Name" 250',
'2 2 \"Entry\" 72 4 7', '2 2 "Entry" 100 4 7',
'3 3 \"Status\" 80 1 0 1 RELSTA', // '3 3 \"Status\" 80 1 0 1 RELSTA',
'4 4 \"Cur.\" 40', {
'5 5 \"Relevant Amount\" 120 2 8 1 4', index: 3,
'6 6 \"Signed\" 60', position: 3,
width: 100,
// '1 1 "编号" 200', pattern: "code",
// '2 2 "交易名称" 120', label: "Status",
// // '3 3 "日期" 200', code: this.codes.relstaEN,
// { index: 3, position: 3, width: 110, pattern: "date", label: "日期" }, },
// // '4 4 "状态" 50', '4 4 "Cur." 80',
// { '5 5 "Relevant Amount" 150 2 8 1 4',
// index: 4, '6 6 "Signed" 100',
// position: 4,
// width: 100, // '1 1 "编号" 200',
// pattern: "code", // '2 2 "交易名称" 120',
// label: "状态", // // '3 3 "日期" 200',
// code: this.codes.relstaEN, // { index: 3, position: 3, width: 110, pattern: "date", label: "日期" },
// }, // // '4 4 "状态" 50',
// '5 5 "币种" 80', // {
// '6 6 "金额" 110', // index: 4,
// position: 4,
// width: 100,
// pattern: "code",
// label: "状态",
// code: this.codes.relstaEN,
// },
// '5 5 "币种" 80',
// '6 6 "金额" 110',
], ],
data: [], data: [],
}, },
stmData: { stmData: {
columns: [ columns: [
'1 1 \"Reference\" 105', '1 1 "Reference" 150',
'2 2 \"Resp. User\" 105', '2 2 "Resp. User" 150',
'3 3 \"Tenor day\" 105 0', '3 3 "Tenor day" 150',
'4 4 \"Party Number\" 500 4 7', '4 14 "Expired" 150',
'5 14 \"Expired\" 500 4 7', '5 13 "Opened" 150',
'6 15 \"Closed\" 500 4 7', '6 15 "Closed" 150',
'7 11 \"Issuing Bank\" 136', '7 12 "分行名称" 150',
'8 5 \"Applicant\" 410', '8 4 "Applicant Party Number" 200',
'9 6 \"PTA NO.\" 136', '9 5 "Applicant" 150',
'10 7 \"Party Number\" 100', '10 6 "PTA NO." 150',
'11 8 \"Beneficiary\" 410', '11 7 "Beneficiary Party Number" 200',
'12 9 \"Beneficiary CN\" 136', '12 8 "Beneficiary" 150',
'13 10 \"Party Number\" 136', '13 9 "Beneficiary CN" 150',
'14 12 \"分行名称\" 410', '14 10 "Issuing Party Number" 200',
'15 13 \"Opened\" 136', '15 11 "Issuing Bank" 150',
'16 16 \"cur\" 410', '16 16 "cur" 150',
'17 17 \"cur\" 508 2 8 1 16', '17 18 "L/C Amount" 150',
'18 18 \"L/C Amount\" 410', '18 17 "cur" 150',
'19 19 \"Open Amount\" 508 2 8 1 18', '19 19 "Open Amount" 150',
// '1 1 \"Reference\" 105',
// '2 2 \"Resp. User\" 105', // '1 1 \"Reference\" 105',
// '3 3 \"Tenor day\" 105 0', // '2 2 \"Resp. User\" 105',
// '4 4 \"Party Number\" 500 4 7', // '3 3 \"Tenor day\" 105 0',
// '5 14 \"Expired\" 500 4 7', // '7 4 \"Party Number\" 500 4 7',
// '6 15 \"Closed\" 500 4 7', // '5 14 \"Expired\" 500 4 7',
// '7 11 \"Issuing Bank\" 136', // '6 15 \"Closed\" 500 4 7',
// '8 5 \"Applicant\" 410', // '14 11 \"Issuing Bank\" 136',
// '9 6 \"PTA NO.\" 136', // '8 5 \"Applicant\" 410',
// '10 7 \"Party Number\" 100', // '9 6 \"PTA NO.\" 136',
// '11 8 \"Beneficiary\" 410', // '10 7 \"Party Number\" 100',
// '12 9 \"Beneficiary CN\" 136', // '11 8 \"Beneficiary\" 410',
// '13 10 \"Party Number\" 136', // '12 9 \"Beneficiary CN\" 136',
// '14 12 \"分行名称\" 410', // '13 10 \"Party Number\" 136',
// '15 13 \"Opened\" 136', // '6 12 \"分行名称\" 410',
// '16 16 \"cur\" 410', // '4 13 \"Opened\" 136',
// '17 17 \"cur\" 508 2 8 1 16', // '15 16 \"cur\" 410',
// '18 18 \"L/C Amount\" 410', // '17 17 \"cur\" 508 2 8 1 16',
// '19 19 \"Open Amount\" 508 2 8 1 18', // '16 18 \"L/C Amount\" 410',
// '18 19 \"Open Amount\" 508 2 8 1 18',
// '1 1 \"Party Number\" 105',
// '2 2 \"Applicant\" 105', // '1 1 \"Reference\" 105',
// '3 3 \"PTA NO.\" 105 0', // '2 2 \"Resp. User\" 105',
// '4 4 \"Party Number\" 500 4 7', // '3 3 \"Tenor day\" 105 0',
// '5 14 \"Beneficiary\" 500 4 7', // '4 4 \"Party Number\" 500 4 7',
// '6 15 \"Beneficiary CN\" 500 4 7', // '5 14 \"Expired\" 500 4 7',
// '7 11 \"Issuing Bank\" 136', // '6 15 \"Closed\" 500 4 7',
// '8 5 \"Cur\" 410', // '7 11 \"Issuing Bank\" 136',
// '9 6 \"L/C Amount\" 136', // '8 5 \"Applicant\" 410',
// '10 7 \"Cur\" 100', // '9 6 \"PTA NO.\" 136',
// '11 8 \"Open Amount\" 410', // '10 7 \"Party Number\" 100',
// '12 9 \"???CT000288???\" 136', // '11 8 \"Beneficiary\" 410',
// '13 10 \"???CT000296???\" 136', // '12 9 \"Beneficiary CN\" 136',
// '14 12 \"???CT000297???\" 410', // '13 10 \"Party Number\" 136',
// '15 13 \"???CT000298???\" 136', // '14 12 \"分行名称\" 410',
// '16 16 \"???CT000299???\" 410', // '15 13 \"Opened\" 136',
// '17 18 \"???CT000300???\" 508 2 8 1 16', // '16 16 \"cur\" 410',
// '18 17 \"???CT000301???\" 410', // '17 17 \"cur\" 508 2 8 1 16',
// '19 19 \"???CT000302???\" 508 2 8 1 18', // '18 18 \"L/C Amount\" 410',
// '19 19 \"Open Amount\" 508 2 8 1 18',
// '1 1 "Reference" 120',
// '2 2 "Resp. User" 100', // '1 1 \"Party Number\" 105',
// '3 3 "Tenor day" 100 ', // '2 2 \"Applicant\" 105',
// '4 4 "Goods Code" 100 ', // '3 3 \"PTA NO.\" 105 0',
// '5 13 "Opened" 500 4 7', // '4 4 \"Party Number\" 500 4 7',
// '6 14 "Expired" 500 4 7', // '5 14 \"Beneficiary\" 500 4 7',
// '7 15 "Closed" 500 4 7', // '6 15 \"Beneficiary CN\" 500 4 7',
// '8 17 "分行名称" 136', // '7 11 \"Issuing Bank\" 136',
// '9 16 "PTA NO." 410', // '8 5 \"Cur\" 410',
// '10 5 "Party Number" 191', // '9 6 \"L/C Amount\" 136',
// '11 8 "Applicant" 191', // '10 7 \"Cur\" 100',
// '12 9 "Applicant CN" 191', // '11 8 \"Open Amount\" 410',
// '13 11 "Advising Bank BIC" 165', // '12 9 \"???CT000288???\" 136',
// '14 10 "Party Number" 165', // '13 10 \"???CT000296???\" 136',
// '15 12 "Beneficiary" 165', // '14 12 \"???CT000297???\" 410',
// '16 6 "Cur" 80', // '15 13 \"???CT000298???\" 136',
// '17 7 "L/C Amount" 110 2 8 1 16', // '16 16 \"???CT000299???\" 410',
// '18 18 "Cur" 410', // '17 18 \"???CT000300???\" 508 2 8 1 16',
// '19 19 "Open Amount" 110 2 8 1 18', // '18 17 \"???CT000301???\" 410',
// '1 1 "Reference" 130 200', // '19 19 \"???CT000302???\" 508 2 8 1 18',
// "2 2 \"经办柜员\" 90 80",
// "5 5 \"开立日期\" 180 300", // '1 1 "Reference" 120',
// "6 6 \"到期日\" 180 250", // '2 2 "Resp. User" 100',
// "8 7 \"分行名称\" 150 300", // '3 3 "Tenor day" 100 ',
// "9 8 \"申请人编号\" 150 200", // '4 4 "Goods Code" 100 ',
// "11 9 \"申请人名称\" 150 300", // '5 13 "Opened" 500 4 7',
// "15 10 \"受益人名称\" 150 300", // '6 14 "Expired" 500 4 7',
// "16 3 \"开立币种\" 90 80", // '7 15 "Closed" 500 4 7',
// "17 4 \"开立金额\" 90 80", // '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: [], data: [],
}, },
...@@ -624,24 +709,23 @@ export default { ...@@ -624,24 +709,23 @@ export default {
methods: { methods: {
...Event, ...Event,
async getButtons(ownref){ async getButtons(ownref) {
this.ownref = ownref this.ownref = ownref;
this.$refs.childs.initdialog = true this.$refs.childs.initdialog = true;
console.log("ownref:" +ownref); console.log("ownref:" + ownref);
}, },
async onChoose(code){ async onChoose(code) {
//跳转交易 //跳转交易
this.$router.history.push("/business/" + code) this.$router.history.push("/business/" + code);
this.$refs.childs.initdialog = false this.$refs.childs.initdialog = false;
} , },
async getDitSelInfo(code){ async getDitSelInfo(code) {
//跳转交易 //跳转交易
this.$router.history.push("/business/" + code) this.$router.history.push("/business/" + code);
this.$refs.childs.initdialog = false this.$refs.childs.initdialog = false;
}, },
async getTrnInfo(idx, row) { async getTrnInfo(idx, row) {
this.model.infcon.objinr = row["INR"]; this.model.infcon.objinr = row["INR"];
this.model.ledgrp.rec.inr = row["INR"]; this.model.ledgrp.rec.inr = row["INR"];
this.model.infcon.chksubcon = "X"; this.model.infcon.chksubcon = "X";
...@@ -653,21 +737,21 @@ async getButtons(ownref){ ...@@ -653,21 +737,21 @@ async getButtons(ownref){
this.trnData.data = rtnmsg.data.infcon_trnstm.rows; this.trnData.data = rtnmsg.data.infcon_trnstm.rows;
} }
}, },
closeTrn(refId){ closeTrn(refId) {
this.$refs[refId].doClose(); this.$refs[refId].doClose();
}, },
toLetnot(){ toLetnot() {
this.$router.history.push("/business/letnot") this.$router.history.push("/business/letnot");
}, },
toLetopn(){ toLetopn() {
this.$router.history.push("/business/letopn") this.$router.history.push("/business/letopn");
}, },
toLetdrw(){ toLetdrw() {
this.$router.history.push("/business/letdrw") this.$router.history.push("/business/letdrw");
}, },
toLetrsv(){ toLetrsv() {
this.$router.history.push("/business/letrsv") this.$router.history.push("/business/letrsv");
}, },
// handleReset: function () { // handleReset: function () {
...@@ -676,9 +760,6 @@ async getButtons(ownref){ ...@@ -676,9 +760,6 @@ async getButtons(ownref){
// instName: "", // instName: "",
// }; // };
// }, // },
}, },
created: function () {}, created: function () {},
}; };
......
...@@ -156,75 +156,29 @@ ...@@ -156,75 +156,29 @@
<!-- right --> <!-- right -->
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<!-- <c-col :span="24"> <c-col :span="4">
<el-form-item label="Further Handling" prop="betp.folwupopt"> <el-form-item label="" style="text-align: left" prop="docdisflg">
<c-fullbox> <c-checkbox v-model="docdisflg" @change="defaultFunction()"
<c-select >Discrepancies modified</c-checkbox
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')"
> >
<el-option
v-for="item in codes.payrol"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item> </el-form-item>
</c-col> --> </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 --> <!-- next part -->
<c-docpre
:model="model"
:argadr="{
path: 'btdgrp.blk.prsdocbe1',
grp: 'bttp',
code: 'docpre',
}"
>
</c-docpre>
<c-docpre <c-docpre
:model="model" :model="model"
:argadr="{ :argadr="{
path: 'btdgrp.blk.prsdoc', path: 'btdgrp.blk.prsdocbe2',
grp: 'bttp', grp: 'bttp',
code: 'docpre', code: 'docpre',
}" }"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment