Commit f77272eb by niewei

前端info界面跳转

parent 26f1dc23
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Detsel{
constructor () {
this.data = {
selbut:{
dspamenbr:"", // Display No of amendments .selbut.dspamenbr
dsputlnbr:"", // Display No. of received docs. .selbut.dsputlnbr
dspclsdat:"", // Label Closed .selbut.dspclsdat
dsppndram:"", // Display Number of Req. of Amendment .selbut.dsppndram
sptpenlab:"", // Label showing pending items stored for contract .selbut.sptpenlab
trnpenlab:"", // Label showing stored uncommited transactions for contract .selbut.trnpenlab
trnpenlab_descr:"", // Description for TRNPENLAB .selbut.trnpenlab_descr
dspadvnbr:"", // Display No of advised sets .selbut.dspadvnbr
sptpenlab_descr:"", // Description for SPTPENLAB .selbut.sptpenlab_descr
},
dsprevnbr:"", // Revolving Done .dsprevnbr
dsppcrsta:"", // Display LC against Packing Credit .dsppcrsta
dsptrdclsdat:"", // Display Closing Date of Packing Credit .dsptrdclsdat
dspbfdclsdat:"", // Display Closing Date of Document Set .dspbfdclsdat
dspbpdclsdat:"", // Display Closing Date of Advance .dspbpdclsdat
dspdtdclsdat:"", // Diplay Closing Date of Transfer .dspdtdclsdat
dspmtdclsdat:"", // Display Closing Date of Docs of Transfer .dspmtdclsdat
dspprenbr:"", // Display Number of Transfer Documents .dspprenbr
dspltamenbr:"", // Display LT Amendments .dspltamenbr
sptpenltbt_descr:"", // Description for SPTPENLTBT .sptpenltbt_descr
sptpentrbp_descr:"", // Description for SPTPENTRBP .sptpentrbp_descr
trnpenltbt_descr:"", // Description for TRNPENLTBT .trnpenltbt_descr
trnpentrbp_descr:"", // Description for TRNPENTRBP .trnpentrbp_descr
sptpenltbt:"", // Label showing pending items stored for LT/BT .sptpenltbt
sptpentrbp:"", // Label showing pending items stored for TR/BP .sptpentrbp
trnpenltbt:"", // Label showing stored uncommited transactions for LT/BT .trnpenltbt
trnpentrbp:"", // Label showing stored uncommited transactions for TR/BP .trnpentrbp
dedgrp:{
rec:{
ownref:"", // 信用证编号 .dedgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .dedgrp.rec.nam
opndat:"", // 开证日期 .dedgrp.rec.opndat
shpdat:"", // Shipment Date .dedgrp.rec.shpdat
expdat:"", // 最迟交单日期/交单地 .dedgrp.rec.expdat
expplc:"", // 最迟交单日期/交单地 .dedgrp.rec.expplc
avbby:"", // 兑付方式 .dedgrp.rec.avbby
lcrtyp:"", // 信用证类型 .dedgrp.rec.lcrtyp
kzref:"", // 信用证编号 .dedgrp.rec.kzref
},
cbs:{
nom1:{
cur:"", // 信用证金额 .dedgrp.cbs.nom1.cur
amt:"", // Balance .dedgrp.cbs.nom1.amt
},
opn1:{
cur:"", // 信用证余额 .dedgrp.cbs.opn1.cur
amt:"", // Balance .dedgrp.cbs.opn1.amt
},
},
ben:{
pts:new Pts().data,
},
apl:{
pts:new Pts().data,
},
avbnam:"", // 指定银行 .dedgrp.avbnam
iss:{
pts:new Pts().data,
},
},
clsflg:"", // Show closed Contracts .clsflg
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .recget.sdamod.dadsnd
seainf:"", // .recget.sdamod.seainf
},
},
bfdgrp:{
rec:{
ownref:"", // 单据业务编号 .bfdgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .bfdgrp.rec.nam
doctypcod:"", // 单据类型 .bfdgrp.rec.doctypcod
matdat:"", // Maturity Date .bfdgrp.rec.matdat
orddat:"", // 远期单据到期日 .bfdgrp.rec.orddat
rcvdat:"", // 到单日期 .bfdgrp.rec.rcvdat
predat:"", // Presentation Date .bfdgrp.rec.predat
docsta:"", // 单据状态 .bfdgrp.rec.docsta
},
cbs:{
max:{
cur:"", // 单据金额 .bfdgrp.cbs.max.cur
amt:"", // Balance .bfdgrp.cbs.max.amt
},
opn1:{
cur:"", // 单据余额 .bfdgrp.cbs.opn1.cur
amt:"", // Balance .bfdgrp.cbs.opn1.amt
},
},
prb:{
pts:new Pts().data,
},
iss:{
pts:new Pts().data,
},
apl:{
pts:new Pts().data,
},
},
bfdget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .bfdget.sdamod.dadsnd
seainf:"", // .bfdget.sdamod.seainf
},
clsflg:"", // which contracts to show .bfdget.clsflg
},
mtdgrp:{
rec:{
ownref:"", // 单据业务编号 .mtdgrp.rec.ownref
nam:"", // Name of Bill Contract .mtdgrp.rec.nam
doctypcod:"", // 单据类型 .mtdgrp.rec.doctypcod
rcvdatbe2:"", // 远期单据到期日 .mtdgrp.rec.rcvdatbe2
docsta:"", // 单据状态 .mtdgrp.rec.docsta
matdat:"", // Maturity Date .mtdgrp.rec.matdat
},
cbs:{
max:{
cur:"", // 单据金额 .mtdgrp.cbs.max.cur
amt:"", // 单据金额 .mtdgrp.cbs.max.amt
},
opn1:{
cur:"", // 单据余额 .mtdgrp.cbs.opn1.cur
amt:"", // Balance .mtdgrp.cbs.opn1.amt
},
},
be1:{
pts:new Pts().data,
},
be2:{
pts:new Pts().data,
},
},
mtdget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .mtdget.sdamod.dadsnd
seainf:"", // .mtdget.sdamod.seainf
},
clsflg:"", // which contracts to show .mtdget.clsflg
},
bppnttyp:"", // 业务合同 .bppnttyp
bpdgrp:{
rec:{
ownref:"", // 融资业务编号 .bpdgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .bpdgrp.rec.nam
opndat:"", // 起息日期 .bpdgrp.rec.opndat
matdat:"", // Maturity Date .bpdgrp.rec.matdat
fintyp:"", // 融资类型 .bpdgrp.rec.fintyp
finact:"", // 融资帐号 .bpdgrp.rec.finact
},
cbs:{
max:{
cur:"", // 融资金额 .bpdgrp.cbs.max.cur
amt:"", // Balance .bpdgrp.cbs.max.amt
},
opn1:{
cur:"", // 押汇余额 .bpdgrp.cbs.opn1.cur
amt:"", // Balance .bpdgrp.cbs.opn1.amt
},
},
fia:{
pts:new Pts().data,
},
},
bpdget:{
clsflg:"", // which contracts to show .bpdget.clsflg
sdamod:{
dadsnd:"", // Drag Drop Sender .bpdget.sdamod.dadsnd
seainf:"", // .bpdget.sdamod.seainf
},
},
dtdgrp:{
rec:{
ownref:"", // Transfer Reference .dtdgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .dtdgrp.rec.nam
avbby:"", // Available by .dtdgrp.rec.avbby
shpdat:"", // Shipment Date .dtdgrp.rec.shpdat
opndat:"", // Date Issued/Form .dtdgrp.rec.opndat
lcrtyp:"", // Date Issued/Form .dtdgrp.rec.lcrtyp
expdat:"", // Date / Place of Expiry .dtdgrp.rec.expdat
expplc:"", // Date / Place of Expiry .dtdgrp.rec.expplc
},
cbs:{
nom1:{
cur:"", // Transfer L/C Amount .dtdgrp.cbs.nom1.cur
amt:"", // Balance .dtdgrp.cbs.nom1.amt
},
opn1:{
cur:"", // 信用证余额 .dtdgrp.cbs.opn1.cur
amt:"", // Balance .dtdgrp.cbs.opn1.amt
},
},
avt:{
pts:new Pts().data,
},
be1:{
pts:new Pts().data,
},
be2:{
pts:new Pts().data,
},
adt:{
pts:new Pts().data,
},
},
dtdget:{
clsflg:"", // which contracts to show .dtdget.clsflg
sdamod:{
dadsnd:"", // Drag Drop Sender .dtdget.sdamod.dadsnd
seainf:"", // .dtdget.sdamod.seainf
},
},
trpnttyp:"", // 业务合同 .trpnttyp
trdgrp:{
rec:{
ownref:"", // 融资业务编号 .trdgrp.rec.ownref
nam:"", // Name of Loan Contract .trdgrp.rec.nam
pctfin:"", // 融资百分比 .trdgrp.rec.pctfin
fintyp:"", // 融资类型 .trdgrp.rec.fintyp
matdat:"", // Maturity Date .trdgrp.rec.matdat
stttendat:"", // Start Date Tenor .trdgrp.rec.stttendat
},
cbs:{
max:{
cur:"", // 押汇金额 .trdgrp.cbs.max.cur
amt:"", // 押汇金额 .trdgrp.cbs.max.amt
},
opn1:{
cur:"", // 信用证余额 .trdgrp.cbs.opn1.cur
amt:"", // Balance .trdgrp.cbs.opn1.amt
},
},
fip:{
pts:new Pts().data,
},
},
trdget:{
clsflg:"", // which contracts to show .trdget.clsflg
sdamod:{
dadsnd:"", // Drag Drop Sender .trdget.sdamod.dadsnd
seainf:"", // .trdget.sdamod.seainf
},
},
zcdat:"", // 最迟装运日期\\最迟服务提供日 .zcdat
cnftxt:"", // Confirmation text .cnftxt
matbep:{
mattxtlab:"", // Label for MATTXT .matbep.mattxtlab
},
aamdtd:{
addamtflg:"", // Add. Amount .aamdtd.addamtflg
},
matbtp:{
mattxtlab:"", // Label for MATTXT .matbtp.mattxtlab
},
fpdgrp:{
rec:{
perint:"", // Percentage .fpdgrp.rec.perint
rdsflg:"", // Re-Discounting? .fpdgrp.rec.rdsflg
silflg:"", // Un-Disclosed? .fpdgrp.rec.silflg
funflg:"", // Funded? .fpdgrp.rec.funflg
opndatlc:"", // Date L/C Opened/Issued .fpdgrp.rec.opndatlc
expdatlc:"", // LC Date of Expire .fpdgrp.rec.expdatlc
opndat:"", // Opened on .fpdgrp.rec.opndat
expdat:"", // Forfaiting Agreement Date of Expiry .fpdgrp.rec.expdat
valdat:"", // This Purchase Offer is Valid until .fpdgrp.rec.valdat
ownref:"", // Reference .fpdgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .fpdgrp.rec.nam
},
sel:{
pts:new Pts().data,
},
cbs:{
max:{
cur:"", // Agree to Purchase .fpdgrp.cbs.max.cur
amt:"", // Balance .fpdgrp.cbs.max.amt
},
opn1:{
cur:"", // 信用证余额 .fpdgrp.cbs.opn1.cur
amt:"", // Balance .fpdgrp.cbs.opn1.amt
},
sld:{
cur:"", // Sold or Reserved .fpdgrp.cbs.sld.cur
amt:"", // Balance .fpdgrp.cbs.sld.amt
},
},
inv:{
pts:new Pts().data,
},
},
fpdget:{
clsflg:"", // which contracts to show .fpdget.clsflg
sdamod:{
dadsnd:"", // Drag Drop Sender .fpdget.sdamod.dadsnd
seainf:"", // .fpdget.sdamod.seainf
},
},
cfgfil:{
bitmap:"", // Bitmap for folder .cfgfil.bitmap
regside1:"", // Regside .cfgfil.regside1
regside2:"", // Regside .cfgfil.regside2
regside3:"", // Regside .cfgfil.regside3
regside4:"", // Regside .cfgfil.regside4
regside5:"", // Regside .cfgfil.regside5
regside6:"", // Regside .cfgfil.regside6
regside7:"", // Regside .cfgfil.regside7
regside8:"", // Regside .cfgfil.regside8
regside9:"", // Regside .cfgfil.regside9
regside10:"", // Regside .cfgfil.regside10
regside11:"", // Regside .cfgfil.regside11
regside12:"", // Regside .cfgfil.regside12
subtxt1:"", // submenu text 1 .cfgfil.subtxt1
subtxt2:"", // submenu text 2 .cfgfil.subtxt2
subtxt3:"", // submenu text 3 .cfgfil.subtxt3
subtxt4:"", // submenu text 4 .cfgfil.subtxt4
subtxt5:"", // submenu text 5 .cfgfil.subtxt5
subtxt6:"", // submenu text 6 .cfgfil.subtxt6
subtxt7:"", // submenu text 7 .cfgfil.subtxt7
subtxt8:"", // submenu text 8 .cfgfil.subtxt8
subtxt9:"", // submenu text 9 .cfgfil.subtxt9
subtxt10:"", // submenu text 10 .cfgfil.subtxt10
subtxt11:"", // submenu text 11 .cfgfil.subtxt11
regtxt1:"", // Register text 1 .cfgfil.regtxt1
regtxt2:"", // Register text 2 .cfgfil.regtxt2
regtxt3:"", // Register text 3 .cfgfil.regtxt3
regtxt4:"", // Register text 4 .cfgfil.regtxt4
regtxt5:"", // Register text 5 .cfgfil.regtxt5
regtxt6:"", // Register text 6 .cfgfil.regtxt6
regtxt7:"", // Register text 7 .cfgfil.regtxt7
regtxt8:"", // Register text 8 .cfgfil.regtxt8
regtxt9:"", // Register text 9 .cfgfil.regtxt9
regtxt10:"", // Register text 10 .cfgfil.regtxt10
regtxt11:"", // Register text 11 .cfgfil.regtxt11
regtxt12:"", // Register text 12 .cfgfil.regtxt12
hotsub1:"", // hotspot submenu 1 .cfgfil.hotsub1
hotsub2:"", // hotspot submenu 1 .cfgfil.hotsub2
hotsub3:"", // hotspot submenu 1 .cfgfil.hotsub3
hotsub4:"", // hotspot submenu 1 .cfgfil.hotsub4
hotsub5:"", // hotspot submenu 1 .cfgfil.hotsub5
hotsub6:"", // hotspot submenu 1 .cfgfil.hotsub6
hotsub7:"", // hotspot submenu 1 .cfgfil.hotsub7
hotsub8:"", // hotspot submenu 1 .cfgfil.hotsub8
hotsub9:"", // hotspot submenu 1 .cfgfil.hotsub9
hotsub10:"", // hotspot submenu 1 .cfgfil.hotsub10
hotsub11:"", // hotspot submenu 1 .cfgfil.hotsub11
hotreg1:"", // hotspot reg1 .cfgfil.hotreg1
hotreg2:"", // hotspot reg2 .cfgfil.hotreg2
hotreg3:"", // hotspot reg3 .cfgfil.hotreg3
hotreg4:"", // hotspot reg4 .cfgfil.hotreg4
hotreg5:"", // hotspot reg5 .cfgfil.hotreg5
hotreg6:"", // hotspot reg6 .cfgfil.hotreg6
hotreg7:"", // hotspot reg7 .cfgfil.hotreg7
hotreg8:"", // hotspot reg8 .cfgfil.hotreg8
hotreg9:"", // hotspot reg9 .cfgfil.hotreg9
hotreg10:"", // hotspot reg10 .cfgfil.hotreg10
hotreg11:"", // hotspot reg11 .cfgfil.hotreg11
hotreg12:"", // hotspot reg12 .cfgfil.hotreg12
subtrn1:"", // Submenu trn 1 .cfgfil.subtrn1
subtrn2:"", // Submenu trn 2 .cfgfil.subtrn2
subtrn3:"", // Submenu trn 3 .cfgfil.subtrn3
subtrn4:"", // Submenu trn 4 .cfgfil.subtrn4
subtrn5:"", // Submenu trn 5 .cfgfil.subtrn5
subtrn6:"", // Submenu trn 6 .cfgfil.subtrn6
subtrn7:"", // Submenu trn 7 .cfgfil.subtrn7
subtrn8:"", // Submenu trn 8 .cfgfil.subtrn8
subtrn9:"", // Submenu trn 9 .cfgfil.subtrn9
subtrn10:"", // Submenu trn 10 .cfgfil.subtrn10
subtrn11:"", // Submenu trn 11 .cfgfil.subtrn11
},
dfdgrp:{
rec:{
ownref:"", // 代付业务编号 .dfdgrp.rec.ownref
nam:"", // Name of Loan Contract .dfdgrp.rec.nam
opndat:"", // 代付日期 .dfdgrp.rec.opndat
stttendat:"", // 代付起始日 .dfdgrp.rec.stttendat
matdat:"", // Maturity Date .dfdgrp.rec.matdat
fintyp:"", // Type .dfdgrp.rec.fintyp
},
cbs:{
max:{
amt:"", // 代付本金 .dfdgrp.cbs.max.amt
cur:"", // 代付本金 .dfdgrp.cbs.max.cur
},
opn1:{
cur:"", // 代付金额 .dfdgrp.cbs.opn1.cur
amt:"", // 代付金额 .dfdgrp.cbs.opn1.amt
},
},
apl:{
pts:new Pts().data,
},
dff:{
pts:new Pts().data,
},
},
dfdget:{
clsflg:"", // which contracts to show .dfdget.clsflg
sdamod:{
seainf:"", // .dfdget.sdamod.seainf
},
},
pageId: "" // ctx的key
}
export default class Detsel {
constructor() {
this.data = {
selbut: {
dspamenbr: "", // Display No of amendments .selbut.dspamenbr
dsputlnbr: "", // Display No. of received docs. .selbut.dsputlnbr
dspclsdat: "", // Label Closed .selbut.dspclsdat
dsppndram: "", // Display Number of Req. of Amendment .selbut.dsppndram
sptpenlab: "", // Label showing pending items stored for contract .selbut.sptpenlab
trnpenlab: "", // Label showing stored uncommited transactions for contract .selbut.trnpenlab
trnpenlab_descr: "", // Description for TRNPENLAB .selbut.trnpenlab_descr
dspadvnbr: "", // Display No of advised sets .selbut.dspadvnbr
sptpenlab_descr: "", // Description for SPTPENLAB .selbut.sptpenlab_descr
},
dsprevnbr: "", // Revolving Done .dsprevnbr
dsppcrsta: "", // Display LC against Packing Credit .dsppcrsta
dsptrdclsdat: "", // Display Closing Date of Packing Credit .dsptrdclsdat
dspbfdclsdat: "", // Display Closing Date of Document Set .dspbfdclsdat
dspbpdclsdat: "", // Display Closing Date of Advance .dspbpdclsdat
dspdtdclsdat: "", // Diplay Closing Date of Transfer .dspdtdclsdat
dspmtdclsdat: "", // Display Closing Date of Docs of Transfer .dspmtdclsdat
dspprenbr: "", // Display Number of Transfer Documents .dspprenbr
dspltamenbr: "", // Display LT Amendments .dspltamenbr
sptpenltbt_descr: "", // Description for SPTPENLTBT .sptpenltbt_descr
sptpentrbp_descr: "", // Description for SPTPENTRBP .sptpentrbp_descr
trnpenltbt_descr: "", // Description for TRNPENLTBT .trnpenltbt_descr
trnpentrbp_descr: "", // Description for TRNPENTRBP .trnpentrbp_descr
sptpenltbt: "", // Label showing pending items stored for LT/BT .sptpenltbt
sptpentrbp: "", // Label showing pending items stored for TR/BP .sptpentrbp
trnpenltbt: "", // Label showing stored uncommited transactions for LT/BT .trnpenltbt
trnpentrbp: "", // Label showing stored uncommited transactions for TR/BP .trnpentrbp
dedgrp: {
rec: {
ownref: "", // 信用证编号 .dedgrp.rec.ownref
nam: "", // Externally Displayed Name to Identify the Contract .dedgrp.rec.nam
opndat: "", // 开证日期 .dedgrp.rec.opndat
shpdat: "", // Shipment Date .dedgrp.rec.shpdat
expdat: "", // 最迟交单日期/交单地 .dedgrp.rec.expdat
expplc: "", // 最迟交单日期/交单地 .dedgrp.rec.expplc
avbby: "", // 兑付方式 .dedgrp.rec.avbby
lcrtyp: "", // 信用证类型 .dedgrp.rec.lcrtyp
kzref: "", // 信用证编号 .dedgrp.rec.kzref
},
cbs: {
nom1: {
cur: "", // 信用证金额 .dedgrp.cbs.nom1.cur
amt: "", // Balance .dedgrp.cbs.nom1.amt
},
opn1: {
cur: "", // 信用证余额 .dedgrp.cbs.opn1.cur
amt: "", // Balance .dedgrp.cbs.opn1.amt
},
},
ben: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
avbnam: "", // 指定银行 .dedgrp.avbnam
iss: {
pts: new Pts().data,
},
},
clsflg: "", // Show closed Contracts .clsflg
recget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .recget.sdamod.dadsnd
seainf: "", // .recget.sdamod.seainf
},
},
bfdgrp: {
rec: {
ownref: "", // 单据业务编号 .bfdgrp.rec.ownref
nam: "", // Externally Displayed Name to Identify the Contract .bfdgrp.rec.nam
doctypcod: "", // 单据类型 .bfdgrp.rec.doctypcod
matdat: "", // Maturity Date .bfdgrp.rec.matdat
orddat: "", // 远期单据到期日 .bfdgrp.rec.orddat
rcvdat: "", // 到单日期 .bfdgrp.rec.rcvdat
predat: "", // Presentation Date .bfdgrp.rec.predat
docsta: "", // 单据状态 .bfdgrp.rec.docsta
},
cbs: {
max: {
cur: "", // 单据金额 .bfdgrp.cbs.max.cur
amt: "", // Balance .bfdgrp.cbs.max.amt
},
opn1: {
cur: "", // 单据余额 .bfdgrp.cbs.opn1.cur
amt: "", // Balance .bfdgrp.cbs.opn1.amt
},
},
prb: {
pts: new Pts().data,
},
iss: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
},
bfdget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .bfdget.sdamod.dadsnd
seainf: "", // .bfdget.sdamod.seainf
},
clsflg: "", // which contracts to show .bfdget.clsflg
},
mtdgrp: {
rec: {
ownref: "", // 单据业务编号 .mtdgrp.rec.ownref
nam: "", // Name of Bill Contract .mtdgrp.rec.nam
doctypcod: "", // 单据类型 .mtdgrp.rec.doctypcod
rcvdatbe2: "", // 远期单据到期日 .mtdgrp.rec.rcvdatbe2
docsta: "", // 单据状态 .mtdgrp.rec.docsta
matdat: "", // Maturity Date .mtdgrp.rec.matdat
},
cbs: {
max: {
cur: "", // 单据金额 .mtdgrp.cbs.max.cur
amt: "", // 单据金额 .mtdgrp.cbs.max.amt
},
opn1: {
cur: "", // 单据余额 .mtdgrp.cbs.opn1.cur
amt: "", // Balance .mtdgrp.cbs.opn1.amt
},
},
be1: {
pts: new Pts().data,
},
be2: {
pts: new Pts().data,
},
},
mtdget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .mtdget.sdamod.dadsnd
seainf: "", // .mtdget.sdamod.seainf
},
clsflg: "", // which contracts to show .mtdget.clsflg
},
bppnttyp: "", // 业务合同 .bppnttyp
bpdgrp: {
rec: {
ownref: "", // 融资业务编号 .bpdgrp.rec.ownref
nam: "", // Externally Displayed Name to Identify the Contract .bpdgrp.rec.nam
opndat: "", // 起息日期 .bpdgrp.rec.opndat
matdat: "", // Maturity Date .bpdgrp.rec.matdat
fintyp: "", // 融资类型 .bpdgrp.rec.fintyp
finact: "", // 融资帐号 .bpdgrp.rec.finact
},
cbs: {
max: {
cur: "", // 融资金额 .bpdgrp.cbs.max.cur
amt: "", // Balance .bpdgrp.cbs.max.amt
},
opn1: {
cur: "", // 押汇余额 .bpdgrp.cbs.opn1.cur
amt: "", // Balance .bpdgrp.cbs.opn1.amt
},
},
fia: {
pts: new Pts().data,
},
},
bpdget: {
clsflg: "", // which contracts to show .bpdget.clsflg
sdamod: {
dadsnd: "", // Drag Drop Sender .bpdget.sdamod.dadsnd
seainf: "", // .bpdget.sdamod.seainf
},
},
dtdgrp: {
rec: {
ownref: "", // Transfer Reference .dtdgrp.rec.ownref
nam: "", // Externally Displayed Name to Identify the Contract .dtdgrp.rec.nam
avbby: "", // Available by .dtdgrp.rec.avbby
shpdat: "", // Shipment Date .dtdgrp.rec.shpdat
opndat: "", // Date Issued/Form .dtdgrp.rec.opndat
lcrtyp: "", // Date Issued/Form .dtdgrp.rec.lcrtyp
expdat: "", // Date / Place of Expiry .dtdgrp.rec.expdat
expplc: "", // Date / Place of Expiry .dtdgrp.rec.expplc
},
cbs: {
nom1: {
cur: "", // Transfer L/C Amount .dtdgrp.cbs.nom1.cur
amt: "", // Balance .dtdgrp.cbs.nom1.amt
},
opn1: {
cur: "", // 信用证余额 .dtdgrp.cbs.opn1.cur
amt: "", // Balance .dtdgrp.cbs.opn1.amt
},
},
avt: {
pts: new Pts().data,
},
be1: {
pts: new Pts().data,
},
be2: {
pts: new Pts().data,
},
adt: {
pts: new Pts().data,
},
},
dtdget: {
clsflg: "", // which contracts to show .dtdget.clsflg
sdamod: {
dadsnd: "", // Drag Drop Sender .dtdget.sdamod.dadsnd
seainf: "", // .dtdget.sdamod.seainf
},
},
trpnttyp: "", // 业务合同 .trpnttyp
trdgrp: {
rec: {
ownref: "", // 融资业务编号 .trdgrp.rec.ownref
nam: "", // Name of Loan Contract .trdgrp.rec.nam
pctfin: "", // 融资百分比 .trdgrp.rec.pctfin
fintyp: "", // 融资类型 .trdgrp.rec.fintyp
matdat: "", // Maturity Date .trdgrp.rec.matdat
stttendat: "", // Start Date Tenor .trdgrp.rec.stttendat
},
cbs: {
max: {
cur: "", // 押汇金额 .trdgrp.cbs.max.cur
amt: "", // 押汇金额 .trdgrp.cbs.max.amt
},
opn1: {
cur: "", // 信用证余额 .trdgrp.cbs.opn1.cur
amt: "", // Balance .trdgrp.cbs.opn1.amt
},
},
fip: {
pts: new Pts().data,
},
},
trdget: {
clsflg: "", // which contracts to show .trdget.clsflg
sdamod: {
dadsnd: "", // Drag Drop Sender .trdget.sdamod.dadsnd
seainf: "", // .trdget.sdamod.seainf
},
},
zcdat: "", // 最迟装运日期\\最迟服务提供日 .zcdat
cnftxt: "", // Confirmation text .cnftxt
matbep: {
mattxtlab: "", // Label for MATTXT .matbep.mattxtlab
},
aamdtd: {
addamtflg: "", // Add. Amount .aamdtd.addamtflg
},
matbtp: {
mattxtlab: "", // Label for MATTXT .matbtp.mattxtlab
},
fpdgrp: {
rec: {
perint: "", // Percentage .fpdgrp.rec.perint
rdsflg: "", // Re-Discounting? .fpdgrp.rec.rdsflg
silflg: "", // Un-Disclosed? .fpdgrp.rec.silflg
funflg: "", // Funded? .fpdgrp.rec.funflg
opndatlc: "", // Date L/C Opened/Issued .fpdgrp.rec.opndatlc
expdatlc: "", // LC Date of Expire .fpdgrp.rec.expdatlc
opndat: "", // Opened on .fpdgrp.rec.opndat
expdat: "", // Forfaiting Agreement Date of Expiry .fpdgrp.rec.expdat
valdat: "", // This Purchase Offer is Valid until .fpdgrp.rec.valdat
ownref: "", // Reference .fpdgrp.rec.ownref
nam: "", // Externally Displayed Name to Identify the Contract .fpdgrp.rec.nam
},
sel: {
pts: new Pts().data,
},
cbs: {
max: {
cur: "", // Agree to Purchase .fpdgrp.cbs.max.cur
amt: "", // Balance .fpdgrp.cbs.max.amt
},
opn1: {
cur: "", // 信用证余额 .fpdgrp.cbs.opn1.cur
amt: "", // Balance .fpdgrp.cbs.opn1.amt
},
sld: {
cur: "", // Sold or Reserved .fpdgrp.cbs.sld.cur
amt: "", // Balance .fpdgrp.cbs.sld.amt
},
},
inv: {
pts: new Pts().data,
},
},
fpdget: {
clsflg: "", // which contracts to show .fpdget.clsflg
sdamod: {
dadsnd: "", // Drag Drop Sender .fpdget.sdamod.dadsnd
seainf: "", // .fpdget.sdamod.seainf
},
},
cfgfil: {
btnstm: "", //按钮数据
bitmap: "", // Bitmap for folder .cfgfil.bitmap
regside1: "", // Regside .cfgfil.regside1
regside2: "", // Regside .cfgfil.regside2
regside3: "", // Regside .cfgfil.regside3
regside4: "", // Regside .cfgfil.regside4
regside5: "", // Regside .cfgfil.regside5
regside6: "", // Regside .cfgfil.regside6
regside7: "", // Regside .cfgfil.regside7
regside8: "", // Regside .cfgfil.regside8
regside9: "", // Regside .cfgfil.regside9
regside10: "", // Regside .cfgfil.regside10
regside11: "", // Regside .cfgfil.regside11
regside12: "", // Regside .cfgfil.regside12
subtxt1: "", // submenu text 1 .cfgfil.subtxt1
subtxt2: "", // submenu text 2 .cfgfil.subtxt2
subtxt3: "", // submenu text 3 .cfgfil.subtxt3
subtxt4: "", // submenu text 4 .cfgfil.subtxt4
subtxt5: "", // submenu text 5 .cfgfil.subtxt5
subtxt6: "", // submenu text 6 .cfgfil.subtxt6
subtxt7: "", // submenu text 7 .cfgfil.subtxt7
subtxt8: "", // submenu text 8 .cfgfil.subtxt8
subtxt9: "", // submenu text 9 .cfgfil.subtxt9
subtxt10: "", // submenu text 10 .cfgfil.subtxt10
subtxt11: "", // submenu text 11 .cfgfil.subtxt11
regtxt1: "", // Register text 1 .cfgfil.regtxt1
regtxt2: "", // Register text 2 .cfgfil.regtxt2
regtxt3: "", // Register text 3 .cfgfil.regtxt3
regtxt4: "", // Register text 4 .cfgfil.regtxt4
regtxt5: "", // Register text 5 .cfgfil.regtxt5
regtxt6: "", // Register text 6 .cfgfil.regtxt6
regtxt7: "", // Register text 7 .cfgfil.regtxt7
regtxt8: "", // Register text 8 .cfgfil.regtxt8
regtxt9: "", // Register text 9 .cfgfil.regtxt9
regtxt10: "", // Register text 10 .cfgfil.regtxt10
regtxt11: "", // Register text 11 .cfgfil.regtxt11
regtxt12: "", // Register text 12 .cfgfil.regtxt12
hotsub1: "", // hotspot submenu 1 .cfgfil.hotsub1
hotsub2: "", // hotspot submenu 1 .cfgfil.hotsub2
hotsub3: "", // hotspot submenu 1 .cfgfil.hotsub3
hotsub4: "", // hotspot submenu 1 .cfgfil.hotsub4
hotsub5: "", // hotspot submenu 1 .cfgfil.hotsub5
hotsub6: "", // hotspot submenu 1 .cfgfil.hotsub6
hotsub7: "", // hotspot submenu 1 .cfgfil.hotsub7
hotsub8: "", // hotspot submenu 1 .cfgfil.hotsub8
hotsub9: "", // hotspot submenu 1 .cfgfil.hotsub9
hotsub10: "", // hotspot submenu 1 .cfgfil.hotsub10
hotsub11: "", // hotspot submenu 1 .cfgfil.hotsub11
hotreg1: "", // hotspot reg1 .cfgfil.hotreg1
hotreg2: "", // hotspot reg2 .cfgfil.hotreg2
hotreg3: "", // hotspot reg3 .cfgfil.hotreg3
hotreg4: "", // hotspot reg4 .cfgfil.hotreg4
hotreg5: "", // hotspot reg5 .cfgfil.hotreg5
hotreg6: "", // hotspot reg6 .cfgfil.hotreg6
hotreg7: "", // hotspot reg7 .cfgfil.hotreg7
hotreg8: "", // hotspot reg8 .cfgfil.hotreg8
hotreg9: "", // hotspot reg9 .cfgfil.hotreg9
hotreg10: "", // hotspot reg10 .cfgfil.hotreg10
hotreg11: "", // hotspot reg11 .cfgfil.hotreg11
hotreg12: "", // hotspot reg12 .cfgfil.hotreg12
subtrn1: "", // Submenu trn 1 .cfgfil.subtrn1
subtrn2: "", // Submenu trn 2 .cfgfil.subtrn2
subtrn3: "", // Submenu trn 3 .cfgfil.subtrn3
subtrn4: "", // Submenu trn 4 .cfgfil.subtrn4
subtrn5: "", // Submenu trn 5 .cfgfil.subtrn5
subtrn6: "", // Submenu trn 6 .cfgfil.subtrn6
subtrn7: "", // Submenu trn 7 .cfgfil.subtrn7
subtrn8: "", // Submenu trn 8 .cfgfil.subtrn8
subtrn9: "", // Submenu trn 9 .cfgfil.subtrn9
subtrn10: "", // Submenu trn 10 .cfgfil.subtrn10
subtrn11: "", // Submenu trn 11 .cfgfil.subtrn11
},
dfdgrp: {
rec: {
ownref: "", // 代付业务编号 .dfdgrp.rec.ownref
nam: "", // Name of Loan Contract .dfdgrp.rec.nam
opndat: "", // 代付日期 .dfdgrp.rec.opndat
stttendat: "", // 代付起始日 .dfdgrp.rec.stttendat
matdat: "", // Maturity Date .dfdgrp.rec.matdat
fintyp: "", // Type .dfdgrp.rec.fintyp
},
cbs: {
max: {
amt: "", // 代付本金 .dfdgrp.cbs.max.amt
cur: "", // 代付本金 .dfdgrp.cbs.max.cur
},
opn1: {
cur: "", // 代付金额 .dfdgrp.cbs.opn1.cur
amt: "", // 代付金额 .dfdgrp.cbs.opn1.amt
},
},
apl: {
pts: new Pts().data,
},
dff: {
pts: new Pts().data,
},
},
dfdget: {
clsflg: "", // which contracts to show .dfdget.clsflg
sdamod: {
seainf: "", // .dfdget.sdamod.seainf
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -2,23 +2,43 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onInfbutSearow (callback) {
async onInfbutSearow () {
let rtnmsg = await this.executeRule("infbut.searow")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
this.$message({
type: 'success',
message: '获取成功!'
});
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
callback();
},
async handleSearch () {
this.stmData.data = [];
let opndatfrom = this.model.infcon.opndatfrom;
if (!opndatfrom || opndatfrom == '') {
this.$notify.error({ title: '错误', message: '查询开始日期必输!' });
return;
}
let opndatto = this.model.infcon.opndatto;
if (!opndatto || opndatto == '') {
this.$notify.error({ title: '错误', message: '查询结束日期必输!' });
return;
}
let rtnmsg = await this.executeRule("infbut.searow")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
//this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async handleReset () {
},
async onInfbutDsp () {
let rtnmsg = await this.executeRule("infbut.dsp")
if (rtnmsg.respCode == SUCCESS) {
......@@ -90,4 +110,15 @@ export default {
}
},
display (index, row) {
debugger;
Api.post("getTrnNameByInr", { inr: row['INR'] }).then((res) => {
if (res.respCode == SUCCESS) {
const trnName = res.data.toLowerCase();
let viewurl = "/#/display/" + trnName + "?trn=" + row['INR']
window.open(viewurl, 'newwindow', 'height=1500,width=1200,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
}
});
},
}
\ No newline at end of file
......@@ -65,6 +65,7 @@ export default class Infbfd {
diastm: "", // stream for diaries to selected contract .infcon.diastm
liastm: "", // Stream for all engagements to selected contract .infcon.liastm
ordstm: "", // Stream for Orders for Contract .infcon.ordstm
objinr: "",
},
seadoctypcod: "", // Document Type .seadoctypcod
infbut: {
......
......@@ -2,21 +2,41 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onInfbutSearow (callback) {
async onInfbutSearow () {
let rtnmsg = await this.executeRule("infbut.searow")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async handleSearch () {
this.stmData.data = [];
let opndatfrom = this.model.infcon.opndatfrom;
if (!opndatfrom || opndatfrom == '') {
this.$notify.error({ title: '错误', message: '查询开始日期必输!' });
return;
}
let opndatto = this.model.infcon.opndatto;
if (!opndatto || opndatto == '') {
this.$notify.error({ title: '错误', message: '查询结束日期必输!' });
return;
}
let rtnmsg = await this.executeRule("infbut.searow")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
//this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm
this.$message({
type: 'success',
message: '获取成功!'
});
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
callback();
},
async handleReset () {
},
async onInfbutDsp () {
let rtnmsg = await this.executeRule("infbut.dsp")
......@@ -179,4 +199,15 @@ export default {
}
},
display (index, row) {
debugger;
Api.post("getTrnNameByInr", { inr: row['INR'] }).then((res) => {
if (res.respCode == SUCCESS) {
const trnName = res.data.toLowerCase();
let viewurl = "/#/display/" + trnName + "?trn=" + row['INR']
window.open(viewurl, 'newwindow', 'height=1500,width=1200,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
}
});
},
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Infdet{
constructor () {
this.data = {
infcon:{
seaownref:"", // Own Reference .infcon.seaownref
nam:"", // Name .infcon.nam
searef:"", // Party Reference .infcon.searef
pty:{
extkey:"", // Select Single Party .infcon.pty.extkey
nam:"", // External Visible Name .infcon.pty.nam
},
seapty:"", // Party Name/BIC .infcon.seapty
searol:"", // Role .infcon.searol
opndatfrom:"", // Opening between .infcon.opndatfrom
opndatto:"", // Open Date to .infcon.opndatto
usr:{
extkey:"", // User ID .infcon.usr.extkey
},
seasta:"", // Status .infcon.seasta
seacur:"", // Currency .infcon.seacur
seaamtfr:"", // Amount between .infcon.seaamtfr
seaamtto:"", // Amount to .infcon.seaamtto
relflg:"", // Release Status .infcon.relflg
cxmflg:"", // 是否显示查询码 .infcon.cxmflg
hndtyp:"", // Handling Type .infcon.hndtyp
chksubcon:"", // incl. all subcontracts .infcon.chksubcon
chktrnsta:"", // only active transactions .infcon.chktrnsta
trnstm:"", // stream for TRN to selected contract .infcon.trnstm
cbctxt:"", // CBS Column .infcon.cbctxt
cbbstm:"", // stream of CBBs .infcon.cbbstm
cbestm:"", // stream of CBEs .infcon.cbestm
feptxtlbl:"", // label used on FEP-Panel .infcon.feptxtlbl
fcptxtlbl:"", // Text label used on FCP-panel .infcon.fcptxtlbl
fepfeecod:"", // Fee Code .infcon.fepfeecod
fepdsp:"", // Disposition .infcon.fepdsp
fepstm:"", // stream for FEPs to selected contract .infcon.fepstm
fcpstm:"", // stream of foreign charges .infcon.fcpstm
fcpdsp:"", // Disposition .infcon.fcpdsp
setflg:"", // show temporary settlement that already settled .infcon.setflg
sepdelflg:"", // show temporary settlement that already deleted .infcon.sepdelflg
sepstm:"", // stream of SEPs .infcon.sepstm
seabucdatfro:"", // Booking date from .infcon.seabucdatfro
seabucdatto:"", // Booking date till used on GLEINFP .infcon.seabucdatto
seatrninr:"", // Transaction INR .infcon.seatrninr
glestm:"", // Stream of GLEs .infcon.glestm
smhcortyp:"", // Type of Document .infcon.smhcortyp
smhdatfrom:"", // Created between .infcon.smhdatfrom
smhdatto:"", // created till .infcon.smhdatto
smhdir:"", // Direction .infcon.smhdir
chktrn:"", // Active only .infcon.chktrn
smhstm:"", // stream of documents to selected contract .infcon.smhstm
sptinc:"", // Incoming .infcon.sptinc
sptreg:"", // Registered .infcon.sptreg
sptpen:"", // Pending .infcon.sptpen
sptcor:"", // Correction .infcon.sptcor
sptdel:"", // Deleted .infcon.sptdel
sptstm:"", // stream for SPT to selected contract .infcon.sptstm
diadatfrom:"", // Date from .infcon.diadatfrom
diadatto:"", // date till .infcon.diadatto
diasta:"", // Status .infcon.diasta
diastm:"", // stream for diaries to selected contract .infcon.diastm
liastm:"", // Stream for all engagements to selected contract .infcon.liastm
ordstm:"", // Stream for Orders for Contract .infcon.ordstm
},
sealcrtyp:"", // Form of L/C .sealcrtyp
infbut:{
dspstm:"", // display stream .infbut.dspstm
},
mylx:"", // 槸易类型 .mylx
elcflg:"", // 是否通过电证系统 .elcflg
recpan:{
zchday:"", // 最迟装运/服务提供日 .recpan.zchday
usr:{
extkey:"", // 所属客户经理 .recpan.usr.extkey
},
benp:{
ptsget:{
sdamod:{
seainf:"", // .recpan.benp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.benp.ptsget.sdamod.dadsnd
},
},
},
aplp:{
ptsget:{
sdamod:{
seainf:"", // .recpan.aplp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.aplp.ptsget.sdamod.dadsnd
},
},
},
recget:{
sdamod:{
seainf:"", // .recpan.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.recget.sdamod.dadsnd
},
},
usrget:{
sdamod:{
seainf:"", // .recpan.usrget.sdamod.seainf
},
},
upamt:"", // 大写金额 .recpan.upamt
dzlhhh:"", // 发起参与机构 .recpan.dzlhhh
hwfwms:"", // 槧物/服务描述 .recpan.hwfwms
hwtype:"", // 槧物\\服务类型 .recpan.hwtype
fenzhu:"", // 分期装运 .recpan.fenzhu
sdysfs:"", // 手输运输方式/服务提供方式 .recpan.sdysfs
hwzydi:"", // '运装运地/服务提供低 .recpan.hwzydi
},
dedgrp:{
rec:{
ownref:"", // 编号 .dedgrp.rec.ownref
opndat:"", // 开立日期 .dedgrp.rec.opndat
shpdat:"", // Shipment Date .dedgrp.rec.shpdat
expdat:"", // 有效日期 .dedgrp.rec.expdat
expplc:"", // 有效地点 .dedgrp.rec.expplc
shptrs:"", // 转运 .dedgrp.rec.shptrs
tenmaxday:"", // Maximum Tenor .dedgrp.rec.tenmaxday
nam:"", // Externally Displayed Name to Identify the Contract .dedgrp.rec.nam
nomtop:"", // 溢短装 .dedgrp.rec.nomtop
nomton:"", // Amount Tolerance - Negative .dedgrp.rec.nomton
mytype:"", // 贸易类型 .dedgrp.rec.mytype
elcflg:"", // 是否通过电证系统 .dedgrp.rec.elcflg
avbby:"", // 信用证兑付方式 .dedgrp.rec.avbby
lcrtyp:"", // 是否可转让 .dedgrp.rec.lcrtyp
dkflg:"", // 是否代开信用证 .dedgrp.rec.dkflg
rejflg:"", // 是否通知客户 .dedgrp.rec.rejflg
stagod:"", // Goods Code for Statistics .dedgrp.rec.stagod
avbwth:"", // Available with .dedgrp.rec.avbwth
isyifu:"", // 是否可议付 .dedgrp.rec.isyifu
idcode:"", // 申请人统一社会信用代码 .dedgrp.rec.idcode
bdflg:"", // 是否可保兑 .dedgrp.rec.bdflg
kzref:"", // 信用证编号 .dedgrp.rec.kzref
shppar:"", // Partial Shipment .dedgrp.rec.shppar
fqzytgfw:"", // 分期装运/提供服务 .dedgrp.rec.fqzytgfw
fqtime:"", // 分期时镧表 .dedgrp.rec.fqtime
shppro:"", // 服务提供地点 .dedgrp.rec.shppro
tratyp:"", // 运输方式 .dedgrp.rec.tratyp
sdsrfs:"", // 输入运输方式 .dedgrp.rec.sdsrfs
conno:"", // 合同编号 .dedgrp.rec.conno
concur:"", // 合同币种 .dedgrp.rec.concur
shpfro:"", // 分期装运/提供服务 .dedgrp.rec.shpfro
shpto:"", // 货物运输或交货方式/服务方式 .dedgrp.rec.shpto
conamt:"", // 合同金额 .dedgrp.rec.conamt
},
cbs:{
nom1:{
cur:"", // 金额 .dedgrp.cbs.nom1.cur
amt:"", // 金额 .dedgrp.cbs.nom1.amt
},
max:{
cur:"", // 最大金额 .dedgrp.cbs.max.cur
amt:"", // Balance .dedgrp.cbs.max.amt
},
},
ben:{
pts:new Pts().data,
namelc:"", // 名称 .dedgrp.ben.namelc
adrelc:"", // 地址 .dedgrp.ben.adrelc
dbfadrblkcn:"", // Chinese address .dedgrp.ben.dbfadrblkcn
},
apl:{
pts:new Pts().data,
namelc:"", // 名称 .dedgrp.apl.namelc
adrelc:"", // 地址 .dedgrp.apl.adrelc
dbfadrblkcn:"", // Chinese address .dedgrp.apl.dbfadrblkcn
},
blk:{
dftat:"", // 远期付款指示 .dedgrp.blk.dftat
preper:"", // 交单期限 .dedgrp.blk.preper
defdet:"", // 远期付款指示 .dedgrp.blk.defdet
rejadvrsn:"", // 拒绝通知理由 .dedgrp.blk.rejadvrsn
lcrgod:"", // Description of Goods .dedgrp.blk.lcrgod
lcrdoc:"", // 单据条款 .dedgrp.blk.lcrdoc
adlcnd:"", // 附加条款 .dedgrp.blk.adlcnd
insbnk:"", // 给付款、 .dedgrp.blk.insbnk
stamet:"", // 声明 .dedgrp.blk.stamet
},
beb:{
pts:new Pts().data,
},
apc:{
pts:new Pts().data,
},
apb:{
pts:new Pts().data,
},
iss:{
pts:new Pts().data,
},
adv:{
pts:new Pts().data,
},
avb:{
pts:new Pts().data,
},
rmb:{
pts:new Pts().data,
},
cmb:{
pts:new Pts().data,
},
},
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
},
},
},
prtpanblk:"", // XMLPanel prtpan的内置block .prtpanblk
pageId: "" // ctx的key
}
export default class Infdet {
constructor() {
this.data = {
infcon: {
seaownref: "", // Own Reference .infcon.seaownref
nam: "", // Name .infcon.nam
searef: "", // Party Reference .infcon.searef
pty: {
extkey: "", // Select Single Party .infcon.pty.extkey
nam: "", // External Visible Name .infcon.pty.nam
},
seapty: "", // Party Name/BIC .infcon.seapty
searol: "", // Role .infcon.searol
opndatfrom: "", // Opening between .infcon.opndatfrom
opndatto: "", // Open Date to .infcon.opndatto
usr: {
extkey: "", // User ID .infcon.usr.extkey
},
seasta: "", // Status .infcon.seasta
seacur: "", // Currency .infcon.seacur
seaamtfr: "", // Amount between .infcon.seaamtfr
seaamtto: "", // Amount to .infcon.seaamtto
relflg: "", // Release Status .infcon.relflg
cxmflg: "", // 是否显示查询码 .infcon.cxmflg
hndtyp: "", // Handling Type .infcon.hndtyp
chksubcon: "", // incl. all subcontracts .infcon.chksubcon
chktrnsta: "", // only active transactions .infcon.chktrnsta
trnstm: "", // stream for TRN to selected contract .infcon.trnstm
cbctxt: "", // CBS Column .infcon.cbctxt
cbbstm: "", // stream of CBBs .infcon.cbbstm
cbestm: "", // stream of CBEs .infcon.cbestm
feptxtlbl: "", // label used on FEP-Panel .infcon.feptxtlbl
fcptxtlbl: "", // Text label used on FCP-panel .infcon.fcptxtlbl
fepfeecod: "", // Fee Code .infcon.fepfeecod
fepdsp: "", // Disposition .infcon.fepdsp
fepstm: "", // stream for FEPs to selected contract .infcon.fepstm
fcpstm: "", // stream of foreign charges .infcon.fcpstm
fcpdsp: "", // Disposition .infcon.fcpdsp
setflg: "", // show temporary settlement that already settled .infcon.setflg
sepdelflg: "", // show temporary settlement that already deleted .infcon.sepdelflg
sepstm: "", // stream of SEPs .infcon.sepstm
seabucdatfro: "", // Booking date from .infcon.seabucdatfro
seabucdatto: "", // Booking date till used on GLEINFP .infcon.seabucdatto
seatrninr: "", // Transaction INR .infcon.seatrninr
glestm: "", // Stream of GLEs .infcon.glestm
smhcortyp: "", // Type of Document .infcon.smhcortyp
smhdatfrom: "", // Created between .infcon.smhdatfrom
smhdatto: "", // created till .infcon.smhdatto
smhdir: "", // Direction .infcon.smhdir
chktrn: "", // Active only .infcon.chktrn
smhstm: "", // stream of documents to selected contract .infcon.smhstm
sptinc: "", // Incoming .infcon.sptinc
sptreg: "", // Registered .infcon.sptreg
sptpen: "", // Pending .infcon.sptpen
sptcor: "", // Correction .infcon.sptcor
sptdel: "", // Deleted .infcon.sptdel
sptstm: "", // stream for SPT to selected contract .infcon.sptstm
diadatfrom: "", // Date from .infcon.diadatfrom
diadatto: "", // date till .infcon.diadatto
diasta: "", // Status .infcon.diasta
diastm: "", // stream for diaries to selected contract .infcon.diastm
liastm: "", // Stream for all engagements to selected contract .infcon.liastm
ordstm: "", // Stream for Orders for Contract .infcon.ordstm
objinr: "",
},
sealcrtyp: "", // Form of L/C .sealcrtyp
infbut: {
dspstm: "", // display stream .infbut.dspstm
},
mylx: "", // 槸易类型 .mylx
elcflg: "", // 是否通过电证系统 .elcflg
recpan: {
zchday: "", // 最迟装运/服务提供日 .recpan.zchday
usr: {
extkey: "", // 所属客户经理 .recpan.usr.extkey
},
benp: {
ptsget: {
sdamod: {
seainf: "", // .recpan.benp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .recpan.benp.ptsget.sdamod.dadsnd
},
},
},
aplp: {
ptsget: {
sdamod: {
seainf: "", // .recpan.aplp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .recpan.aplp.ptsget.sdamod.dadsnd
},
},
},
recget: {
sdamod: {
seainf: "", // .recpan.recget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .recpan.recget.sdamod.dadsnd
},
},
usrget: {
sdamod: {
seainf: "", // .recpan.usrget.sdamod.seainf
},
},
upamt: "", // 大写金额 .recpan.upamt
dzlhhh: "", // 发起参与机构 .recpan.dzlhhh
hwfwms: "", // 槧物/服务描述 .recpan.hwfwms
hwtype: "", // 槧物\\服务类型 .recpan.hwtype
fenzhu: "", // 分期装运 .recpan.fenzhu
sdysfs: "", // 手输运输方式/服务提供方式 .recpan.sdysfs
hwzydi: "", // '运装运地/服务提供低 .recpan.hwzydi
},
dedgrp: {
rec: {
ownref: "", // 编号 .dedgrp.rec.ownref
opndat: "", // 开立日期 .dedgrp.rec.opndat
shpdat: "", // Shipment Date .dedgrp.rec.shpdat
expdat: "", // 有效日期 .dedgrp.rec.expdat
expplc: "", // 有效地点 .dedgrp.rec.expplc
shptrs: "", // 转运 .dedgrp.rec.shptrs
tenmaxday: "", // Maximum Tenor .dedgrp.rec.tenmaxday
nam: "", // Externally Displayed Name to Identify the Contract .dedgrp.rec.nam
nomtop: "", // 溢短装 .dedgrp.rec.nomtop
nomton: "", // Amount Tolerance - Negative .dedgrp.rec.nomton
mytype: "", // 贸易类型 .dedgrp.rec.mytype
elcflg: "", // 是否通过电证系统 .dedgrp.rec.elcflg
avbby: "", // 信用证兑付方式 .dedgrp.rec.avbby
lcrtyp: "", // 是否可转让 .dedgrp.rec.lcrtyp
dkflg: "", // 是否代开信用证 .dedgrp.rec.dkflg
rejflg: "", // 是否通知客户 .dedgrp.rec.rejflg
stagod: "", // Goods Code for Statistics .dedgrp.rec.stagod
avbwth: "", // Available with .dedgrp.rec.avbwth
isyifu: "", // 是否可议付 .dedgrp.rec.isyifu
idcode: "", // 申请人统一社会信用代码 .dedgrp.rec.idcode
bdflg: "", // 是否可保兑 .dedgrp.rec.bdflg
kzref: "", // 信用证编号 .dedgrp.rec.kzref
shppar: "", // Partial Shipment .dedgrp.rec.shppar
fqzytgfw: "", // 分期装运/提供服务 .dedgrp.rec.fqzytgfw
fqtime: "", // 分期时镧表 .dedgrp.rec.fqtime
shppro: "", // 服务提供地点 .dedgrp.rec.shppro
tratyp: "", // 运输方式 .dedgrp.rec.tratyp
sdsrfs: "", // 输入运输方式 .dedgrp.rec.sdsrfs
conno: "", // 合同编号 .dedgrp.rec.conno
concur: "", // 合同币种 .dedgrp.rec.concur
shpfro: "", // 分期装运/提供服务 .dedgrp.rec.shpfro
shpto: "", // 货物运输或交货方式/服务方式 .dedgrp.rec.shpto
conamt: "", // 合同金额 .dedgrp.rec.conamt
inr: "",
},
cbs: {
nom1: {
cur: "", // 金额 .dedgrp.cbs.nom1.cur
amt: "", // 金额 .dedgrp.cbs.nom1.amt
},
max: {
cur: "", // 最大金额 .dedgrp.cbs.max.cur
amt: "", // Balance .dedgrp.cbs.max.amt
},
},
ben: {
pts: new Pts().data,
namelc: "", // 名称 .dedgrp.ben.namelc
adrelc: "", // 地址 .dedgrp.ben.adrelc
dbfadrblkcn: "", // Chinese address .dedgrp.ben.dbfadrblkcn
},
apl: {
pts: new Pts().data,
namelc: "", // 名称 .dedgrp.apl.namelc
adrelc: "", // 地址 .dedgrp.apl.adrelc
dbfadrblkcn: "", // Chinese address .dedgrp.apl.dbfadrblkcn
},
blk: {
dftat: "", // 远期付款指示 .dedgrp.blk.dftat
preper: "", // 交单期限 .dedgrp.blk.preper
defdet: "", // 远期付款指示 .dedgrp.blk.defdet
rejadvrsn: "", // 拒绝通知理由 .dedgrp.blk.rejadvrsn
lcrgod: "", // Description of Goods .dedgrp.blk.lcrgod
lcrdoc: "", // 单据条款 .dedgrp.blk.lcrdoc
adlcnd: "", // 附加条款 .dedgrp.blk.adlcnd
insbnk: "", // 给付款、 .dedgrp.blk.insbnk
stamet: "", // 声明 .dedgrp.blk.stamet
},
beb: {
pts: new Pts().data,
},
apc: {
pts: new Pts().data,
},
apb: {
pts: new Pts().data,
},
iss: {
pts: new Pts().data,
},
adv: {
pts: new Pts().data,
},
avb: {
pts: new Pts().data,
},
rmb: {
pts: new Pts().data,
},
cmb: {
pts: new Pts().data,
},
},
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
},
},
},
prtpanblk: "", // XMLPanel prtpan的内置block .prtpanblk
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
<template>
<div class="busnavbar">
<div class="busnavbar-items">
<c-button style="margin-left:7px;" size="medium" type="primary" class="medium_bcs" v-for="(item,index) in codeList" v-bind:key="index" @click.native="onNarBtnClick(item.code,index)" :title="item.title" :disabled="item.isDis==='N'">{{item.label}}</c-button>
</div>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Letsel from "~/model/Detsel"
import commonProcess from "~/mixin/commonProcess"
export default {
props:["ownref"],
components:{
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
trnName:'detsel',
model:new Letsel().data,
navcode:[
// {code:"",label:"",isDis:"",title:""},
],
}
},
methods:{
//各入口按钮请求
async onNarBtnClick(code,i){
this.model.cfgfil.subtrn1= code
let rtnmsg = await this.executeRule("cfgfil.hotsub3")
console.log("cfgfil.code:" + this.model.cfgfil.subtrn1);
if(rtnmsg.respCode == SUCCESS){
this.navcode = []
this.$emit("onChoose",code.toLowerCase());
}else{
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
},
computed:{
codeList(){
//将model中的数据映射成数组
return this.navcode.map(item=>{
let entireItem = {...item}
this.navcode = [];
//TODO 根据数据判断当前的code,是否可以继续
// entireItem.enable = item.isDis
return entireItem
})
}
},
watch:{
"ownref":async function(n, o){
if(!this.ownref){
console.log("11111")
// onTigger()
return;
}
}
},
mounted(){
this.$nextTick(function(){
this.$on('childmethods',async function(){
this.navcode = []
//请求按钮数据
this.model.bfdgrp.rec.ownref = this.ownref
console.log("ownref:" + this.ownref );
let rtnmsg0 = await this.executeRule("bfdgrp.rec.ownref");//bfdgrp_rec_ownref
if(rtnmsg0.respCode == SUCCESS){
this.updateModel(rtnmsg0.data)
let rtnmsg = await this.executeRule("cfgfil.hotreg3");//cfgfil.hotreg3
if(rtnmsg.respCode == SUCCESS){
//重置数组
this.navcode = []
this.updateModel(rtnmsg.data)
//this.model.cfgfil.btnstm = rtnmsg.data.cfgfil_btnstm.rows
//给inr赋值,后面弹窗里面的按钮请求会用到
//this.model.bfdgrp.rec.inr = rtnmsg.data.bfdgrp_rec_inr
console.log("ownref:" + this.ownref );
const length = this.model.cfgfil.btnstm.rows.length
let btnStr = this.model.cfgfil.btnstm.rows
//let j = 0;
//let m = 0;
//const buttonIndex = ['国内证通知','国内证修改通知','收单']
for(let i=0; i < length; i++){
//获取数组中每行的数据
let arr = btnStr[i].split("\t");
let newList = {
code:arr[0],
label:arr[1],
isDis:arr[2],
//isDis:'Y',
title:arr[3]
}
//添加到navcode数组中
this.navcode.splice(i,0,newList)
/*
if(!( btnStr[i].indexOf("保证金") >= 0) && !(btnStr[i].indexOf("开立信用证") >= 0)){
let arr = btnStr[i].split("\t");
let newList = {
code:arr[0],
label:arr[1],
isDis:arr[2],
title:arr[3]
}
m++;
j = buttonIndex.indexOf(arr[1].replace(/(^\s*)|(\s*$)/g, ""));
if(j<0){
j = m;
}
//添加到navcode数组中
this.navcode.splice(j,0,newList)
}
*/
}
}else{
this.navcode = []
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
else{
this.navcode = []
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
})
})
}
}
</script>
<style>
</style>
<template>
<c-content class="eibs-tab" :height="200">
<c-infsearch-group @handleSearch="onInfbutSearow" @handleReset="onInfbutClr">
<!-- 持续展示区 -->
<template slot="keepShow">
<div class="eibs-tab">
<c-list-search @form-reset="handleReset" @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"
>
<c-row>
<c-col :span="24">
<c-col :span="12">
......@@ -19,10 +28,10 @@
</c-col>
</c-col>
</c-row>
</template>
<!-- 可控展示区 -->
<template slot="changeShow">
<el-row v-show="searchSlot.searchToggle">
<c-row>
<c-col :span="24">
<c-col :span="12">
......@@ -136,9 +145,12 @@
</c-col>
</c-row>
</el-row>
</el-form>
</template>
</c-infsearch-group>
</c-list-search>
<!--
<c-row style="margin-top:20px; padding: 0 10px 0 10px;">
<c-col>
......@@ -198,6 +210,16 @@
详情
</c-button>
</el-popover>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="getButtons(scope.row['Reference'])"
>
处理
</c-button>
<!--
<c-button
style="margin-left: 0"
size="small"
......@@ -246,6 +268,7 @@
>
注销
</c-button>
-->
</template>
</el-table-column>
</c-istream-table>
......@@ -269,18 +292,29 @@
</c-row>
-->
</c-content>
<el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body>
<div class="m-list-btns">
<m-busbtn ref="childs" :ownref="ownref" @onChoose="onChoose"
>11</m-busbtn
>
</div>
</el-dialog>
</div>
</template>
<script>
import Utils from "~/utils/index";
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infbfd/Event"
//交易跳转逻辑
import BusNavbar from "~/views/Business/Infbfd/BusNavbar";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
components: { "m-busbtn": BusNavbar },
data(){
return {
ownref: "",
......@@ -339,19 +373,53 @@ export default {
this.initdialog = true
this.ownref = ownref
console.log("ownref:" +ownref);
setTimeout(()=>{
this.$refs.childs.$emit("childmethods")
},10)
// setTimeout(()=>{
// // this.$refs.childs.$emit("childmethods")
// console.log(this)
// console.log(this.$refs)
// console.log(this.$refs.childs)
// },10)
this.$router.history.push({ path: "/business/" + frm, query: { ownref } })
//this.$router.history.push({ path: "/business/" + frm, query: { ownref } })
},
async onChoose(code){
//跳转交易
this.$router.history.push("/business/" + code)
this.initdialog = false
},
async getDitSelInfo(idx,row){
//TD中选中行触发
var params = {selDst:"infbut.dspstm",selIds:[idx+1]}
let rtnmsg = await this.executeRule("infbut.dspstm", params);
if(rtnmsg.respCode = SUCCESS){
this.updateModel(rtnmsg.data);
// Utils.copyValueFromVO(this.model, rtnmsg.data);
//TD中点击display时触发
params = {selDst:"infbut.dsp",selIds:[idx+1]}
let rtnmsgNew = await this.executeRule("infbut.dsp", params);
if(rtnmsgNew.respCode = SUCCESS){
console.log(rtnmsgNew);
this.updateModel(rtnmsgNew.data);
let rtnmsgOitset = await this.executeDefault("mtabut.coninf.oitset.oit");
if(rtnmsgOitset.respCode = SUCCESS){
Utils.copyValueFromVO(this.model, rtnmsgOitset.data);
}
}
}
//触发父组件中updateShowPanel 事件,修改index中showPanel ,控制 index中组件的显示和隐藏
this.$emit('updateShowPanel', true)
},
async getTrnInfo(idx, row) {
this.model.infcon.objinr = row["INR"];
......
......@@ -81,6 +81,7 @@
</c-page>
</template>
<script>
import Utils from "~/utils/index";
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Infbfd from "~/model/Infbfd"
......
<template>
<div class="busnavbar">
<div class="busnavbar-items">
<c-button style="margin-left:7px;" size="medium" type="primary" class="medium_bcs" v-for="(item,index) in codeList" v-bind:key="index" @click.native="onNarBtnClick(item.code,index)" :title="item.title" :disabled="item.isDis==='N'">{{item.label}}</c-button>
</div>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Letsel from "~/model/Detsel"
import commonProcess from "~/mixin/commonProcess"
export default {
props:["ownref"],
components:{
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
trnName:'detsel',
model:new Letsel().data,
navcode:[
// {code:"",label:"",isDis:"",title:""},
],
}
},
methods:{
//各入口按钮请求
async onNarBtnClick(code,i){
this.model.cfgfil.subtrn1= code
let rtnmsg = await this.executeRule("cfgfil.hotsub1")
console.log("cfgfil.code:" + this.model.cfgfil.subtrn1);
if(rtnmsg.respCode == SUCCESS){
this.navcode = []
this.$emit("onChoose",code.toLowerCase());
}else{
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
},
computed:{
codeList(){
//将model中的数据映射成数组
return this.navcode.map(item=>{
let entireItem = {...item}
this.navcode = [];
//TODO 根据数据判断当前的code,是否可以继续
// entireItem.enable = item.isDis
return entireItem
})
}
},
watch:{
"ownref":async function(n, o){
if(!this.ownref){
console.log("11111")
// onTigger()
return;
}
}
},
mounted(){
this.$nextTick(function(){
this.$on('childmethods',async function(){
this.navcode = []
//请求按钮数据
this.model.dedgrp.rec.ownref = this.ownref
console.log("ownref:" + this.ownref );
let rtnmsg = await this.executeRule("dedgrp.rec.ownref");//dedgrp_rec_ownref
if(rtnmsg.respCode == SUCCESS){
//重置数组
this.navcode = []
this.updateModel(rtnmsg.data)
//this.model.cfgfil.btnstm = rtnmsg.data.cfgfil_btnstm.rows
//给inr赋值,后面弹窗里面的按钮请求会用到
//this.model.dedgrp.rec.inr = rtnmsg.data.dedgrp_rec_inr
console.log("ownref:" + this.ownref );
const length = this.model.cfgfil.btnstm.rows.length
let btnStr = this.model.cfgfil.btnstm.rows
let j = 0;
let m = 0;
const buttonIndex = ['国内证通知','国内证修改通知','收单']
for(let i=0; i < length; i++){
//获取数组中每行的数据
if(!( btnStr[i].indexOf("保证金") >= 0) && !(btnStr[i].indexOf("开立信用证") >= 0)){
let arr = btnStr[i].split("\t");
let newList = {
code:arr[0],
label:arr[1],
isDis:arr[2],
title:arr[3]
}
m++;
j = buttonIndex.indexOf(arr[1].replace(/(^\s*)|(\s*$)/g, ""));
if(j<0){
j = m;
}
//添加到navcode数组中
this.navcode.splice(j,0,newList)
}
}
}else{
this.navcode = []
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
})
})
}
}
</script>
<style>
</style>
<template>
<!-- Selection -->
<c-content class="eibs-tab" :height="200">
<div class="eibs-tab">
<c-infsearch-group @handleSearch="onInfbutSearow" @handleReset="onInfbutClr">
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<!-- 持续展示区 -->
<template slot="keepShow">
<template v-slot="searchSlot">
<el-form
class="m-table-search-form"
ref="paramsForm"
:inline="true"
label-position="right"
label-width="110px"
size="small"
>
<c-row>
<c-col :span="11" :offset="1">
<el-form-item label="业务编号" prop="infcon.seaownref">
......@@ -18,10 +26,9 @@
</el-form-item>
</c-col>
</c-row>
</template>
<!-- 可控展示区 -->
<template slot="changeShow">
<el-row v-show="searchSlot.searchToggle">
<c-row>
<c-col :span="11" :offset="1">
<el-form-item label="参考号" prop="infcon.searef">
......@@ -187,9 +194,10 @@
</c-col>
</c-row>
</template>
</c-infsearch-group>
</el-row>
</el-form>
</template>
</c-list-search>
<c-col :span="24" style="margin-top: 10px">
<c-button class="medium_bcs" size="medium" type="primary" @click="toDetopn">卖方信用证国内证通知</c-button>
</c-col>
......@@ -239,12 +247,21 @@
slot="reference"
>
详情
</c-button>
</c-button>
</el-popover>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="getButtons(scope.row['Reference'])"
>
处理
</c-button>
<!--
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="getButtons(scope.row['Reference'], 'detame')"
>
修改通知
......@@ -256,8 +273,9 @@
@click="getButtons(scope.row['Reference'], 'detdrv')"
>
收单
</c-button>
</template>
</c-button>
-->
</template>
</el-table-column>
</c-istream-table>
</c-col>
......@@ -292,19 +310,29 @@
</template>
</el-table-column>
-->
</c-content>
<el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body>
<div class="m-list-btns">
<m-busbtn ref="childs" :ownref="ownref" @onChoose="onChoose"
>11</m-busbtn
>
</div>
</el-dialog>
</div>
</template>
<script>
import Utils from "~/utils/index";
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infdet/Event"
//交易跳转逻辑
import BusNavbar from "~/views/Business/Infdet/BusNavbar";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
components: { "m-busbtn": BusNavbar },
data(){
return {
ownref: "",
......@@ -356,23 +384,49 @@ export default {
},
*/
methods:{ ...Event,
async getButtons(ownref, frm){
async getButtons(ownref){
this.initdialog = true
this.ownref = ownref
console.log("ownref:" +ownref);
// setTimeout(()=>{
// // this.$refs.childs.$emit("childmethods")
// console.log(this)
// console.log(this.$refs)
// console.log(this.$refs.childs)
// },10)
this.$router.history.push({ path: "/business/" + frm, query: { ownref } })
setTimeout(()=>{
this.$refs.childs.$emit("childmethods")
},10)
//this.$router.history.push({ path: "/business/" + frm, query: { ownref } })
},
async onChoose(code){
//跳转交易
this.$router.history.push("/business/" + code)
this.initdialog = false
} ,
async getDitSelInfo(idx,row){
//TD中选中行触发
var params = {selDst:"infbut.dspstm",selIds:[idx+1]}
let rtnmsg = await this.executeRule("infbut.dspstm", params);
if(rtnmsg.respCode = SUCCESS){
this.updateModel(rtnmsg.data);
// Utils.copyValueFromVO(this.model, rtnmsg.data);
//TD中点击display时触发
params = {selDst:"infbut.dsp",selIds:[idx+1]}
let rtnmsgNew = await this.executeRule("infbut.dsp", params);
if(rtnmsgNew.respCode = SUCCESS){
console.log(rtnmsgNew);
this.updateModel(rtnmsgNew.data);
let rtnmsgOitset = await this.executeDefault("mtabut.coninf.oitset.oit");
if(rtnmsgOitset.respCode = SUCCESS){
Utils.copyValueFromVO(this.model, rtnmsgOitset.data);
}
}
}
//触发父组件中updateShowPanel 事件,修改index中showPanel ,控制 index中组件的显示和隐藏
this.$emit('updateShowPanel', true)
},
async getTrnInfo(idx, row) {
this.model.infcon.objinr = row["INR"];
......@@ -400,10 +454,8 @@ export default {
},
created:function(){
}
}
created:function(){},
};
</script>
<style>
......
......@@ -37,14 +37,17 @@
-->
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="left" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="left" size="small" :validate-on-rule-change="false">
<!--PD000006 -->
<!--
<el-tab-pane label="查詢界面" name="infsea">
<m-infsea :model="model" :codes="codes"/>
</el-tab-pane>
-->
<c-content>
<m-infsea v-show="!showPanel" @updateShowPanel="updateShowPanel($event)" :model="model" :codes="codes" ref="infsea"/>
</c-content>
<c-tabs v-model="tabVal" v-show="showPanel" ref="elment" type="card" @tab-click="tabClick">
<!--PD000017 -->
<el-tab-pane label="内容" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
......@@ -131,11 +134,21 @@
-->
</c-tabs>
</el-form>
<c-button
v-show="showPanel"
style="margin-left: 75%;bottom: 10%;position:sticky"
size="small"
@click="goBack()">
<!-- @click="getDitSelInfo(scope.$index, scope.row)" -->
返回
</c-button>
</div>
</c-page>
</template>
<script>
import Utils from "~/utils/index";
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Infdet from "~/model/Infdet"
......@@ -164,6 +177,7 @@ import Stament from "./Stament"
export default {
name: "Infdet",
components:{
"m-infsea" : Infsea,
"m-ovwp" : Ovwp,
......@@ -192,20 +206,55 @@ export default {
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "infsea",
tabVal: "",
trnName: "infdet",
model: new Infdet().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
showPanel:false,
rules: null,
codes: {...CodeTable},
showflg: true,
};
},
methods:{
tabClick(){
}
tabClick(tab){
const name = tab.name
let rulePath;
if (name === "fepinfp") {
rulePath = "infcon.fepinfp";
}
if (name === "coninfp") {
rulePath = "coninf.coninfp";
}
if (!!rulePath) {
this.executeRule(rulePath).then(res => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
}
})
}
},
initPanel(val){
if(val){
this.tabVal = "ovwp"
//
}else{
this.tabVal = ""
}
},
async updateShowPanel(value) {
this.showPanel = value;
this.initPanel(value);
},
goBack(){
this.showPanel = false;
},
},
created:async function(){
console.log("进入infdet交易");
......@@ -213,15 +262,20 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.$refs.infsea.handleSearch();
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
watch:{
}
}
</script>
<style>
<style scoped>
</style>
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