Commit 80378c3a by nanrui

infbod和infbcd交易测试bug"重置"按钮功能实现

parent 8ebe91bb
...@@ -216,9 +216,23 @@ export default { ...@@ -216,9 +216,23 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async handleReset() { handleReset() {
this.model.infcon.seaownref = ""
this.model.infcon.opndatfrom = new Date();
this.model.infcon.opndatto = new Date();
this.model.infcon.searef = "";
this.model.infcon.pty.extkey = "";
this.model.infcon.usr.extkey = "";
this.model.infcon.payrol = "";
this.model.infcon.pty.nam = "";
this.model.infcon.seapty = "";
this.model.infcon.curtxt1 = "";
this.model.infcon.nam = "";
this.model.infcon.seaamtfr = "";
this.model.infcon.seaamtto = "";
this.model.infcon.seasta = "";
this.model.infcon.doctypcod = "";
this.model.infcon.godcod = "";
}, },
} }
\ No newline at end of file
...@@ -206,9 +206,22 @@ export default { ...@@ -206,9 +206,22 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async handleReset() { handleReset() {
this.model.infcon.seaownref = ""
this.model.infcon.opndatfrom = new Date();
this.model.infcon.opndatto = new Date();
this.model.infcon.searef = "";
this.model.infcon.pty.extkey = "";
this.model.infcon.usr.extkey = "";
this.model.infcon.payrol = "";
this.model.infcon.pty.nam = "";
this.model.infcon.seapty = "";
this.model.infcon.curtxt1 = "";
this.model.infcon.nam = "";
this.model.infcon.seaamtfr = "";
this.model.infcon.seaamtto = "";
this.model.infcon.seasta = "";
this.model.infcon.doctypcod = "";
}, },
} }
\ No newline at end of file
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
export default class Infbod{ export default class Infbod {
constructor () { constructor() {
this.data = { this.data = {
infcon:{ infcon: {
seaownref:"", // Own Reference .infcon.seaownref seaownref: "", // Own Reference .infcon.seaownref
nam:"", // Name .infcon.nam nam: "", // Name .infcon.nam
searef:"", // Party Reference .infcon.searef searef: "", // Party Reference .infcon.searef
pty:{ pty: {
extkey:"", // Select Single Party .infcon.pty.extkey extkey: "", // Select Single Party .infcon.pty.extkey
nam:"", // External Visible Name .infcon.pty.nam nam: "", // External Visible Name .infcon.pty.nam
}, },
seapty:"", // Party Name/BIC .infcon.seapty seapty: "", // Party Name/BIC .infcon.seapty
searol:"", // Role .infcon.searol searol: "", // Role .infcon.searol
opndatfrom:"", // Opening between .infcon.opndatfrom opndatfrom: "", // Opening between .infcon.opndatfrom
opndatto:"", // Open Date to .infcon.opndatto opndatto: "", // Open Date to .infcon.opndatto
usr:{ usr: {
extkey:"", // User ID .infcon.usr.extkey extkey: "", // User ID .infcon.usr.extkey
}, },
seasta:"", // Status .infcon.seasta seasta: "", // Status .infcon.seasta
seacur:"", // Currency .infcon.seacur seacur: "", // Currency .infcon.seacur
seaamtfr:"", // Amount between .infcon.seaamtfr seaamtfr: "", // Amount between .infcon.seaamtfr
seaamtto:"", // Amount to .infcon.seaamtto seaamtto: "", // Amount to .infcon.seaamtto
relflg:"", // Release Status .infcon.relflg relflg: "", // Release Status .infcon.relflg
cxmflg:"", // 是否显示查询码 .infcon.cxmflg cxmflg: "", // 是否显示查询码 .infcon.cxmflg
hndtyp:"", // Handling Type .infcon.hndtyp hndtyp: "", // Handling Type .infcon.hndtyp
chksubcon:"", // incl. all subcontracts .infcon.chksubcon chksubcon: "", // incl. all subcontracts .infcon.chksubcon
chktrnsta:"", // only active transactions .infcon.chktrnsta chktrnsta: "", // only active transactions .infcon.chktrnsta
trnstm:"", // stream for TRN to selected contract .infcon.trnstm trnstm: "", // stream for TRN to selected contract .infcon.trnstm
cbctxt:"", // CBS Column .infcon.cbctxt cbctxt: "", // CBS Column .infcon.cbctxt
cbbstm:"", // stream of CBBs .infcon.cbbstm cbbstm: "", // stream of CBBs .infcon.cbbstm
cbestm:"", // stream of CBEs .infcon.cbestm cbestm: "", // stream of CBEs .infcon.cbestm
feptxtlbl:"", // label used on FEP-Panel .infcon.feptxtlbl feptxtlbl: "", // label used on FEP-Panel .infcon.feptxtlbl
fcptxtlbl:"", // Text label used on FCP-panel .infcon.fcptxtlbl fcptxtlbl: "", // Text label used on FCP-panel .infcon.fcptxtlbl
fepfeecod:"", // Fee Code .infcon.fepfeecod fepfeecod: "", // Fee Code .infcon.fepfeecod
fepdsp:"", // Disposition .infcon.fepdsp fepdsp: "", // Disposition .infcon.fepdsp
fepstm:"", // stream for FEPs to selected contract .infcon.fepstm fepstm: "", // stream for FEPs to selected contract .infcon.fepstm
fcpstm:"", // stream of foreign charges .infcon.fcpstm fcpstm: "", // stream of foreign charges .infcon.fcpstm
fcpdsp:"", // Disposition .infcon.fcpdsp fcpdsp: "", // Disposition .infcon.fcpdsp
setflg:"", // show temporary settlement that already settled .infcon.setflg setflg: "", // show temporary settlement that already settled .infcon.setflg
sepdelflg:"", // show temporary settlement that already deleted .infcon.sepdelflg sepdelflg: "", // show temporary settlement that already deleted .infcon.sepdelflg
sepstm:"", // stream of SEPs .infcon.sepstm sepstm: "", // stream of SEPs .infcon.sepstm
seabucdatfro:"", // Booking date from .infcon.seabucdatfro seabucdatfro: "", // Booking date from .infcon.seabucdatfro
seabucdatto:"", // Booking date till used on GLEINFP .infcon.seabucdatto seabucdatto: "", // Booking date till used on GLEINFP .infcon.seabucdatto
seatrninr:"", // Transaction INR .infcon.seatrninr seatrninr: "", // Transaction INR .infcon.seatrninr
glestm:"", // Stream of GLEs .infcon.glestm glestm: "", // Stream of GLEs .infcon.glestm
smhcortyp:"", // Type of Document .infcon.smhcortyp smhcortyp: "", // Type of Document .infcon.smhcortyp
smhdatfrom:"", // Created between .infcon.smhdatfrom smhdatfrom: "", // Created between .infcon.smhdatfrom
smhdatto:"", // created till .infcon.smhdatto smhdatto: "", // created till .infcon.smhdatto
smhdir:"", // Direction .infcon.smhdir smhdir: "", // Direction .infcon.smhdir
chktrn:"", // Active only .infcon.chktrn chktrn: "", // Active only .infcon.chktrn
smhstm:"", // stream of documents to selected contract .infcon.smhstm smhstm: "", // stream of documents to selected contract .infcon.smhstm
sptinc:"", // Incoming .infcon.sptinc sptinc: "", // Incoming .infcon.sptinc
sptreg:"", // Registered .infcon.sptreg sptreg: "", // Registered .infcon.sptreg
sptpen:"", // Pending .infcon.sptpen sptpen: "", // Pending .infcon.sptpen
sptcor:"", // Correction .infcon.sptcor sptcor: "", // Correction .infcon.sptcor
sptdel:"", // Deleted .infcon.sptdel sptdel: "", // Deleted .infcon.sptdel
sptstm:"", // stream for SPT to selected contract .infcon.sptstm sptstm: "", // stream for SPT to selected contract .infcon.sptstm
diadatfrom:"", // Date from .infcon.diadatfrom diadatfrom: "", // Date from .infcon.diadatfrom
diadatto:"", // date till .infcon.diadatto diadatto: "", // date till .infcon.diadatto
diasta:"", // Status .infcon.diasta diasta: "", // Status .infcon.diasta
diastm:"", // stream for diaries to selected contract .infcon.diastm diastm: "", // stream for diaries to selected contract .infcon.diastm
liastm:"", // Stream for all engagements to selected contract .infcon.liastm liastm: "", // Stream for all engagements to selected contract .infcon.liastm
ordstm:"", // Stream for Orders for Contract .infcon.ordstm ordstm: "", // Stream for Orders for Contract .infcon.ordstm
objinr:"", objinr: "",
}, },
seadoctypcod:"", // Payment Condition .seadoctypcod seadoctypcod: "", // Payment Condition .seadoctypcod
infbut:{ infbut: {
dspstm:"", // display stream .infbut.dspstm dspstm: "", // display stream .infbut.dspstm
}, },
bodgrp:{ bodgrp: {
rec:{ rec: {
matpertyp:"", // Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp matpertyp: "", // Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp
ownref:"", // Reference .bodgrp.rec.ownref ownref: "", // Reference .bodgrp.rec.ownref
nam:"", // Name .bodgrp.rec.nam nam: "", // Name .bodgrp.rec.nam
dircolflg:"", // Direct Collection .bodgrp.rec.dircolflg dircolflg: "", // Direct Collection .bodgrp.rec.dircolflg
resflg:"", // Reservated Contract .bodgrp.rec.resflg resflg: "", // Reservated Contract .bodgrp.rec.resflg
rcvdat:"", // Order Date .bodgrp.rec.rcvdat rcvdat: "", // Order Date .bodgrp.rec.rcvdat
shpdat:"", // Shipment date .bodgrp.rec.shpdat shpdat: "", // Shipment date .bodgrp.rec.shpdat
predat:"", // Presentation Date .bodgrp.rec.predat predat: "", // Presentation Date .bodgrp.rec.predat
advdat:"", // Dispatched on .bodgrp.rec.advdat advdat: "", // Dispatched on .bodgrp.rec.advdat
doctypcod:"", // Collection Condition .bodgrp.rec.doctypcod doctypcod: "", // Collection Condition .bodgrp.rec.doctypcod
matdat:"", // Maturity Date .bodgrp.rec.matdat matdat: "", // Maturity Date .bodgrp.rec.matdat
matpercnt:"", // Tenor Specification .bodgrp.rec.matpercnt matpercnt: "", // Tenor Specification .bodgrp.rec.matpercnt
matperbeg:"", // Starting from .bodgrp.rec.matperbeg matperbeg: "", // Starting from .bodgrp.rec.matperbeg
stacty:"", // Country Code Risk Country! .bodgrp.rec.stacty stacty: "", // Country Code Risk Country! .bodgrp.rec.stacty
stagod:"", // Goods Code .bodgrp.rec.stagod stagod: "", // Goods Code .bodgrp.rec.stagod
invtyp:"", // Maturity Date .bodgrp.rec.invtyp invtyp: "", // Maturity Date .bodgrp.rec.invtyp
paydoctyp:"", // Financial Document .bodgrp.rec.paydoctyp paydoctyp: "", // Financial Document .bodgrp.rec.paydoctyp
paydocnum:"", // Document Number .bodgrp.rec.paydocnum paydocnum: "", // Document Number .bodgrp.rec.paydocnum
issdat:"", // Issued on .bodgrp.rec.issdat issdat: "", // Issued on .bodgrp.rec.issdat
ccdndrflg:"", // Truncation - Physical Document Kept w OWN .bodgrp.rec.ccdndrflg ccdndrflg: "", // Truncation - Physical Document Kept w OWN .bodgrp.rec.ccdndrflg
ccdpurflg:"", // Payment Under Reserve .bodgrp.rec.ccdpurflg ccdpurflg: "", // Payment Under Reserve .bodgrp.rec.ccdpurflg
shpfro:"", // Shipment from .bodgrp.rec.shpfro shpfro: "", // Shipment from .bodgrp.rec.shpfro
shpto:"", // For Transportation to .bodgrp.rec.shpto shpto: "", // For Transportation to .bodgrp.rec.shpto
chato:"", // Our Charges to .bodgrp.rec.chato chato: "", // Our Charges to .bodgrp.rec.chato
focflg:"", // Free of Payment .bodgrp.rec.focflg focflg: "", // Free of Payment .bodgrp.rec.focflg
waicolcod:"", // Protest Instructions .bodgrp.rec.waicolcod waicolcod: "", // Protest Instructions .bodgrp.rec.waicolcod
wairmtcod:"", // Waive Remitting Bank Charges .bodgrp.rec.wairmtcod wairmtcod: "", // Waive Remitting Bank Charges .bodgrp.rec.wairmtcod
othins:"", // Defer Payment until .bodgrp.rec.othins othins: "", // Defer Payment until .bodgrp.rec.othins
lescom:"", // Warehouse/Insurance .bodgrp.rec.lescom lescom: "", // Warehouse/Insurance .bodgrp.rec.lescom
}, },
cbs:{ cbs: {
max:{ max: {
cur:"", // Document Amount .bodgrp.cbs.max.cur cur: "", // Document Amount .bodgrp.cbs.max.cur
amt:"", // Document Amount .bodgrp.cbs.max.amt amt: "", // Document Amount .bodgrp.cbs.max.amt
}, },
opn1:{ opn1: {
cur:"", // Warehouse/Insurance .bodgrp.cbs.opn1.cur cur: "", // Warehouse/Insurance .bodgrp.cbs.opn1.cur
amt:"", // Open Amount .bodgrp.cbs.opn1.amt amt: "", // Open Amount .bodgrp.cbs.opn1.amt
}, },
}, },
blk:{ blk: {
bogdet:"", // Tenor Details Text .bodgrp.blk.bogdet bogdet: "", // Tenor Details Text .bodgrp.blk.bogdet
cctinsrcv:"", // Instructions Received .bodgrp.blk.cctinsrcv cctinsrcv: "", // Instructions Received .bodgrp.blk.cctinsrcv
cctinscol:"", // Collection Instruction .bodgrp.blk.cctinscol cctinscol: "", // Collection Instruction .bodgrp.blk.cctinscol
dftins:"", // Draft Instructions .bodgrp.blk.dftins dftins: "", // Draft Instructions .bodgrp.blk.dftins
intins:"", // Interest Instructions .bodgrp.blk.intins intins: "", // Interest Instructions .bodgrp.blk.intins
setinsbo:"", // Settlement insrtrctions .bodgrp.blk.setinsbo setinsbo: "", // Settlement insrtrctions .bodgrp.blk.setinsbo
agtaut:"", // Authority of Agent .bodgrp.blk.agtaut agtaut: "", // Authority of Agent .bodgrp.blk.agtaut
goddes:"", // Description of Goods .bodgrp.blk.goddes goddes: "", // Description of Goods .bodgrp.blk.goddes
colins:"", // Collection Instructions .bodgrp.blk.colins colins: "", // Collection Instructions .bodgrp.blk.colins
colinsflg:"", // Collection instructions modified .bodgrp.blk.colinsflg colinsflg: "", // Collection instructions modified .bodgrp.blk.colinsflg
proins:"", // Protest Instructions .bodgrp.blk.proins proins: "", // Protest Instructions .bodgrp.blk.proins
othins:"", // Other Instructions .bodgrp.blk.othins othins: "", // Other Instructions .bodgrp.blk.othins
chgtxt:"", // Charges Text .bodgrp.blk.chgtxt chgtxt: "", // Charges Text .bodgrp.blk.chgtxt
delins:"", // Delivery instructions .bodgrp.blk.delins delins: "", // Delivery instructions .bodgrp.blk.delins
}, },
drr:{ drr: {
pts:new Pts().data, pts: new Pts().data,
namelc:"", // 名称 .bodgrp.drr.namelc namelc: "", // 名称 .bodgrp.drr.namelc
adrelc:"", // 地址 .bodgrp.drr.adrelc adrelc: "", // 地址 .bodgrp.drr.adrelc
dbfadrblkcn:"", // Chinese address .bodgrp.drr.dbfadrblkcn dbfadrblkcn: "", // Chinese address .bodgrp.drr.dbfadrblkcn
}, },
col:{ col: {
pts:new Pts().data, pts: new Pts().data,
namelc:"", // 名称 .bodgrp.col.namelc namelc: "", // 名称 .bodgrp.col.namelc
adrelc:"", // 地址 .bodgrp.col.adrelc adrelc: "", // 地址 .bodgrp.col.adrelc
dbfadrblkcn:"", // Chinese address .bodgrp.col.dbfadrblkcn dbfadrblkcn: "", // Chinese address .bodgrp.col.dbfadrblkcn
}, },
dre:{ dre: {
pts:new Pts().data, pts: new Pts().data,
namelc:"", // 名称 .bodgrp.dre.namelc namelc: "", // 名称 .bodgrp.dre.namelc
adrelc:"", // 地址 .bodgrp.dre.adrelc adrelc: "", // 地址 .bodgrp.dre.adrelc
dbfadrblkcn:"", // Chinese address .bodgrp.dre.dbfadrblkcn dbfadrblkcn: "", // Chinese address .bodgrp.dre.dbfadrblkcn
}, },
}, },
recpan:{ recpan: {
recget:{ recget: {
sdamod:{ sdamod: {
seainf:"", // .recpan.recget.sdamod.seainf seainf: "", // .recpan.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.recget.sdamod.dadsnd dadsnd: "", // Drag Drop Sender .recpan.recget.sdamod.dadsnd
}, },
}, },
usr:{ usr: {
extkey:"", // Responsible User .recpan.usr.extkey extkey: "", // Responsible User .recpan.usr.extkey
}, },
usrget:{ usrget: {
sdamod:{ sdamod: {
seainf:"", // .recpan.usrget.sdamod.seainf seainf: "", // .recpan.usrget.sdamod.seainf
}, },
}, },
docgrdm:{ docgrdm: {
docdsclab:"", // Label of document description .recpan.docgrdm.docdsclab docdsclab: "", // Label of document description .recpan.docgrdm.docdsclab
}, },
drrp:{ drrp: {
ptsget:{ ptsget: {
sdamod:{ sdamod: {
seainf:"", // .recpan.drrp.ptsget.sdamod.seainf seainf: "", // .recpan.drrp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.drrp.ptsget.sdamod.dadsnd dadsnd: "", // Drag Drop Sender .recpan.drrp.ptsget.sdamod.dadsnd
}, },
}, },
}, },
colp:{ colp: {
ptsget:{ ptsget: {
sdamod:{ sdamod: {
seainf:"", // .recpan.colp.ptsget.sdamod.seainf seainf: "", // .recpan.colp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.colp.ptsget.sdamod.dadsnd dadsnd: "", // Drag Drop Sender .recpan.colp.ptsget.sdamod.dadsnd
}, },
}, },
}, },
drep:{ drep: {
ptsget:{ ptsget: {
sdamod:{ sdamod: {
seainf:"", // .recpan.drep.ptsget.sdamod.seainf seainf: "", // .recpan.drep.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.drep.ptsget.sdamod.dadsnd dadsnd: "", // Drag Drop Sender .recpan.drep.ptsget.sdamod.dadsnd
}, },
}, },
}, },
ptsaddp:{ ptsaddp: {
ptsaddg:[], // .recpan.ptsaddp.ptsaddg ptsaddg: [], // .recpan.ptsaddp.ptsaddg
}, },
}, },
mtabut:{ mtabut: {
coninf:{ coninf: {
oitinf:{ oitinf: {
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt labinftxt: "", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{ oit: {
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt inftxt: "", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev inflev: "", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
}, },
}, },
oitset:{ oitset: {
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt labinftxt: "", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{ oit: {
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt inftxt: "", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev inflev: "", // Infotext Level .mtabut.coninf.oitset.oit.inflev
}, },
}, },
conexedat:"", // 执行日期 .mtabut.coninf.conexedat conexedat: "", // 执行日期 .mtabut.coninf.conexedat
usr:{ usr: {
extkey:"", // User ID .mtabut.coninf.usr.extkey extkey: "", // User ID .mtabut.coninf.usr.extkey
}, },
}, },
}, },
prtpanblk:"", // XMLPanel prtpan的内置block .prtpanblk prtpanblk: "", // XMLPanel prtpan的内置block .prtpanblk
pageId: "" // ctx的key pageId: "" // ctx的key
} }
} }
......
...@@ -66,8 +66,6 @@ ...@@ -66,8 +66,6 @@
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="Role" prop="infcon.searol" style="width: 100%"> <el-form-item label="Role" prop="infcon.searol" style="width: 100%">
<!-- <c-select v-model="model.infcon.searol" style="width: 100%" placeholder="请选择Role">
</c-select> -->
<c-select v-model="model.infcon.payrol" style="width: 100%" placeholder="请选择Role"> <c-select v-model="model.infcon.payrol" style="width: 100%" placeholder="请选择Role">
<el-option v-for="item in codes.payrol" :key="item.value" :label="item.label" :value="item.value"> <el-option v-for="item in codes.payrol" :key="item.value" :label="item.label" :value="item.value">
</el-option> </el-option>
......
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