Commit f77272eb by niewei

前端info界面跳转

parent 26f1dc23
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
export default class Detsel{ export default class Detsel {
constructor () { constructor() {
this.data = { this.data = {
selbut:{ selbut: {
dspamenbr:"", // Display No of amendments .selbut.dspamenbr dspamenbr: "", // Display No of amendments .selbut.dspamenbr
dsputlnbr:"", // Display No. of received docs. .selbut.dsputlnbr dsputlnbr: "", // Display No. of received docs. .selbut.dsputlnbr
dspclsdat:"", // Label Closed .selbut.dspclsdat dspclsdat: "", // Label Closed .selbut.dspclsdat
dsppndram:"", // Display Number of Req. of Amendment .selbut.dsppndram dsppndram: "", // Display Number of Req. of Amendment .selbut.dsppndram
sptpenlab:"", // Label showing pending items stored for contract .selbut.sptpenlab sptpenlab: "", // Label showing pending items stored for contract .selbut.sptpenlab
trnpenlab:"", // Label showing stored uncommited transactions for contract .selbut.trnpenlab trnpenlab: "", // Label showing stored uncommited transactions for contract .selbut.trnpenlab
trnpenlab_descr:"", // Description for TRNPENLAB .selbut.trnpenlab_descr trnpenlab_descr: "", // Description for TRNPENLAB .selbut.trnpenlab_descr
dspadvnbr:"", // Display No of advised sets .selbut.dspadvnbr dspadvnbr: "", // Display No of advised sets .selbut.dspadvnbr
sptpenlab_descr:"", // Description for SPTPENLAB .selbut.sptpenlab_descr sptpenlab_descr: "", // Description for SPTPENLAB .selbut.sptpenlab_descr
}, },
dsprevnbr:"", // Revolving Done .dsprevnbr dsprevnbr: "", // Revolving Done .dsprevnbr
dsppcrsta:"", // Display LC against Packing Credit .dsppcrsta dsppcrsta: "", // Display LC against Packing Credit .dsppcrsta
dsptrdclsdat:"", // Display Closing Date of Packing Credit .dsptrdclsdat dsptrdclsdat: "", // Display Closing Date of Packing Credit .dsptrdclsdat
dspbfdclsdat:"", // Display Closing Date of Document Set .dspbfdclsdat dspbfdclsdat: "", // Display Closing Date of Document Set .dspbfdclsdat
dspbpdclsdat:"", // Display Closing Date of Advance .dspbpdclsdat dspbpdclsdat: "", // Display Closing Date of Advance .dspbpdclsdat
dspdtdclsdat:"", // Diplay Closing Date of Transfer .dspdtdclsdat dspdtdclsdat: "", // Diplay Closing Date of Transfer .dspdtdclsdat
dspmtdclsdat:"", // Display Closing Date of Docs of Transfer .dspmtdclsdat dspmtdclsdat: "", // Display Closing Date of Docs of Transfer .dspmtdclsdat
dspprenbr:"", // Display Number of Transfer Documents .dspprenbr dspprenbr: "", // Display Number of Transfer Documents .dspprenbr
dspltamenbr:"", // Display LT Amendments .dspltamenbr dspltamenbr: "", // Display LT Amendments .dspltamenbr
sptpenltbt_descr:"", // Description for SPTPENLTBT .sptpenltbt_descr sptpenltbt_descr: "", // Description for SPTPENLTBT .sptpenltbt_descr
sptpentrbp_descr:"", // Description for SPTPENTRBP .sptpentrbp_descr sptpentrbp_descr: "", // Description for SPTPENTRBP .sptpentrbp_descr
trnpenltbt_descr:"", // Description for TRNPENLTBT .trnpenltbt_descr trnpenltbt_descr: "", // Description for TRNPENLTBT .trnpenltbt_descr
trnpentrbp_descr:"", // Description for TRNPENTRBP .trnpentrbp_descr trnpentrbp_descr: "", // Description for TRNPENTRBP .trnpentrbp_descr
sptpenltbt:"", // Label showing pending items stored for LT/BT .sptpenltbt sptpenltbt: "", // Label showing pending items stored for LT/BT .sptpenltbt
sptpentrbp:"", // Label showing pending items stored for TR/BP .sptpentrbp sptpentrbp: "", // Label showing pending items stored for TR/BP .sptpentrbp
trnpenltbt:"", // Label showing stored uncommited transactions for LT/BT .trnpenltbt trnpenltbt: "", // Label showing stored uncommited transactions for LT/BT .trnpenltbt
trnpentrbp:"", // Label showing stored uncommited transactions for TR/BP .trnpentrbp trnpentrbp: "", // Label showing stored uncommited transactions for TR/BP .trnpentrbp
dedgrp:{ dedgrp: {
rec:{ rec: {
ownref:"", // 信用证编号 .dedgrp.rec.ownref ownref: "", // 信用证编号 .dedgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .dedgrp.rec.nam nam: "", // Externally Displayed Name to Identify the Contract .dedgrp.rec.nam
opndat:"", // 开证日期 .dedgrp.rec.opndat opndat: "", // 开证日期 .dedgrp.rec.opndat
shpdat:"", // Shipment Date .dedgrp.rec.shpdat shpdat: "", // Shipment Date .dedgrp.rec.shpdat
expdat:"", // 最迟交单日期/交单地 .dedgrp.rec.expdat expdat: "", // 最迟交单日期/交单地 .dedgrp.rec.expdat
expplc:"", // 最迟交单日期/交单地 .dedgrp.rec.expplc expplc: "", // 最迟交单日期/交单地 .dedgrp.rec.expplc
avbby:"", // 兑付方式 .dedgrp.rec.avbby avbby: "", // 兑付方式 .dedgrp.rec.avbby
lcrtyp:"", // 信用证类型 .dedgrp.rec.lcrtyp lcrtyp: "", // 信用证类型 .dedgrp.rec.lcrtyp
kzref:"", // 信用证编号 .dedgrp.rec.kzref kzref: "", // 信用证编号 .dedgrp.rec.kzref
}, },
cbs:{ cbs: {
nom1:{ nom1: {
cur:"", // 信用证金额 .dedgrp.cbs.nom1.cur cur: "", // 信用证金额 .dedgrp.cbs.nom1.cur
amt:"", // Balance .dedgrp.cbs.nom1.amt amt: "", // Balance .dedgrp.cbs.nom1.amt
}, },
opn1:{ opn1: {
cur:"", // 信用证余额 .dedgrp.cbs.opn1.cur cur: "", // 信用证余额 .dedgrp.cbs.opn1.cur
amt:"", // Balance .dedgrp.cbs.opn1.amt amt: "", // Balance .dedgrp.cbs.opn1.amt
}, },
}, },
ben:{ ben: {
pts:new Pts().data, pts: new Pts().data,
}, },
apl:{ apl: {
pts:new Pts().data, pts: new Pts().data,
}, },
avbnam:"", // 指定银行 .dedgrp.avbnam avbnam: "", // 指定银行 .dedgrp.avbnam
iss:{ iss: {
pts:new Pts().data, pts: new Pts().data,
}, },
}, },
clsflg:"", // Show closed Contracts .clsflg clsflg: "", // Show closed Contracts .clsflg
recget:{ recget: {
sdamod:{ sdamod: {
dadsnd:"", // Drag Drop Sender .recget.sdamod.dadsnd dadsnd: "", // Drag Drop Sender .recget.sdamod.dadsnd
seainf:"", // .recget.sdamod.seainf seainf: "", // .recget.sdamod.seainf
}, },
}, },
bfdgrp:{ bfdgrp: {
rec:{ rec: {
ownref:"", // 单据业务编号 .bfdgrp.rec.ownref ownref: "", // 单据业务编号 .bfdgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .bfdgrp.rec.nam nam: "", // Externally Displayed Name to Identify the Contract .bfdgrp.rec.nam
doctypcod:"", // 单据类型 .bfdgrp.rec.doctypcod doctypcod: "", // 单据类型 .bfdgrp.rec.doctypcod
matdat:"", // Maturity Date .bfdgrp.rec.matdat matdat: "", // Maturity Date .bfdgrp.rec.matdat
orddat:"", // 远期单据到期日 .bfdgrp.rec.orddat orddat: "", // 远期单据到期日 .bfdgrp.rec.orddat
rcvdat:"", // 到单日期 .bfdgrp.rec.rcvdat rcvdat: "", // 到单日期 .bfdgrp.rec.rcvdat
predat:"", // Presentation Date .bfdgrp.rec.predat predat: "", // Presentation Date .bfdgrp.rec.predat
docsta:"", // 单据状态 .bfdgrp.rec.docsta docsta: "", // 单据状态 .bfdgrp.rec.docsta
}, },
cbs:{ cbs: {
max:{ max: {
cur:"", // 单据金额 .bfdgrp.cbs.max.cur cur: "", // 单据金额 .bfdgrp.cbs.max.cur
amt:"", // Balance .bfdgrp.cbs.max.amt amt: "", // Balance .bfdgrp.cbs.max.amt
}, },
opn1:{ opn1: {
cur:"", // 单据余额 .bfdgrp.cbs.opn1.cur cur: "", // 单据余额 .bfdgrp.cbs.opn1.cur
amt:"", // Balance .bfdgrp.cbs.opn1.amt amt: "", // Balance .bfdgrp.cbs.opn1.amt
}, },
}, },
prb:{ prb: {
pts:new Pts().data, pts: new Pts().data,
}, },
iss:{ iss: {
pts:new Pts().data, pts: new Pts().data,
}, },
apl:{ apl: {
pts:new Pts().data, pts: new Pts().data,
}, },
}, },
bfdget:{ bfdget: {
sdamod:{ sdamod: {
dadsnd:"", // Drag Drop Sender .bfdget.sdamod.dadsnd dadsnd: "", // Drag Drop Sender .bfdget.sdamod.dadsnd
seainf:"", // .bfdget.sdamod.seainf seainf: "", // .bfdget.sdamod.seainf
}, },
clsflg:"", // which contracts to show .bfdget.clsflg clsflg: "", // which contracts to show .bfdget.clsflg
}, },
mtdgrp:{ mtdgrp: {
rec:{ rec: {
ownref:"", // 单据业务编号 .mtdgrp.rec.ownref ownref: "", // 单据业务编号 .mtdgrp.rec.ownref
nam:"", // Name of Bill Contract .mtdgrp.rec.nam nam: "", // Name of Bill Contract .mtdgrp.rec.nam
doctypcod:"", // 单据类型 .mtdgrp.rec.doctypcod doctypcod: "", // 单据类型 .mtdgrp.rec.doctypcod
rcvdatbe2:"", // 远期单据到期日 .mtdgrp.rec.rcvdatbe2 rcvdatbe2: "", // 远期单据到期日 .mtdgrp.rec.rcvdatbe2
docsta:"", // 单据状态 .mtdgrp.rec.docsta docsta: "", // 单据状态 .mtdgrp.rec.docsta
matdat:"", // Maturity Date .mtdgrp.rec.matdat matdat: "", // Maturity Date .mtdgrp.rec.matdat
}, },
cbs:{ cbs: {
max:{ max: {
cur:"", // 单据金额 .mtdgrp.cbs.max.cur cur: "", // 单据金额 .mtdgrp.cbs.max.cur
amt:"", // 单据金额 .mtdgrp.cbs.max.amt amt: "", // 单据金额 .mtdgrp.cbs.max.amt
}, },
opn1:{ opn1: {
cur:"", // 单据余额 .mtdgrp.cbs.opn1.cur cur: "", // 单据余额 .mtdgrp.cbs.opn1.cur
amt:"", // Balance .mtdgrp.cbs.opn1.amt amt: "", // Balance .mtdgrp.cbs.opn1.amt
}, },
}, },
be1:{ be1: {
pts:new Pts().data, pts: new Pts().data,
}, },
be2:{ be2: {
pts:new Pts().data, pts: new Pts().data,
}, },
}, },
mtdget:{ mtdget: {
sdamod:{ sdamod: {
dadsnd:"", // Drag Drop Sender .mtdget.sdamod.dadsnd dadsnd: "", // Drag Drop Sender .mtdget.sdamod.dadsnd
seainf:"", // .mtdget.sdamod.seainf seainf: "", // .mtdget.sdamod.seainf
}, },
clsflg:"", // which contracts to show .mtdget.clsflg clsflg: "", // which contracts to show .mtdget.clsflg
}, },
bppnttyp:"", // 业务合同 .bppnttyp bppnttyp: "", // 业务合同 .bppnttyp
bpdgrp:{ bpdgrp: {
rec:{ rec: {
ownref:"", // 融资业务编号 .bpdgrp.rec.ownref ownref: "", // 融资业务编号 .bpdgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .bpdgrp.rec.nam nam: "", // Externally Displayed Name to Identify the Contract .bpdgrp.rec.nam
opndat:"", // 起息日期 .bpdgrp.rec.opndat opndat: "", // 起息日期 .bpdgrp.rec.opndat
matdat:"", // Maturity Date .bpdgrp.rec.matdat matdat: "", // Maturity Date .bpdgrp.rec.matdat
fintyp:"", // 融资类型 .bpdgrp.rec.fintyp fintyp: "", // 融资类型 .bpdgrp.rec.fintyp
finact:"", // 融资帐号 .bpdgrp.rec.finact finact: "", // 融资帐号 .bpdgrp.rec.finact
}, },
cbs:{ cbs: {
max:{ max: {
cur:"", // 融资金额 .bpdgrp.cbs.max.cur cur: "", // 融资金额 .bpdgrp.cbs.max.cur
amt:"", // Balance .bpdgrp.cbs.max.amt amt: "", // Balance .bpdgrp.cbs.max.amt
}, },
opn1:{ opn1: {
cur:"", // 押汇余额 .bpdgrp.cbs.opn1.cur cur: "", // 押汇余额 .bpdgrp.cbs.opn1.cur
amt:"", // Balance .bpdgrp.cbs.opn1.amt amt: "", // Balance .bpdgrp.cbs.opn1.amt
}, },
}, },
fia:{ fia: {
pts:new Pts().data, pts: new Pts().data,
}, },
}, },
bpdget:{ bpdget: {
clsflg:"", // which contracts to show .bpdget.clsflg clsflg: "", // which contracts to show .bpdget.clsflg
sdamod:{ sdamod: {
dadsnd:"", // Drag Drop Sender .bpdget.sdamod.dadsnd dadsnd: "", // Drag Drop Sender .bpdget.sdamod.dadsnd
seainf:"", // .bpdget.sdamod.seainf seainf: "", // .bpdget.sdamod.seainf
}, },
}, },
dtdgrp:{ dtdgrp: {
rec:{ rec: {
ownref:"", // Transfer Reference .dtdgrp.rec.ownref ownref: "", // Transfer Reference .dtdgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .dtdgrp.rec.nam nam: "", // Externally Displayed Name to Identify the Contract .dtdgrp.rec.nam
avbby:"", // Available by .dtdgrp.rec.avbby avbby: "", // Available by .dtdgrp.rec.avbby
shpdat:"", // Shipment Date .dtdgrp.rec.shpdat shpdat: "", // Shipment Date .dtdgrp.rec.shpdat
opndat:"", // Date Issued/Form .dtdgrp.rec.opndat opndat: "", // Date Issued/Form .dtdgrp.rec.opndat
lcrtyp:"", // Date Issued/Form .dtdgrp.rec.lcrtyp lcrtyp: "", // Date Issued/Form .dtdgrp.rec.lcrtyp
expdat:"", // Date / Place of Expiry .dtdgrp.rec.expdat expdat: "", // Date / Place of Expiry .dtdgrp.rec.expdat
expplc:"", // Date / Place of Expiry .dtdgrp.rec.expplc expplc: "", // Date / Place of Expiry .dtdgrp.rec.expplc
}, },
cbs:{ cbs: {
nom1:{ nom1: {
cur:"", // Transfer L/C Amount .dtdgrp.cbs.nom1.cur cur: "", // Transfer L/C Amount .dtdgrp.cbs.nom1.cur
amt:"", // Balance .dtdgrp.cbs.nom1.amt amt: "", // Balance .dtdgrp.cbs.nom1.amt
}, },
opn1:{ opn1: {
cur:"", // 信用证余额 .dtdgrp.cbs.opn1.cur cur: "", // 信用证余额 .dtdgrp.cbs.opn1.cur
amt:"", // Balance .dtdgrp.cbs.opn1.amt amt: "", // Balance .dtdgrp.cbs.opn1.amt
}, },
}, },
avt:{ avt: {
pts:new Pts().data, pts: new Pts().data,
}, },
be1:{ be1: {
pts:new Pts().data, pts: new Pts().data,
}, },
be2:{ be2: {
pts:new Pts().data, pts: new Pts().data,
}, },
adt:{ adt: {
pts:new Pts().data, pts: new Pts().data,
}, },
}, },
dtdget:{ dtdget: {
clsflg:"", // which contracts to show .dtdget.clsflg clsflg: "", // which contracts to show .dtdget.clsflg
sdamod:{ sdamod: {
dadsnd:"", // Drag Drop Sender .dtdget.sdamod.dadsnd dadsnd: "", // Drag Drop Sender .dtdget.sdamod.dadsnd
seainf:"", // .dtdget.sdamod.seainf seainf: "", // .dtdget.sdamod.seainf
}, },
}, },
trpnttyp:"", // 业务合同 .trpnttyp trpnttyp: "", // 业务合同 .trpnttyp
trdgrp:{ trdgrp: {
rec:{ rec: {
ownref:"", // 融资业务编号 .trdgrp.rec.ownref ownref: "", // 融资业务编号 .trdgrp.rec.ownref
nam:"", // Name of Loan Contract .trdgrp.rec.nam nam: "", // Name of Loan Contract .trdgrp.rec.nam
pctfin:"", // 融资百分比 .trdgrp.rec.pctfin pctfin: "", // 融资百分比 .trdgrp.rec.pctfin
fintyp:"", // 融资类型 .trdgrp.rec.fintyp fintyp: "", // 融资类型 .trdgrp.rec.fintyp
matdat:"", // Maturity Date .trdgrp.rec.matdat matdat: "", // Maturity Date .trdgrp.rec.matdat
stttendat:"", // Start Date Tenor .trdgrp.rec.stttendat stttendat: "", // Start Date Tenor .trdgrp.rec.stttendat
}, },
cbs:{ cbs: {
max:{ max: {
cur:"", // 押汇金额 .trdgrp.cbs.max.cur cur: "", // 押汇金额 .trdgrp.cbs.max.cur
amt:"", // 押汇金额 .trdgrp.cbs.max.amt amt: "", // 押汇金额 .trdgrp.cbs.max.amt
}, },
opn1:{ opn1: {
cur:"", // 信用证余额 .trdgrp.cbs.opn1.cur cur: "", // 信用证余额 .trdgrp.cbs.opn1.cur
amt:"", // Balance .trdgrp.cbs.opn1.amt amt: "", // Balance .trdgrp.cbs.opn1.amt
}, },
}, },
fip:{ fip: {
pts:new Pts().data, pts: new Pts().data,
}, },
}, },
trdget:{ trdget: {
clsflg:"", // which contracts to show .trdget.clsflg clsflg: "", // which contracts to show .trdget.clsflg
sdamod:{ sdamod: {
dadsnd:"", // Drag Drop Sender .trdget.sdamod.dadsnd dadsnd: "", // Drag Drop Sender .trdget.sdamod.dadsnd
seainf:"", // .trdget.sdamod.seainf seainf: "", // .trdget.sdamod.seainf
}, },
}, },
zcdat:"", // 最迟装运日期\\最迟服务提供日 .zcdat zcdat: "", // 最迟装运日期\\最迟服务提供日 .zcdat
cnftxt:"", // Confirmation text .cnftxt cnftxt: "", // Confirmation text .cnftxt
matbep:{ matbep: {
mattxtlab:"", // Label for MATTXT .matbep.mattxtlab mattxtlab: "", // Label for MATTXT .matbep.mattxtlab
}, },
aamdtd:{ aamdtd: {
addamtflg:"", // Add. Amount .aamdtd.addamtflg addamtflg: "", // Add. Amount .aamdtd.addamtflg
}, },
matbtp:{ matbtp: {
mattxtlab:"", // Label for MATTXT .matbtp.mattxtlab mattxtlab: "", // Label for MATTXT .matbtp.mattxtlab
}, },
fpdgrp:{ fpdgrp: {
rec:{ rec: {
perint:"", // Percentage .fpdgrp.rec.perint perint: "", // Percentage .fpdgrp.rec.perint
rdsflg:"", // Re-Discounting? .fpdgrp.rec.rdsflg rdsflg: "", // Re-Discounting? .fpdgrp.rec.rdsflg
silflg:"", // Un-Disclosed? .fpdgrp.rec.silflg silflg: "", // Un-Disclosed? .fpdgrp.rec.silflg
funflg:"", // Funded? .fpdgrp.rec.funflg funflg: "", // Funded? .fpdgrp.rec.funflg
opndatlc:"", // Date L/C Opened/Issued .fpdgrp.rec.opndatlc opndatlc: "", // Date L/C Opened/Issued .fpdgrp.rec.opndatlc
expdatlc:"", // LC Date of Expire .fpdgrp.rec.expdatlc expdatlc: "", // LC Date of Expire .fpdgrp.rec.expdatlc
opndat:"", // Opened on .fpdgrp.rec.opndat opndat: "", // Opened on .fpdgrp.rec.opndat
expdat:"", // Forfaiting Agreement Date of Expiry .fpdgrp.rec.expdat expdat: "", // Forfaiting Agreement Date of Expiry .fpdgrp.rec.expdat
valdat:"", // This Purchase Offer is Valid until .fpdgrp.rec.valdat valdat: "", // This Purchase Offer is Valid until .fpdgrp.rec.valdat
ownref:"", // Reference .fpdgrp.rec.ownref ownref: "", // Reference .fpdgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .fpdgrp.rec.nam nam: "", // Externally Displayed Name to Identify the Contract .fpdgrp.rec.nam
}, },
sel:{ sel: {
pts:new Pts().data, pts: new Pts().data,
}, },
cbs:{ cbs: {
max:{ max: {
cur:"", // Agree to Purchase .fpdgrp.cbs.max.cur cur: "", // Agree to Purchase .fpdgrp.cbs.max.cur
amt:"", // Balance .fpdgrp.cbs.max.amt amt: "", // Balance .fpdgrp.cbs.max.amt
}, },
opn1:{ opn1: {
cur:"", // 信用证余额 .fpdgrp.cbs.opn1.cur cur: "", // 信用证余额 .fpdgrp.cbs.opn1.cur
amt:"", // Balance .fpdgrp.cbs.opn1.amt amt: "", // Balance .fpdgrp.cbs.opn1.amt
}, },
sld:{ sld: {
cur:"", // Sold or Reserved .fpdgrp.cbs.sld.cur cur: "", // Sold or Reserved .fpdgrp.cbs.sld.cur
amt:"", // Balance .fpdgrp.cbs.sld.amt amt: "", // Balance .fpdgrp.cbs.sld.amt
}, },
}, },
inv:{ inv: {
pts:new Pts().data, pts: new Pts().data,
}, },
}, },
fpdget:{ fpdget: {
clsflg:"", // which contracts to show .fpdget.clsflg clsflg: "", // which contracts to show .fpdget.clsflg
sdamod:{ sdamod: {
dadsnd:"", // Drag Drop Sender .fpdget.sdamod.dadsnd dadsnd: "", // Drag Drop Sender .fpdget.sdamod.dadsnd
seainf:"", // .fpdget.sdamod.seainf seainf: "", // .fpdget.sdamod.seainf
}, },
}, },
cfgfil:{ cfgfil: {
bitmap:"", // Bitmap for folder .cfgfil.bitmap btnstm: "", //按钮数据
regside1:"", // Regside .cfgfil.regside1 bitmap: "", // Bitmap for folder .cfgfil.bitmap
regside2:"", // Regside .cfgfil.regside2 regside1: "", // Regside .cfgfil.regside1
regside3:"", // Regside .cfgfil.regside3 regside2: "", // Regside .cfgfil.regside2
regside4:"", // Regside .cfgfil.regside4 regside3: "", // Regside .cfgfil.regside3
regside5:"", // Regside .cfgfil.regside5 regside4: "", // Regside .cfgfil.regside4
regside6:"", // Regside .cfgfil.regside6 regside5: "", // Regside .cfgfil.regside5
regside7:"", // Regside .cfgfil.regside7 regside6: "", // Regside .cfgfil.regside6
regside8:"", // Regside .cfgfil.regside8 regside7: "", // Regside .cfgfil.regside7
regside9:"", // Regside .cfgfil.regside9 regside8: "", // Regside .cfgfil.regside8
regside10:"", // Regside .cfgfil.regside10 regside9: "", // Regside .cfgfil.regside9
regside11:"", // Regside .cfgfil.regside11 regside10: "", // Regside .cfgfil.regside10
regside12:"", // Regside .cfgfil.regside12 regside11: "", // Regside .cfgfil.regside11
subtxt1:"", // submenu text 1 .cfgfil.subtxt1 regside12: "", // Regside .cfgfil.regside12
subtxt2:"", // submenu text 2 .cfgfil.subtxt2 subtxt1: "", // submenu text 1 .cfgfil.subtxt1
subtxt3:"", // submenu text 3 .cfgfil.subtxt3 subtxt2: "", // submenu text 2 .cfgfil.subtxt2
subtxt4:"", // submenu text 4 .cfgfil.subtxt4 subtxt3: "", // submenu text 3 .cfgfil.subtxt3
subtxt5:"", // submenu text 5 .cfgfil.subtxt5 subtxt4: "", // submenu text 4 .cfgfil.subtxt4
subtxt6:"", // submenu text 6 .cfgfil.subtxt6 subtxt5: "", // submenu text 5 .cfgfil.subtxt5
subtxt7:"", // submenu text 7 .cfgfil.subtxt7 subtxt6: "", // submenu text 6 .cfgfil.subtxt6
subtxt8:"", // submenu text 8 .cfgfil.subtxt8 subtxt7: "", // submenu text 7 .cfgfil.subtxt7
subtxt9:"", // submenu text 9 .cfgfil.subtxt9 subtxt8: "", // submenu text 8 .cfgfil.subtxt8
subtxt10:"", // submenu text 10 .cfgfil.subtxt10 subtxt9: "", // submenu text 9 .cfgfil.subtxt9
subtxt11:"", // submenu text 11 .cfgfil.subtxt11 subtxt10: "", // submenu text 10 .cfgfil.subtxt10
regtxt1:"", // Register text 1 .cfgfil.regtxt1 subtxt11: "", // submenu text 11 .cfgfil.subtxt11
regtxt2:"", // Register text 2 .cfgfil.regtxt2 regtxt1: "", // Register text 1 .cfgfil.regtxt1
regtxt3:"", // Register text 3 .cfgfil.regtxt3 regtxt2: "", // Register text 2 .cfgfil.regtxt2
regtxt4:"", // Register text 4 .cfgfil.regtxt4 regtxt3: "", // Register text 3 .cfgfil.regtxt3
regtxt5:"", // Register text 5 .cfgfil.regtxt5 regtxt4: "", // Register text 4 .cfgfil.regtxt4
regtxt6:"", // Register text 6 .cfgfil.regtxt6 regtxt5: "", // Register text 5 .cfgfil.regtxt5
regtxt7:"", // Register text 7 .cfgfil.regtxt7 regtxt6: "", // Register text 6 .cfgfil.regtxt6
regtxt8:"", // Register text 8 .cfgfil.regtxt8 regtxt7: "", // Register text 7 .cfgfil.regtxt7
regtxt9:"", // Register text 9 .cfgfil.regtxt9 regtxt8: "", // Register text 8 .cfgfil.regtxt8
regtxt10:"", // Register text 10 .cfgfil.regtxt10 regtxt9: "", // Register text 9 .cfgfil.regtxt9
regtxt11:"", // Register text 11 .cfgfil.regtxt11 regtxt10: "", // Register text 10 .cfgfil.regtxt10
regtxt12:"", // Register text 12 .cfgfil.regtxt12 regtxt11: "", // Register text 11 .cfgfil.regtxt11
hotsub1:"", // hotspot submenu 1 .cfgfil.hotsub1 regtxt12: "", // Register text 12 .cfgfil.regtxt12
hotsub2:"", // hotspot submenu 1 .cfgfil.hotsub2 hotsub1: "", // hotspot submenu 1 .cfgfil.hotsub1
hotsub3:"", // hotspot submenu 1 .cfgfil.hotsub3 hotsub2: "", // hotspot submenu 1 .cfgfil.hotsub2
hotsub4:"", // hotspot submenu 1 .cfgfil.hotsub4 hotsub3: "", // hotspot submenu 1 .cfgfil.hotsub3
hotsub5:"", // hotspot submenu 1 .cfgfil.hotsub5 hotsub4: "", // hotspot submenu 1 .cfgfil.hotsub4
hotsub6:"", // hotspot submenu 1 .cfgfil.hotsub6 hotsub5: "", // hotspot submenu 1 .cfgfil.hotsub5
hotsub7:"", // hotspot submenu 1 .cfgfil.hotsub7 hotsub6: "", // hotspot submenu 1 .cfgfil.hotsub6
hotsub8:"", // hotspot submenu 1 .cfgfil.hotsub8 hotsub7: "", // hotspot submenu 1 .cfgfil.hotsub7
hotsub9:"", // hotspot submenu 1 .cfgfil.hotsub9 hotsub8: "", // hotspot submenu 1 .cfgfil.hotsub8
hotsub10:"", // hotspot submenu 1 .cfgfil.hotsub10 hotsub9: "", // hotspot submenu 1 .cfgfil.hotsub9
hotsub11:"", // hotspot submenu 1 .cfgfil.hotsub11 hotsub10: "", // hotspot submenu 1 .cfgfil.hotsub10
hotreg1:"", // hotspot reg1 .cfgfil.hotreg1 hotsub11: "", // hotspot submenu 1 .cfgfil.hotsub11
hotreg2:"", // hotspot reg2 .cfgfil.hotreg2 hotreg1: "", // hotspot reg1 .cfgfil.hotreg1
hotreg3:"", // hotspot reg3 .cfgfil.hotreg3 hotreg2: "", // hotspot reg2 .cfgfil.hotreg2
hotreg4:"", // hotspot reg4 .cfgfil.hotreg4 hotreg3: "", // hotspot reg3 .cfgfil.hotreg3
hotreg5:"", // hotspot reg5 .cfgfil.hotreg5 hotreg4: "", // hotspot reg4 .cfgfil.hotreg4
hotreg6:"", // hotspot reg6 .cfgfil.hotreg6 hotreg5: "", // hotspot reg5 .cfgfil.hotreg5
hotreg7:"", // hotspot reg7 .cfgfil.hotreg7 hotreg6: "", // hotspot reg6 .cfgfil.hotreg6
hotreg8:"", // hotspot reg8 .cfgfil.hotreg8 hotreg7: "", // hotspot reg7 .cfgfil.hotreg7
hotreg9:"", // hotspot reg9 .cfgfil.hotreg9 hotreg8: "", // hotspot reg8 .cfgfil.hotreg8
hotreg10:"", // hotspot reg10 .cfgfil.hotreg10 hotreg9: "", // hotspot reg9 .cfgfil.hotreg9
hotreg11:"", // hotspot reg11 .cfgfil.hotreg11 hotreg10: "", // hotspot reg10 .cfgfil.hotreg10
hotreg12:"", // hotspot reg12 .cfgfil.hotreg12 hotreg11: "", // hotspot reg11 .cfgfil.hotreg11
subtrn1:"", // Submenu trn 1 .cfgfil.subtrn1 hotreg12: "", // hotspot reg12 .cfgfil.hotreg12
subtrn2:"", // Submenu trn 2 .cfgfil.subtrn2 subtrn1: "", // Submenu trn 1 .cfgfil.subtrn1
subtrn3:"", // Submenu trn 3 .cfgfil.subtrn3 subtrn2: "", // Submenu trn 2 .cfgfil.subtrn2
subtrn4:"", // Submenu trn 4 .cfgfil.subtrn4 subtrn3: "", // Submenu trn 3 .cfgfil.subtrn3
subtrn5:"", // Submenu trn 5 .cfgfil.subtrn5 subtrn4: "", // Submenu trn 4 .cfgfil.subtrn4
subtrn6:"", // Submenu trn 6 .cfgfil.subtrn6 subtrn5: "", // Submenu trn 5 .cfgfil.subtrn5
subtrn7:"", // Submenu trn 7 .cfgfil.subtrn7 subtrn6: "", // Submenu trn 6 .cfgfil.subtrn6
subtrn8:"", // Submenu trn 8 .cfgfil.subtrn8 subtrn7: "", // Submenu trn 7 .cfgfil.subtrn7
subtrn9:"", // Submenu trn 9 .cfgfil.subtrn9 subtrn8: "", // Submenu trn 8 .cfgfil.subtrn8
subtrn10:"", // Submenu trn 10 .cfgfil.subtrn10 subtrn9: "", // Submenu trn 9 .cfgfil.subtrn9
subtrn11:"", // Submenu trn 11 .cfgfil.subtrn11 subtrn10: "", // Submenu trn 10 .cfgfil.subtrn10
}, subtrn11: "", // Submenu trn 11 .cfgfil.subtrn11
dfdgrp:{ },
rec:{ dfdgrp: {
ownref:"", // 代付业务编号 .dfdgrp.rec.ownref rec: {
nam:"", // Name of Loan Contract .dfdgrp.rec.nam ownref: "", // 代付业务编号 .dfdgrp.rec.ownref
opndat:"", // 代付日期 .dfdgrp.rec.opndat nam: "", // Name of Loan Contract .dfdgrp.rec.nam
stttendat:"", // 代付起始日 .dfdgrp.rec.stttendat opndat: "", // 代付日期 .dfdgrp.rec.opndat
matdat:"", // Maturity Date .dfdgrp.rec.matdat stttendat: "", // 代付起始日 .dfdgrp.rec.stttendat
fintyp:"", // Type .dfdgrp.rec.fintyp matdat: "", // Maturity Date .dfdgrp.rec.matdat
}, fintyp: "", // Type .dfdgrp.rec.fintyp
cbs:{ },
max:{ cbs: {
amt:"", // 代付本金 .dfdgrp.cbs.max.amt max: {
cur:"", // 代付本金 .dfdgrp.cbs.max.cur amt: "", // 代付本金 .dfdgrp.cbs.max.amt
}, cur: "", // 代付本金 .dfdgrp.cbs.max.cur
opn1:{ },
cur:"", // 代付金额 .dfdgrp.cbs.opn1.cur opn1: {
amt:"", // 代付金额 .dfdgrp.cbs.opn1.amt cur: "", // 代付金额 .dfdgrp.cbs.opn1.cur
}, amt: "", // 代付金额 .dfdgrp.cbs.opn1.amt
}, },
apl:{ },
pts:new Pts().data, apl: {
}, pts: new Pts().data,
dff:{ },
pts:new Pts().data, dff: {
}, pts: new Pts().data,
}, },
dfdget:{ },
clsflg:"", // which contracts to show .dfdget.clsflg dfdget: {
sdamod:{ clsflg: "", // which contracts to show .dfdget.clsflg
seainf:"", // .dfdget.sdamod.seainf sdamod: {
}, seainf: "", // .dfdget.sdamod.seainf
}, },
pageId: "" // ctx的key },
} pageId: "" // ctx的key
} }
}
} }
\ No newline at end of file
...@@ -2,23 +2,43 @@ import Api from "~/service/Api" ...@@ -2,23 +2,43 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
async onInfbutSearow (callback) { async onInfbutSearow () {
let rtnmsg = await this.executeRule("infbut.searow") let rtnmsg = await this.executeRule("infbut.searow")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
this.$message({
type: 'success',
message: '获取成功!'
});
} }
else { else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); 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 () { async onInfbutDsp () {
let rtnmsg = await this.executeRule("infbut.dsp") let rtnmsg = await this.executeRule("infbut.dsp")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
...@@ -90,4 +110,15 @@ export default { ...@@ -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 { ...@@ -65,6 +65,7 @@ export default class Infbfd {
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: "",
}, },
seadoctypcod: "", // Document Type .seadoctypcod seadoctypcod: "", // Document Type .seadoctypcod
infbut: { infbut: {
......
...@@ -2,21 +2,41 @@ import Api from "~/service/Api" ...@@ -2,21 +2,41 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { 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") let rtnmsg = await this.executeRule("infbut.searow")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.stmData.data = rtnmsg.data.infbut_dspstm.rows; this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
//this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm //this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm
this.$message({
type: 'success',
message: '获取成功!'
});
} }
else { else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
callback(); },
async handleReset () {
}, },
async onInfbutDsp () { async onInfbutDsp () {
let rtnmsg = await this.executeRule("infbut.dsp") let rtnmsg = await this.executeRule("infbut.dsp")
...@@ -179,4 +199,15 @@ export default { ...@@ -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 Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
export default class Infdet{ export default class Infdet {
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: "",
sealcrtyp:"", // Form of L/C .sealcrtyp },
infbut:{ sealcrtyp: "", // Form of L/C .sealcrtyp
dspstm:"", // display stream .infbut.dspstm infbut: {
}, dspstm: "", // display stream .infbut.dspstm
mylx:"", // 槸易类型 .mylx },
elcflg:"", // 是否通过电证系统 .elcflg mylx: "", // 槸易类型 .mylx
recpan:{ elcflg: "", // 是否通过电证系统 .elcflg
zchday:"", // 最迟装运/服务提供日 .recpan.zchday recpan: {
usr:{ zchday: "", // 最迟装运/服务提供日 .recpan.zchday
extkey:"", // 所属客户经理 .recpan.usr.extkey usr: {
}, extkey: "", // 所属客户经理 .recpan.usr.extkey
benp:{ },
ptsget:{ benp: {
sdamod:{ ptsget: {
seainf:"", // .recpan.benp.ptsget.sdamod.seainf sdamod: {
dadsnd:"", // Drag Drop Sender .recpan.benp.ptsget.sdamod.dadsnd seainf: "", // .recpan.benp.ptsget.sdamod.seainf
}, dadsnd: "", // Drag Drop Sender .recpan.benp.ptsget.sdamod.dadsnd
}, },
}, },
aplp:{ },
ptsget:{ aplp: {
sdamod:{ ptsget: {
seainf:"", // .recpan.aplp.ptsget.sdamod.seainf sdamod: {
dadsnd:"", // Drag Drop Sender .recpan.aplp.ptsget.sdamod.dadsnd seainf: "", // .recpan.aplp.ptsget.sdamod.seainf
}, dadsnd: "", // Drag Drop Sender .recpan.aplp.ptsget.sdamod.dadsnd
}, },
}, },
recget:{ },
sdamod:{ recget: {
seainf:"", // .recpan.recget.sdamod.seainf sdamod: {
dadsnd:"", // Drag Drop Sender .recpan.recget.sdamod.dadsnd seainf: "", // .recpan.recget.sdamod.seainf
}, dadsnd: "", // Drag Drop Sender .recpan.recget.sdamod.dadsnd
}, },
usrget:{ },
sdamod:{ usrget: {
seainf:"", // .recpan.usrget.sdamod.seainf sdamod: {
}, seainf: "", // .recpan.usrget.sdamod.seainf
}, },
upamt:"", // 大写金额 .recpan.upamt },
dzlhhh:"", // 发起参与机构 .recpan.dzlhhh upamt: "", // 大写金额 .recpan.upamt
hwfwms:"", // 槧物/服务描述 .recpan.hwfwms dzlhhh: "", // 发起参与机构 .recpan.dzlhhh
hwtype:"", // 槧物\\服务类型 .recpan.hwtype hwfwms: "", // 槧物/服务描述 .recpan.hwfwms
fenzhu:"", // 分期装运 .recpan.fenzhu hwtype: "", // 槧物\\服务类型 .recpan.hwtype
sdysfs:"", // 手输运输方式/服务提供方式 .recpan.sdysfs fenzhu: "", // 分期装运 .recpan.fenzhu
hwzydi:"", // '运装运地/服务提供低 .recpan.hwzydi sdysfs: "", // 手输运输方式/服务提供方式 .recpan.sdysfs
}, hwzydi: "", // '运装运地/服务提供低 .recpan.hwzydi
dedgrp:{ },
rec:{ dedgrp: {
ownref:"", // 编号 .dedgrp.rec.ownref rec: {
opndat:"", // 开立日期 .dedgrp.rec.opndat ownref: "", // 编号 .dedgrp.rec.ownref
shpdat:"", // Shipment Date .dedgrp.rec.shpdat opndat: "", // 开立日期 .dedgrp.rec.opndat
expdat:"", // 有效日期 .dedgrp.rec.expdat shpdat: "", // Shipment Date .dedgrp.rec.shpdat
expplc:"", // 有效地点 .dedgrp.rec.expplc expdat: "", // 有效日期 .dedgrp.rec.expdat
shptrs:"", // 转运 .dedgrp.rec.shptrs expplc: "", // 有效地点 .dedgrp.rec.expplc
tenmaxday:"", // Maximum Tenor .dedgrp.rec.tenmaxday shptrs: "", // 转运 .dedgrp.rec.shptrs
nam:"", // Externally Displayed Name to Identify the Contract .dedgrp.rec.nam tenmaxday: "", // Maximum Tenor .dedgrp.rec.tenmaxday
nomtop:"", // 溢短装 .dedgrp.rec.nomtop nam: "", // Externally Displayed Name to Identify the Contract .dedgrp.rec.nam
nomton:"", // Amount Tolerance - Negative .dedgrp.rec.nomton nomtop: "", // 溢短装 .dedgrp.rec.nomtop
mytype:"", // 贸易类型 .dedgrp.rec.mytype nomton: "", // Amount Tolerance - Negative .dedgrp.rec.nomton
elcflg:"", // 是否通过电证系统 .dedgrp.rec.elcflg mytype: "", // 贸易类型 .dedgrp.rec.mytype
avbby:"", // 信用证兑付方式 .dedgrp.rec.avbby elcflg: "", // 是否通过电证系统 .dedgrp.rec.elcflg
lcrtyp:"", // 是否可转让 .dedgrp.rec.lcrtyp avbby: "", // 信用证兑付方式 .dedgrp.rec.avbby
dkflg:"", // 是否代开信用证 .dedgrp.rec.dkflg lcrtyp: "", // 是否可转让 .dedgrp.rec.lcrtyp
rejflg:"", // 是否通知客户 .dedgrp.rec.rejflg dkflg: "", // 是否代开信用证 .dedgrp.rec.dkflg
stagod:"", // Goods Code for Statistics .dedgrp.rec.stagod rejflg: "", // 是否通知客户 .dedgrp.rec.rejflg
avbwth:"", // Available with .dedgrp.rec.avbwth stagod: "", // Goods Code for Statistics .dedgrp.rec.stagod
isyifu:"", // 是否可议付 .dedgrp.rec.isyifu avbwth: "", // Available with .dedgrp.rec.avbwth
idcode:"", // 申请人统一社会信用代码 .dedgrp.rec.idcode isyifu: "", // 是否可议付 .dedgrp.rec.isyifu
bdflg:"", // 是否可保兑 .dedgrp.rec.bdflg idcode: "", // 申请人统一社会信用代码 .dedgrp.rec.idcode
kzref:"", // 信用证编号 .dedgrp.rec.kzref bdflg: "", // 是否可保兑 .dedgrp.rec.bdflg
shppar:"", // Partial Shipment .dedgrp.rec.shppar kzref: "", // 信用证编号 .dedgrp.rec.kzref
fqzytgfw:"", // 分期装运/提供服务 .dedgrp.rec.fqzytgfw shppar: "", // Partial Shipment .dedgrp.rec.shppar
fqtime:"", // 分期时镧表 .dedgrp.rec.fqtime fqzytgfw: "", // 分期装运/提供服务 .dedgrp.rec.fqzytgfw
shppro:"", // 服务提供地点 .dedgrp.rec.shppro fqtime: "", // 分期时镧表 .dedgrp.rec.fqtime
tratyp:"", // 运输方式 .dedgrp.rec.tratyp shppro: "", // 服务提供地点 .dedgrp.rec.shppro
sdsrfs:"", // 输入运输方式 .dedgrp.rec.sdsrfs tratyp: "", // 运输方式 .dedgrp.rec.tratyp
conno:"", // 合同编号 .dedgrp.rec.conno sdsrfs: "", // 输入运输方式 .dedgrp.rec.sdsrfs
concur:"", // 合同币种 .dedgrp.rec.concur conno: "", // 合同编号 .dedgrp.rec.conno
shpfro:"", // 分期装运/提供服务 .dedgrp.rec.shpfro concur: "", // 合同币种 .dedgrp.rec.concur
shpto:"", // 货物运输或交货方式/服务方式 .dedgrp.rec.shpto shpfro: "", // 分期装运/提供服务 .dedgrp.rec.shpfro
conamt:"", // 合同金额 .dedgrp.rec.conamt shpto: "", // 货物运输或交货方式/服务方式 .dedgrp.rec.shpto
}, conamt: "", // 合同金额 .dedgrp.rec.conamt
cbs:{ inr: "",
nom1:{ },
cur:"", // 金额 .dedgrp.cbs.nom1.cur cbs: {
amt:"", // 金额 .dedgrp.cbs.nom1.amt nom1: {
}, cur: "", // 金额 .dedgrp.cbs.nom1.cur
max:{ amt: "", // 金额 .dedgrp.cbs.nom1.amt
cur:"", // 最大金额 .dedgrp.cbs.max.cur },
amt:"", // Balance .dedgrp.cbs.max.amt max: {
}, cur: "", // 最大金额 .dedgrp.cbs.max.cur
}, amt: "", // Balance .dedgrp.cbs.max.amt
ben:{ },
pts:new Pts().data, },
namelc:"", // 名称 .dedgrp.ben.namelc ben: {
adrelc:"", // 地址 .dedgrp.ben.adrelc pts: new Pts().data,
dbfadrblkcn:"", // Chinese address .dedgrp.ben.dbfadrblkcn namelc: "", // 名称 .dedgrp.ben.namelc
}, adrelc: "", // 地址 .dedgrp.ben.adrelc
apl:{ dbfadrblkcn: "", // Chinese address .dedgrp.ben.dbfadrblkcn
pts:new Pts().data, },
namelc:"", // 名称 .dedgrp.apl.namelc apl: {
adrelc:"", // 地址 .dedgrp.apl.adrelc pts: new Pts().data,
dbfadrblkcn:"", // Chinese address .dedgrp.apl.dbfadrblkcn namelc: "", // 名称 .dedgrp.apl.namelc
}, adrelc: "", // 地址 .dedgrp.apl.adrelc
blk:{ dbfadrblkcn: "", // Chinese address .dedgrp.apl.dbfadrblkcn
dftat:"", // 远期付款指示 .dedgrp.blk.dftat },
preper:"", // 交单期限 .dedgrp.blk.preper blk: {
defdet:"", // 远期付款指示 .dedgrp.blk.defdet dftat: "", // 远期付款指示 .dedgrp.blk.dftat
rejadvrsn:"", // 拒绝通知理由 .dedgrp.blk.rejadvrsn preper: "", // 交单期限 .dedgrp.blk.preper
lcrgod:"", // Description of Goods .dedgrp.blk.lcrgod defdet: "", // 远期付款指示 .dedgrp.blk.defdet
lcrdoc:"", // 单据条款 .dedgrp.blk.lcrdoc rejadvrsn: "", // 拒绝通知理由 .dedgrp.blk.rejadvrsn
adlcnd:"", // 附加条款 .dedgrp.blk.adlcnd lcrgod: "", // Description of Goods .dedgrp.blk.lcrgod
insbnk:"", // 给付款、 .dedgrp.blk.insbnk lcrdoc: "", // 单据条款 .dedgrp.blk.lcrdoc
stamet:"", // 声明 .dedgrp.blk.stamet adlcnd: "", // 附加条款 .dedgrp.blk.adlcnd
}, insbnk: "", // 给付款、 .dedgrp.blk.insbnk
beb:{ stamet: "", // 声明 .dedgrp.blk.stamet
pts:new Pts().data, },
}, beb: {
apc:{ pts: new Pts().data,
pts:new Pts().data, },
}, apc: {
apb:{ pts: new Pts().data,
pts:new Pts().data, },
}, apb: {
iss:{ pts: new Pts().data,
pts:new Pts().data, },
}, iss: {
adv:{ pts: new Pts().data,
pts:new Pts().data, },
}, adv: {
avb:{ pts: new Pts().data,
pts:new Pts().data, },
}, avb: {
rmb:{ pts: new Pts().data,
pts:new Pts().data, },
}, rmb: {
cmb:{ pts: new Pts().data,
pts:new Pts().data, },
}, cmb: {
}, pts: new Pts().data,
mtabut:{ },
coninf:{ },
oitinf:{ mtabut: {
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt coninf: {
oit:{ oitinf: {
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt labinftxt: "", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev 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:{ oitset: {
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt labinftxt: "", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev 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 conexedat: "", // 执行日期 .mtabut.coninf.conexedat
}, usr: {
}, extkey: "", // User ID .mtabut.coninf.usr.extkey
}, },
prtpanblk:"", // XMLPanel prtpan的内置block .prtpanblk },
pageId: "" // ctx的key },
} 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> <template>
<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-row>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
...@@ -19,10 +28,10 @@ ...@@ -19,10 +28,10 @@
</c-col> </c-col>
</c-col> </c-col>
</c-row> </c-row>
</template>
<!-- 可控展示区 --> <!-- 可控展示区 -->
<template slot="changeShow"> <el-row v-show="searchSlot.searchToggle">
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
...@@ -136,9 +145,12 @@ ...@@ -136,9 +145,12 @@
</c-col> </c-col>
</c-row> </c-row>
</el-row>
</el-form>
</template> </template>
</c-infsearch-group> </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;">
<c-col> <c-col>
...@@ -198,6 +210,16 @@ ...@@ -198,6 +210,16 @@
详情 详情
</c-button> </c-button>
</el-popover> </el-popover>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="getButtons(scope.row['Reference'])"
>
处理
</c-button>
<!--
<c-button <c-button
style="margin-left: 0" style="margin-left: 0"
size="small" size="small"
...@@ -246,6 +268,7 @@ ...@@ -246,6 +268,7 @@
> >
注销 注销
</c-button> </c-button>
-->
</template> </template>
</el-table-column> </el-table-column>
</c-istream-table> </c-istream-table>
...@@ -269,18 +292,29 @@ ...@@ -269,18 +292,29 @@
</c-row> </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> </template>
<script> <script>
import Utils from "~/utils/index";
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/Infbfd/Event" import Event from "~/model/Infbfd/Event"
//交易跳转逻辑
import BusNavbar from "~/views/Business/Infbfd/BusNavbar";
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [commonProcess], mixins: [commonProcess],
components: { "m-busbtn": BusNavbar },
data(){ data(){
return { return {
ownref: "", ownref: "",
...@@ -339,19 +373,53 @@ export default { ...@@ -339,19 +373,53 @@ export default {
this.initdialog = true this.initdialog = true
this.ownref = ownref this.ownref = ownref
console.log("ownref:" +ownref); console.log("ownref:" +ownref);
setTimeout(()=>{
this.$refs.childs.$emit("childmethods")
},10)
// setTimeout(()=>{ // setTimeout(()=>{
// // this.$refs.childs.$emit("childmethods") // // this.$refs.childs.$emit("childmethods")
// console.log(this) // console.log(this)
// console.log(this.$refs) // console.log(this.$refs)
// console.log(this.$refs.childs) // console.log(this.$refs.childs)
// },10) // },10)
this.$router.history.push({ path: "/business/" + frm, query: { ownref } }) //this.$router.history.push({ path: "/business/" + frm, query: { ownref } })
}, },
async onChoose(code){ async onChoose(code){
//跳转交易 //跳转交易
this.$router.history.push("/business/" + code) this.$router.history.push("/business/" + code)
this.initdialog = false 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) { async getTrnInfo(idx, row) {
this.model.infcon.objinr = row["INR"]; this.model.infcon.objinr = row["INR"];
......
...@@ -81,6 +81,7 @@ ...@@ -81,6 +81,7 @@
</c-page> </c-page>
</template> </template>
<script> <script>
import Utils from "~/utils/index";
import Api from "~/service/Api" import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Infbfd from "~/model/Infbfd" 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> <template>
<!-- Selection --> <div class="eibs-tab">
<c-content class="eibs-tab" :height="200">
<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-row>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<el-form-item label="业务编号" prop="infcon.seaownref"> <el-form-item label="业务编号" prop="infcon.seaownref">
...@@ -18,10 +26,9 @@ ...@@ -18,10 +26,9 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-row> </c-row>
</template>
<!-- 可控展示区 --> <!-- 可控展示区 -->
<template slot="changeShow"> <el-row v-show="searchSlot.searchToggle">
<c-row> <c-row>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<el-form-item label="参考号" prop="infcon.searef"> <el-form-item label="参考号" prop="infcon.searef">
...@@ -187,9 +194,10 @@ ...@@ -187,9 +194,10 @@
</c-col> </c-col>
</c-row> </c-row>
</template> </el-row>
</c-infsearch-group> </el-form>
</template>
</c-list-search>
<c-col :span="24" style="margin-top: 10px"> <c-col :span="24" style="margin-top: 10px">
<c-button class="medium_bcs" size="medium" type="primary" @click="toDetopn">卖方信用证国内证通知</c-button> <c-button class="medium_bcs" size="medium" type="primary" @click="toDetopn">卖方信用证国内证通知</c-button>
</c-col> </c-col>
...@@ -239,12 +247,21 @@ ...@@ -239,12 +247,21 @@
slot="reference" slot="reference"
> >
详情 详情
</c-button> </c-button>
</el-popover> </el-popover>
<c-button <c-button
style="margin-left: 0" style="margin-left: 0"
size="small" size="small"
type="primary" 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')" @click="getButtons(scope.row['Reference'], 'detame')"
> >
修改通知 修改通知
...@@ -256,8 +273,9 @@ ...@@ -256,8 +273,9 @@
@click="getButtons(scope.row['Reference'], 'detdrv')" @click="getButtons(scope.row['Reference'], 'detdrv')"
> >
收单 收单
</c-button> </c-button>
</template> -->
</template>
</el-table-column> </el-table-column>
</c-istream-table> </c-istream-table>
</c-col> </c-col>
...@@ -292,19 +310,29 @@ ...@@ -292,19 +310,29 @@
</template> </template>
</el-table-column> </el-table-column>
--> -->
<el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body>
</c-content> <div class="m-list-btns">
<m-busbtn ref="childs" :ownref="ownref" @onChoose="onChoose"
>11</m-busbtn
>
</div>
</el-dialog>
</div>
</template> </template>
<script> <script>
import Utils from "~/utils/index";
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/Infdet/Event" import Event from "~/model/Infdet/Event"
//交易跳转逻辑
import BusNavbar from "~/views/Business/Infdet/BusNavbar";
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [commonProcess], mixins: [commonProcess],
components: { "m-busbtn": BusNavbar },
data(){ data(){
return { return {
ownref: "", ownref: "",
...@@ -356,23 +384,49 @@ export default { ...@@ -356,23 +384,49 @@ export default {
}, },
*/ */
methods:{ ...Event, methods:{ ...Event,
async getButtons(ownref, frm){ async getButtons(ownref){
this.initdialog = true this.initdialog = true
this.ownref = ownref this.ownref = ownref
console.log("ownref:" +ownref); console.log("ownref:" +ownref);
// setTimeout(()=>{ setTimeout(()=>{
// // this.$refs.childs.$emit("childmethods") this.$refs.childs.$emit("childmethods")
// console.log(this) },10)
// console.log(this.$refs) //this.$router.history.push({ path: "/business/" + frm, query: { ownref } })
// console.log(this.$refs.childs)
// },10)
this.$router.history.push({ path: "/business/" + frm, query: { ownref } })
}, },
async onChoose(code){ async onChoose(code){
//跳转交易 //跳转交易
this.$router.history.push("/business/" + code) this.$router.history.push("/business/" + code)
this.initdialog = false 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) { async getTrnInfo(idx, row) {
this.model.infcon.objinr = row["INR"]; this.model.infcon.objinr = row["INR"];
...@@ -400,10 +454,8 @@ export default { ...@@ -400,10 +454,8 @@ export default {
}, },
created:function(){ created:function(){},
};
}
}
</script> </script>
<style> <style>
......
...@@ -37,14 +37,17 @@ ...@@ -37,14 +37,17 @@
--> -->
<div class="eContainer"> <div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="left" size="small" :validate-on-rule-change="false"> <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">
<!--PD000006 --> <!--PD000006 -->
<!--
<el-tab-pane label="查詢界面" name="infsea"> <el-tab-pane label="查詢界面" name="infsea">
<m-infsea :model="model" :codes="codes"/> <m-infsea :model="model" :codes="codes"/>
</el-tab-pane> </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 --> <!--PD000017 -->
<el-tab-pane label="内容" name="ovwp"> <el-tab-pane label="内容" name="ovwp">
<m-ovwp :model="model" :codes="codes"/> <m-ovwp :model="model" :codes="codes"/>
...@@ -131,11 +134,21 @@ ...@@ -131,11 +134,21 @@
--> -->
</c-tabs> </c-tabs>
</el-form> </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> </div>
</c-page> </c-page>
</template> </template>
<script> <script>
import Utils from "~/utils/index";
import Api from "~/service/Api" import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Infdet from "~/model/Infdet" import Infdet from "~/model/Infdet"
...@@ -164,6 +177,7 @@ import Stament from "./Stament" ...@@ -164,6 +177,7 @@ import Stament from "./Stament"
export default { export default {
name: "Infdet",
components:{ components:{
"m-infsea" : Infsea, "m-infsea" : Infsea,
"m-ovwp" : Ovwp, "m-ovwp" : Ovwp,
...@@ -192,20 +206,55 @@ export default { ...@@ -192,20 +206,55 @@ export default {
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "infsea", tabVal: "",
trnName: "infdet", trnName: "infdet",
model: new Infdet().data, model: new Infdet().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
showPanel:false,
rules: null, rules: null,
codes: {...CodeTable}, codes: {...CodeTable},
showflg: true, showflg: true,
}; };
}, },
methods:{ 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(){ created:async function(){
console.log("进入infdet交易"); console.log("进入infdet交易");
...@@ -213,15 +262,20 @@ export default { ...@@ -213,15 +262,20 @@ export default {
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.$refs.infsea.handleSearch();
} }
else else
{ {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
},
watch:{
} }
} }
</script> </script>
<style> <style scoped>
</style> </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