Commit f8c60b9f by liaoxing

infcld修改

parent f0c31205
......@@ -51,14 +51,14 @@ export default {
};
},
methods: {},
created: async function () {}
created: async function () {},
// methods: {
// myTabClick(tab) {
// this.tabClick(tab);
// /**
// * do it yourself
// **/
// },
// },
// },
// created: async function () {
// console.log("进入infccd交易");
......
......@@ -26,7 +26,6 @@ export default {
if (rtnmsg.respCode == SUCCESS) {
this.stmData.data = [];
this.stmData.data = rtnmsg.data.list;
// debugger
this.pagination.total = rtnmsg.data.total;
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
......
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';
export default class Infcld {
constructor() {
......@@ -49,303 +48,12 @@ export default class Infcld {
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
sepp: {
feptxtlbl: "", // label used for FEP-Stream .infcon.sepp.feptxtlbl
fcptxtlbl: "", // label used for FCP-Stream .infcon.sepp.fcptxtlbl
sepstm: "", // Stream of selected SEP .infcon.sepp.sepstm
fcpstm: "", // Stream of FCP .infcon.sepp.fcpstm
fepstm: "", // Stream of FEP .infcon.sepp.fepstm
glpstm: "", // Stream of GLP .infcon.sepp.glpstm
},
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
trnp: {
sptp: {
ordp0: {
orddur: "", // Duration .infcon.trnp.sptp.ordp0.orddur
recget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .infcon.trnp.sptp.ordp0.recget.sdamod.dadsnd
seainf: "", // .infcon.trnp.sptp.ordp0.recget.sdamod.seainf
},
},
conarg: {
sector: "", // Sector .infcon.trnp.sptp.ordp0.conarg.sector
selref: "", // Contract .infcon.trnp.sptp.ordp0.conarg.selref
selnam: "", // name of selected contract .infcon.trnp.sptp.ordp0.conarg.selnam
},
pta: {
ptyextkey: "", // Ordering Party .infcon.trnp.sptp.ordp0.pta.ptyextkey
nam: "", // Externally Visible Name of Address .infcon.trnp.sptp.ordp0.pta.nam
},
},
ord: {
extkey: "", // Order Number .infcon.trnp.sptp.ord.extkey
nam: "", // External Readable Identification .infcon.trnp.sptp.ord.nam
inr: "", // Internal Unique ID of Transaction .infcon.trnp.sptp.ord.inr
ownusr: "", // Responsible User .infcon.trnp.sptp.ord.ownusr
ownusg: "", // Responsible Group Optional .infcon.trnp.sptp.ord.ownusg
sta: "", // Status .infcon.trnp.sptp.ord.sta
chkflg: "", // Order OK .infcon.trnp.sptp.ord.chkflg
inftxt: "", // Infotext .infcon.trnp.sptp.ord.inftxt
infdsp: "", // Infotext .infcon.trnp.sptp.ord.infdsp
inidattim: "", // Group .infcon.trnp.sptp.ord.inidattim
stadattim: "", // Timestamp of Last Status Update .infcon.trnp.sptp.ord.stadattim
cpldattim: "", // Timestamp of Completion .infcon.trnp.sptp.ord.cpldattim
tardattim: "", // Target for Completion .infcon.trnp.sptp.ord.tardattim
},
},
ordp0: {
orddur: "", // Duration .infcon.trnp.ordp0.orddur
recget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .infcon.trnp.ordp0.recget.sdamod.dadsnd
seainf: "", // .infcon.trnp.ordp0.recget.sdamod.seainf
},
},
conarg: {
sector: "", // Sector .infcon.trnp.ordp0.conarg.sector
selref: "", // Contract .infcon.trnp.ordp0.conarg.selref
selnam: "", // name of selected contract .infcon.trnp.ordp0.conarg.selnam
},
pta: {
ptyextkey: "", // Ordering Party .infcon.trnp.ordp0.pta.ptyextkey
nam: "", // Externally Visible Name of Address .infcon.trnp.ordp0.pta.nam
},
},
ord: {
extkey: "", // Order Number .infcon.trnp.ord.extkey
nam: "", // External Readable Identification .infcon.trnp.ord.nam
inr: "", // Internal Unique ID of Transaction .infcon.trnp.ord.inr
ownusr: "", // Responsible User .infcon.trnp.ord.ownusr
ownusg: "", // Responsible Group Optional .infcon.trnp.ord.ownusg
sta: "", // Status .infcon.trnp.ord.sta
chkflg: "", // Order OK .infcon.trnp.ord.chkflg
inftxt: "", // Infotext .infcon.trnp.ord.inftxt
infdsp: "", // Infotext .infcon.trnp.ord.infdsp
inidattim: "", // Group .infcon.trnp.ord.inidattim
stadattim: "", // Timestamp of Last Status Update .infcon.trnp.ord.stadattim
cpldattim: "", // Timestamp of Completion .infcon.trnp.ord.cpldattim
tardattim: "", // Target for Completion .infcon.trnp.ord.tardattim
},
},
ordp0: {
orddur: "", // Duration .infcon.ordp0.orddur
recget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .infcon.ordp0.recget.sdamod.dadsnd
seainf: "", // .infcon.ordp0.recget.sdamod.seainf
},
},
conarg: {
sector: "", // Sector .infcon.ordp0.conarg.sector
selref: "", // Contract .infcon.ordp0.conarg.selref
selnam: "", // name of selected contract .infcon.ordp0.conarg.selnam
},
pta: {
ptyextkey: "", // Ordering Party .infcon.ordp0.pta.ptyextkey
nam: "", // Externally Visible Name of Address .infcon.ordp0.pta.nam
},
},
ord: {
extkey: "", // Order Number .infcon.ord.extkey
nam: "", // External Readable Identification .infcon.ord.nam
inr: "", // Internal Unique ID of Transaction .infcon.ord.inr
ownusr: "", // Responsible User .infcon.ord.ownusr
ownusg: "", // Responsible Group Optional .infcon.ord.ownusg
sta: "", // Status .infcon.ord.sta
chkflg: "", // Order OK .infcon.ord.chkflg
inftxt: "", // Infotext .infcon.ord.inftxt
infdsp: "", // Infotext .infcon.ord.infdsp
inidattim: "", // Group .infcon.ord.inidattim
stadattim: "", // Timestamp of Last Status Update .infcon.ord.stadattim
cpldattim: "", // Timestamp of Completion .infcon.ord.cpldattim
tardattim: "", // Target for Completion .infcon.ord.tardattim
},
},
infbut: {
dspstm: "", // display stream .infbut.dspstm
},
seadoctypcod: "", // Payment Disposition .seadoctypcod
prtpanblk: "", // XMLPanel prtpan的内置block .prtpanblk
trnmod: {
trndoc: {
dtemod: {
dtetagm06: "", // Information about Confirmation Instruction .trnmod.trndoc.dtemod.dtetagm06
dtetagm07: "", // Notes from Advising Bank .trnmod.trndoc.dtemod.dtetagm07
dtetagm08: "", // Fee of Advising Bank .trnmod.trndoc.dtemod.dtetagm08
dtetagm53typ: "", // Document Sending Type .trnmod.trndoc.dtemod.dtetagm53typ
dtetagm53nam: "", // Courier Name .trnmod.trndoc.dtemod.dtetagm53nam
dtetagm53num: "", // Courier Number .trnmod.trndoc.dtemod.dtetagm53num
},
},
ptsmod: {
fecinf: {
fecstm: "", // Stream of fee conditions of passed object .trnmod.ptsmod.fecinf.fecstm
},
},
cipmod: {
dddbsh: "", // 端到端标识号 .trnmod.cipmod.dddbsh
zjg1hh: "", // 中介机构1行号 .trnmod.cipmod.zjg1hh
zjg1mc: "", // 中介机构1名称 .trnmod.cipmod.zjg1mc
zjg2hh: "", // 中介机构2行号 .trnmod.cipmod.zjg2hh
zjg2mc: "", // 中介机构2名称 .trnmod.cipmod.zjg2mc
dafnzh: "", // 借记记账账号 .trnmod.cipmod.dafnzh
dafnmc: "", // 借记记账名称 .trnmod.cipmod.dafnmc
recsehbch: "", // 收款间接参与者行号 .trnmod.cipmod.recsehbch
staonebch: "", // 付款直接参与者行号 .trnmod.cipmod.staonebch
recsehbchnam: "", // 收款间接参与者名称 .trnmod.cipmod.recsehbchnam
staonebchnam: "", // 付款直接参与者名称 .trnmod.cipmod.staonebchnam
fuynh2: "", // 附言2 .trnmod.cipmod.fuynh2
fuynh3: "", // 附言3 .trnmod.cipmod.fuynh3
fuynh4: "", // 附言4 .trnmod.cipmod.fuynh4
skrdz2: "", // 收款人地址2 .trnmod.cipmod.skrdz2
skrdz3: "", // 收款人地址3 .trnmod.cipmod.skrdz3
skrdz4: "", // 收款人地址4 .trnmod.cipmod.skrdz4
skrdz5: "", // 收款人地址5 .trnmod.cipmod.skrdz5
fkrdz2: "", // 付款人地址2 .trnmod.cipmod.fkrdz2
fkrdz3: "", // 付款人地址3 .trnmod.cipmod.fkrdz3
fkrdz4: "", // 付款人地址4 .trnmod.cipmod.fkrdz4
fkrdz5: "", // 付款人地址5 .trnmod.cipmod.fkrdz5
pyebchkey: "", // 收款行开户行行号 .trnmod.cipmod.pyebchkey
pyebchnam: "", // 收款行开户行名称 .trnmod.cipmod.pyebchnam
stasehbch: "", // 付款间接参与者行号 .trnmod.cipmod.stasehbch
stasehbchnam: "", // 付款间接参与者名称 .trnmod.cipmod.stasehbchnam
fkrdz6: "", // 付款人地址6 .trnmod.cipmod.fkrdz6
fkrdz7: "", // 付款人地址7 .trnmod.cipmod.fkrdz7
skrdz6: "", // 收款人地址6 .trnmod.cipmod.skrdz6
skrdz7: "", // 收款人地址7 .trnmod.cipmod.skrdz7
covflg: "", // 112COV .trnmod.cipmod.covflg
fufeih: "", // 付费行号1 .trnmod.cipmod.fufeih
ffeih2: "", // 付费行号2 .trnmod.cipmod.ffeih2
fkrkhh: "", // 付款行开户行行号 .trnmod.cipmod.fkrkhh
fukrhm: "", // 付款行开户行名称 .trnmod.cipmod.fukrhm
feecod: "", // 费用承担方 .trnmod.cipmod.feecod
feiyon: "", // 费用1 .trnmod.cipmod.feiyon
feiyn2: "", // 费用2 .trnmod.cipmod.feiyn2
fuyns1: "", // 致收款人银行附言1 .trnmod.cipmod.fuyns1
fuyns2: "", // 致收款人银行附言2 .trnmod.cipmod.fuyns2
fuyns3: "", // 致收款人银行附言3 .trnmod.cipmod.fuyns3
fuyns4: "", // 致收款人银行附言4 .trnmod.cipmod.fuyns4
fyo1bz: "", // 费用1币种 .trnmod.cipmod.fyo1bz
fyo2bz: "", // 费用2币种 .trnmod.cipmod.fyo2bz
fkhkhh: "", // 付款行行号 .trnmod.cipmod.fkhkhh
fkkhmc: "", // 付款行行名 .trnmod.cipmod.fkkhmc
fkkhzh: "", // 付款行账号 .trnmod.cipmod.fkkhzh
fkhdzh: "", // 付款行地址 .trnmod.cipmod.fkhdzh
skkhhh: "", // 收款行行号 .trnmod.cipmod.skkhhh
skkhhm: "", // 收款行行名 .trnmod.cipmod.skkhhm
skkhzh: "", // 收款行账号 .trnmod.cipmod.skkhzh
skkhdz: "", // 收款行地址 .trnmod.cipmod.skkhdz
ddbhao: "", // 订单编号 .trnmod.cipmod.ddbhao
ddmisu: "", // 订单描述 .trnmod.cipmod.ddmisu
fkrzhj: "", // 付款人组织机构代码 .trnmod.cipmod.fkrzhj
fkrzjh: "", // 付款人证件号码 .trnmod.cipmod.fkrzjh
fkrzgj: "", // 付款人常驻国家(地区)代码 .trnmod.cipmod.fkrzgj
fkreid: "", // 付款人EID .trnmod.cipmod.fkreid
fkfyzh: "", // 付款非银行支付机构帐号 .trnmod.cipmod.fkfyzh
fkfdz1: "", // 付款非银行支付机构地址1 .trnmod.cipmod.fkfdz1
fkfdz2: "", // 付款非银行支付机构地址2 .trnmod.cipmod.fkfdz2
fkfdz3: "", // 付款非银行支付机构地址3 .trnmod.cipmod.fkfdz3
fkfdz4: "", // 付款非银行支付机构地址4 .trnmod.cipmod.fkfdz4
fkfdz5: "", // 付款非银行支付机构地址5 .trnmod.cipmod.fkfdz5
fkfdz6: "", // 付款非银行支付机构地址6 .trnmod.cipmod.fkfdz6
fkfdz7: "", // 付款非银行支付机构地址7 .trnmod.cipmod.fkfdz7
skrzhj: "", // 收款人组织机构代码 .trnmod.cipmod.skrzhj
skrzjh: "", // 收款人证件号码 .trnmod.cipmod.skrzjh
skrzgj: "", // 收款人常驻国家(地区)代码 .trnmod.cipmod.skrzgj
skreid: "", // 收款人EID .trnmod.cipmod.skreid
skfyzh: "", // 收款非银行支付机构帐号 .trnmod.cipmod.skfyzh
skfdz1: "", // 收款非银行支付机构地址1 .trnmod.cipmod.skfdz1
skfdz2: "", // 收款非银行支付机构地址2 .trnmod.cipmod.skfdz2
skfdz3: "", // 收款非银行支付机构地址3 .trnmod.cipmod.skfdz3
skfdz4: "", // 收款非银行支付机构地址4 .trnmod.cipmod.skfdz4
skfdz5: "", // 收款非银行支付机构地址5 .trnmod.cipmod.skfdz5
skfdz6: "", // 收款非银行支付机构地址6 .trnmod.cipmod.skfdz6
skfdz7: "", // 收款非银行支付机构地址7 .trnmod.cipmod.skfdz7
ddmsu1: "", // 订单描述1 .trnmod.cipmod.ddmsu1
ddmsu2: "", // 订单描述2 .trnmod.cipmod.ddmsu2
ddmsu3: "", // 订单描述3 .trnmod.cipmod.ddmsu3
ddmsu4: "", // 订单描述4 .trnmod.cipmod.ddmsu4
ddmsu5: "", // 订单描述5 .trnmod.cipmod.ddmsu5
ddmsu6: "", // 订单描述6 .trnmod.cipmod.ddmsu6
ddmsu7: "", // 订单描述7 .trnmod.cipmod.ddmsu7
ddmsu8: "", // 订单描述8 .trnmod.cipmod.ddmsu8
skrzjl: "", // 收款人证件类型 .trnmod.cipmod.skrzjl
fkrzjl: "", // 付款人证件类型 .trnmod.cipmod.fkrzjl
cfkfzh: "", // COV付款非银行支付机构帐号 .trnmod.cipmod.cfkfzh
cffdz1: "", // COV付款非银行支付机构地址1 .trnmod.cipmod.cffdz1
cffdz2: "", // COV付款非银行支付机构地址2 .trnmod.cipmod.cffdz2
cffdz3: "", // COV付款非银行支付机构地址3 .trnmod.cipmod.cffdz3
cffdz4: "", // COV付款非银行支付机构地址4 .trnmod.cipmod.cffdz4
cffdz5: "", // COV付款非银行支付机构地址5 .trnmod.cipmod.cffdz5
cffdz6: "", // COV付款非银行支付机构地址6 .trnmod.cipmod.cffdz6
cffdz7: "", // COV付款非银行支付机构地址7 .trnmod.cipmod.cffdz7
cfkrzj: "", // COV付款人组织机构代码 .trnmod.cipmod.cfkrzj
cfkzjh: "", // COV付款人证件号码 .trnmod.cipmod.cfkzjh
cfkrgj: "", // COV付款人常驻国家(地区)代码 .trnmod.cipmod.cfkrgj
cfkeid: "", // COV付款人EID .trnmod.cipmod.cfkeid
cskfzh: "", // COV收款非银行支付机构帐号 .trnmod.cipmod.cskfzh
csfdz1: "", // COV收款非银行支付机构地址1 .trnmod.cipmod.csfdz1
csfdz2: "", // COV收款非银行支付机构地址2 .trnmod.cipmod.csfdz2
csfdz3: "", // COV收款非银行支付机构地址3 .trnmod.cipmod.csfdz3
csfdz4: "", // COV收款非银行支付机构地址4 .trnmod.cipmod.csfdz4
csfdz6: "", // COV收款非银行支付机构地址6 .trnmod.cipmod.csfdz6
csfdz7: "", // COV收款非银行支付机构地址7 .trnmod.cipmod.csfdz7
cskrzj: "", // COV收款人组织机构代码 .trnmod.cipmod.cskrzj
csfdz5: "", // COV收款非银行支付机构地址5 .trnmod.cipmod.csfdz5
cskzjh: "", // COV收款人证件号码 .trnmod.cipmod.cskzjh
cskrgj: "", // COV收款人常驻国家(地区)代码 .trnmod.cipmod.cskrgj
cskeid: "", // COV收款人EID .trnmod.cipmod.cskeid
cskzjl: "", // COV收款人证件类型 .trnmod.cipmod.cskzjl
cfkzjl: "", // COV付款人证件类型 .trnmod.cipmod.cfkzjl
fqzyhh: "", // 发起直接参与者行号 .trnmod.cipmod.fqzyhh
jszyhh: "", // 接收直接参与者行号 .trnmod.cipmod.jszyhh
mxywbs: "", // 明细业务总笔数 .trnmod.cipmod.mxywbs
mxywje: "", // 明细业务总金额 .trnmod.cipmod.mxywje
mxywsh: "", // 明细业务标识号 .trnmod.cipmod.mxywsh
},
},
pageId: "", // ctx的key
mtabut: new Pub().data.Mtabut,
pageId:'',
}
}
}
\ No newline at end of file
......@@ -138,54 +138,149 @@
</c-button>
</c-col>
<c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns" :showButtonFlg="true">
<el-table-column fixed="right" prop="op" width="140px">
<template slot="header">
<c-col :span="11" style="text-align: center"><span>操作</span></c-col>
<div style="height: 90%">
<c-col :span="24">
<el-table
:data="stmData.data"
:columns="stmData.columns"
:showButtonFlg="true"
>
<el-table-column
v-for="(item, key) in stmData.columns"
:key="key"
:label="item.label"
:prop="item.prop"
></el-table-column>
<!-- 自定义组件里加了最右边的一列”操作“ -->
<el-table-column fixed="right" prop="op" label="操作" width="140px">
<template slot="header">
<!-- 插槽里放了一个文字 一个按钮 -->
<c-col :span="11" style="text-align: center"
><span>操作</span>
</c-col>
</template>
<template slot-scope="scope">
<!-- 申请一个弹出主键放在插槽,加工已渲染的数据 -->
<el-popover
placement="top-start"
title="历史信息"
width="800"
trigger="click"
:ref="'popover_' + scope.row.IDX"
>
<div
style="
text-align: right;
margin-top: -30px;
margin-right: 5px;
font-size: 16px;
"
>
<span
class="el-icon-close"
style="cursor: pointer"
@click="closeDetailsDialog('popover_' + scope.row.IDX)"
></span>
</div>
<el-table
:data="trnData.data"
:columns="trnData.columns"
:showButtonFlg="true"
>
<el-table-column
v-for="(item, key) in trnData.columns"
:key="key"
:label="item.label"
:prop="item.prop"
>
<template slot-scope="scope">
<div>{{ scope.row[item.prop] }}</div>
</template>
</el-table-column>
<el-table-column
fixed="right"
prop="op"
label="操作"
width="250px"
>
<template slot-scope="scope">
<el-popover placement="top-start" title="历史信息" width="800" trigger="click"
:ref="'popover_' + scope.row.IDX">
<div style=" text-align: right; margin-top: -30px; margin-right: 5px; font-size: 16px;">
<span class="el-icon-close" @click="closeTrn('popover_' + scope.row.IDX)" />
</div>
<c-istream-table :list="trnData.data" :columns="trnData.columns">
<el-table-column prop="op" label="操作" width="0">
<template slot-scope="scope">
<c-button style="margin-left: 0" size="small"
@click="display(scope.row['INR'])">详情</c-button>
</template>
</el-table-column>
</c-istream-table>
<c-button style="margin-left: 0" size="small" @click="getTrnInfo(scope.$index, scope.row)"
slot="reference">详情</c-button>
</el-popover>
<c-button style="margin-left: 5px" size="small" type="primary"
@click="getButtons(scope.row['打包托收编号'],scope.row['打包托收余额'], scope.row['编号'],scope.row['开立日期'],scope.row['关闭日期'])">处理
</c-button>
<c-button
style="margin-left: 0"
size="small"
@click="display(scope.row['inr'])"
>详情</c-button
>
</template>
</el-table-column>
</c-istream-table>
</c-col>
<m-busbtn ref="childs" :ownref="ownref" :amt="amt" :model="CltselModel" ownrefPath="cldgrp" trnCode="cltsel" :inr="inr" :opndat="opndat"
@onChoose="onChoose">11</m-busbtn>
</el-table-column>
</el-table>
<c-button
style="margin-left: 0px"
size="small"
@click="details(scope.row)"
slot="reference"
>
详情
</c-button>
</el-popover>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="handler(scope.row)"
>处理
</c-button>
</template>
</el-table-column>
</el-table>
<div class="pagination-box">
<el-pagination
style="margin-right: 30px;"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page.sync="pagination.pageIndex"
:page-sizes="[10, 20, 50, 100, 500]"
:page-size="pagination.pageSize"
layout="sizes, prev, pager, next"
:total="pagination.total">
</el-pagination>
</div>
</c-col>
<!-- 点击处理ba弹框 -->
<el-dialog
:visible.sync="initdialog"
title="交易列表"
append-to-body
width="60%"
>
<div class="dialog-wrap">
<div class="btn-group-wrap">
<div
class="btn-item"
v-for="(item, index) in handlerDataList"
:key="index"
>
<el-button
type="primary"
:disabled="item.value === 'N'"
@click="handleClick(item)"
>{{ item.label }}
</el-button>
</div>
</div>
</div>
</el-dialog>
</div>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infcld/Event"
import event from "../event";
import CltselModel from "~/model/Cltsel"
import BusNavbar from "./BusNavbar";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
mixins: [event],
components: { "m-busbtn": BusNavbar },
data() {
return {
......@@ -195,105 +290,171 @@ export default {
CltselModel: new CltselModel().data,
ownref: "",
initdialog: false,
transactionStatus: {
busiNo: "",
modTimes: 0,
postCount: 0,
accCount: 0,
earnCount: 0,
earnAmt: 0
},
// transactionStatus: {
// busiNo: "",
// modTimes: 0,
// postCount: 0,
// accCount: 0,
// earnCount: 0,
// earnAmt: 0
// },
trnData: {
columns: [
'1 1 "编号" 200',
'2 2 "交易名称" 120',
// '3 3 "日期" 200',
{ index: 3, position: 3, width: 110, pattern: 'date', label: '日期' },
// '4 4 "状态" 50',
{ index: 4, position: 4, width: 100, pattern: 'code', label: '状态', code: this.codes.relstaEN },
'5 5 "币种" 80',
'6 6 "金额" 110',
{
label: "编号",
prop: "inr",
},
{
label: "交易名称",
prop: "ininam",
},
{
label: "日期",
prop: "inidattim",
},
{
label: "状态",
prop: "relflg",
},
{
label: "币种",
prop: "reloricur",
},
{
label: "金额",
prop: "reloriamt",
},
],
data: [],
},
stmData: {
columns: [
"1 1 \"打包托收编号\" 150",
"2 2 \"客户经理\" 150",
"3 5 \"开立日期\" 200 4 7",
"4 6 \"关闭日期\" 200 4 7",
"5 3 \"当事人编号\" 150",
"6 4 \"代收行\" 180",
"7 7 \"打包托收币种\" 150",
"8 8 \"打包托收金额\" 150 8 1 7",
"9 9 \"打包托收币种\" 150",
"10 10 \"打包托收余额\" 150 2 8 1 9",
{
label: "打包托收编号",
prop: "seaownref",
},
{
label: "客户经理",
prop: "ownusr",
},
{
label: "开立日期",
prop: "opndat",
},
{
label: "当事人编号",
prop: "colExtkey",
},
{
label: "关闭日期",
prop: "clsdat",
},
// {
// label: "代收行",
// prop: "",
// },
{
label: "打包托收金额币种",
prop: "seacur",
},
{
label: "打包托收金额",
prop: "maxamt",
},
{
label: "打包托收余额币种",
prop: "opncur",
},
{
label: "打包托收",
prop: "opnamt",
},
],
data: [
]
}
data: [],
},
initdialog: false,
btnRouteMap: [
{
label: '打包托收开立',
route: '/business-new/cltdav'
},
{
label: '打包托收催收',
route: '/business-new/clttra'
},
{
label: '打包托收解包',
route: '/business-new/cltsel'
},
],
pagination: {
pageIndex: 1,
pageSize: 10,
total: 0,
},
handlerDataList: [],
}
},
methods: {
...Event,
async getButtons(ownref,amt,inr,opndat,closedDate) {
this.CltselModel.clsflg = (closedDate ?? "").trim() === "" ? "" : "C";
this.$refs.childs.initdialog = true
this.ownref = ownref
this.amt = amt;
this.inr = inr;
this.opndat = opndat;
console.log("ownref:" + ownref);
},
async onChoose(code, prePageId) {
//跳转交易
// this.$router.history.push("/business/" + code)
this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId } });
this.$refs.childs.initdialog = false
},
closeTrn(refId) {
this.$refs[refId].doClose();
},
async getTrnInfo(idx, row) {
// ...Event,
// async getButtons(ownref,amt,inr,opndat,closedDate) {
// this.CltselModel.clsflg = (closedDate ?? "").trim() === "" ? "" : "C";
// this.$refs.childs.initdialog = true
// this.ownref = ownref
// this.amt = amt;
// this.inr = inr;
// this.opndat = opndat;
// console.log("ownref:" + ownref);
// },
// async onChoose(code, prePageId) {
// //跳转交易
// // this.$router.history.push("/business/" + code)
// this.$router.push({ name: code.charAt(0).toUpperCase() + code.substring(1), params: { prePageId } });
// this.$refs.childs.initdialog = false
// },
// closeTrn(refId) {
// this.$refs[refId].doClose();
// },
// async getTrnInfo(idx, row) {
this.model.infcon.objinr = row["INR"];
this.model.infcon.cldgrp.rec.inr = row["INR"];
this.model.infcon.chksubcon = "X";
// this.model.infcon.objinr = row["INR"];
// this.model.infcon.cldgrp.rec.inr = row["INR"];
// this.model.infcon.chksubcon = "X";
let rtnmsg = await this.executeDefault("infcon.chksubcon");
if ((rtnmsg.respCode = SUCCESS)) {
this.trnData.data = rtnmsg.data.infcon_trnstm.rows;
console.log(this.trnData.data);
}
},
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);
// let rtnmsg = await this.executeDefault("infcon.chksubcon");
// if ((rtnmsg.respCode = SUCCESS)) {
// this.trnData.data = rtnmsg.data.infcon_trnstm.rows;
// console.log(this.trnData.data);
// }
// },
// 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);
// if (rtnmsgNew.respCode = SUCCESS) {
// console.log(rtnmsgNew);
// this.updateModel(rtnmsgNew.data);
let rtnmsgOitset = await this.executeDefault("mtabut.coninf.oitset.oit");
// let rtnmsgOitset = await this.executeDefault("mtabut.coninf.oitset.oit");
if (rtnmsgOitset.respCode = SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsgOitset.data);
// if (rtnmsgOitset.respCode = SUCCESS) {
// Utils.copyValueFromVO(this.model, rtnmsgOitset.data);
}
// }
}
}
//触发父组件中updateShowPanel 事件,修改index中showPanel ,控制 index中组件的显示和隐藏
this.$emit('updateShowPanel', true)
// }
// }
// //触发父组件中updateShowPanel 事件,修改index中showPanel ,控制 index中组件的显示和隐藏
// this.$emit('updateShowPanel', true)
},
// },
toCltdav() {
this.$router.history.push("/business/cltdav")
}
......
......@@ -14,13 +14,9 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import CodeTable from "~/config/CodeTable";
import Infcld from "~/model/Infcld"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Infcld/Check"
import Default from "~/model/Infcld/Default"
import Pattern from "~/model/Infcld/Pattern"
import event from "../event"
import Infsea from "./Infsea"
......@@ -34,19 +30,15 @@ export default {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [event], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "infsea",
trnName: "infcld",
model: new Infcld().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
showPanel: false,
codes: {
...CodeTable
...CodeTable,
},
}
},
......@@ -55,16 +47,16 @@ export default {
}
},
created: async function () {
console.log("进入infcld交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
// console.log("进入infcld交易");
// let rtnmsg = await this.init({})
// if (rtnmsg.respCode == SUCCESS) {
// //TODO 处理数据逻辑
// this.updateModel(rtnmsg.data);
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
// }
// else {
// this.$notify.error({ title: '错误', message: '服务请求失败!' });
// }
}
}
</script>
......
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