Commit 3b5c83d4 by 潘际乾

brtset 756、202

parent 05d35cea
...@@ -319,6 +319,8 @@ export default { ...@@ -319,6 +319,8 @@ export default {
} }
}, },
async onSeainf() {}, async onSeainf() {},
async onGctpGetrefbut() {},
async click() {},
async onSav(){ async onSav(){
let rtnmsg = await this.executeRule("sav") let rtnmsg = await this.executeRule("sav")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
......
...@@ -12,103 +12,7 @@ export default class Setmod { ...@@ -12,103 +12,7 @@ export default class Setmod {
setglg: { setglg: {
labdspflg: "", // Label for Type of Settlement .setmod.setglg.labdspflg labdspflg: "", // Label for Type of Settlement .setmod.setglg.labdspflg
setgll01:{
sespay:{
rcvcor2acc:"",
strinf:"",
},
setgrp:{
actser:{
pts:{
extkey:"", // setmod.setglg.setgll01.setgrp.actser.pts.extkey
adrblk:"", // setmod.setglg.setgll01.setgrp.actser.pts.adrblk
},
},
rcvcor2:{
pts:{
extkey:"", // setmod.setglg.setgll01.setgrp.rcvcor2.pts.extkey
adrblk:"", // setmod.setglg.setgll01.setgrp.rcvcor2.pts.adrblk
},
},
snd756:{
pts:{
extkey:"", // MT756详情 setmod.setglg.setgll01.setgrp.snd756.pts.extkey
adrblk:"", // setmod.setglg.setgll01.setgrp.snd756.pts.adrblk
},
},
},
},
setgll:[], setgll:[],
sespay:{
strinf202:"",
triacc:"",
coract:"",
evebnk:"",
corbnk:"",
ownref:"",
oriacc:"",
rcvcoracc:"",
awiacc:"",
beiacc:"",
strinf:"",
setgrp:{
bei:{
pts:{
extkey:"",
adrblk:"",
}
},
ori:{
pts:{
extkey:"",
adrblk:"",
}
} ,
tri:{
pts:{
extkey:"",
adrblk:"",
}
} ,
rcvcor:{
pts:{
extkey:"",
adrblk:"",
}
},
rcvcor2:{
pts:{
extkey:"",
adrblk:"",
}
},
snd756:{
pts:{
extkey:"",
adrblk:"",
}
},
},
actserp:{
ptspta:{
pts:{
extkey:"",
adrblk:"",
}
}
},
awip:{
ptspta:{
pts:{
extkey:"",
adrblk:"",
}
}
},
}
}, },
zmqacclab: "", // 主�'�号LABEL .setmod.zmqacclab zmqacclab: "", // 主�'�号LABEL .setmod.zmqacclab
zmqacc: "", // 自�'�区主�'�号 .setmod.zmqacc zmqacc: "", // 自�'�区主�'�号 .setmod.zmqacc
......
...@@ -6,9 +6,9 @@ ...@@ -6,9 +6,9 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="订单机构(Tag 52a)" prop="setmod.setglg.setgll01.setgrp.ori.pts.extkey"> <el-form-item label="订单机构(Tag 52a)" :prop="'setmod.setglg.setgll.' + idx + '.setgrp.ori.pts.extkey'">
<c-fullbox> <c-fullbox>
<c-input v-model="model.setmod.setglg.setgll01.setgrp.ori.pts.extkey" maxlength="16" placeholder="请输入内容" <c-input v-model="model.setmod.setglg.setgll[idx].setgrp.ori.pts.extkey" maxlength="16" placeholder="请输入内容"
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey') showGridPromptDialog('gcdgrp.prb.pts.extkey')
"></c-input> "></c-input>
...@@ -24,21 +24,21 @@ ...@@ -24,21 +24,21 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="" prop="setmod.setglg.setgll01.setgrp.ori.pts.adrblk"> <el-form-item label="" :prop="'setmod.setglg.setgll.' + idx + '.setgrp.ori.pts.adrblk'">
<c-input type="textarea" rows="4" v-model="model.setmod.setglg.setgll01.setgrp.ori.pts.adrblk" maxlength="35" <c-input type="textarea" rows="4" v-model="model.setmod.setglg.setgll[idx].setgrp.ori.pts.adrblk" maxlength="35"
show-word-limit placeholder="请输入地址信息"></c-input> show-word-limit placeholder="请输入地址信息"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="付款行的账号" prop="setmod.setglg.setgll01.sespay.oriacc"> <el-form-item label="付款行的账号" :prop="'setmod.setglg.setgll.' + idx + '.sespay.oriacc'">
<c-input v-model="model.setmod.setglg.setgll01.sespay.oriacc" maxlength="34" placeholder="请输入付款行的账号"> <c-input v-model="model.setmod.setglg.setgll[idx].sespay.oriacc" maxlength="34" placeholder="请输入付款行的账号">
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24" style="margin-top: 15px"> <c-col :span="24" style="margin-top: 15px">
<el-form-item label="中间行" prop="setmod.setglg.setgll01.setgrp.rcvcor.pts.extkey"> <el-form-item label="中间行" :prop="'setmod.setglg.setgll.' + idx + '.setgrp.rcvcor.pts.extkey'">
<c-fullbox> <c-fullbox>
<c-input v-model="model.setmod.setglg.setgll01.setgrp.rcvcor.pts.extkey" maxlength="16" placeholder="请输入" <c-input v-model="model.setmod.setglg.setgll[idx].setgrp.rcvcor.pts.extkey" maxlength="16" placeholder="请输入"
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey') showGridPromptDialog('gcdgrp.prb.pts.extkey')
"></c-input> "></c-input>
...@@ -54,20 +54,20 @@ ...@@ -54,20 +54,20 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="" prop="setmod.setglg.setgll01.setgrp.rcvcor.pts.adrblk"> <el-form-item label="" :prop="'setmod.setglg.setgll.' + idx + '.setgrp.rcvcor.pts.adrblk'">
<c-input type="textarea" rows="4" v-model="model.setmod.setglg.setgll01.setgrp.rcvcor.pts.adrblk" <c-input type="textarea" rows="4" v-model="model.setmod.setglg.setgll[idx].setgrp.rcvcor.pts.adrblk"
maxlength="35" show-word-limit placeholder="请输入"></c-input> maxlength="35" show-word-limit placeholder="请输入"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="中间行账号" prop="setmod.setglg.setgll01.sespay.rcvcoracc"> <el-form-item label="中间行账号" :prop="'setmod.setglg.setgll.' + idx + '.sespay.rcvcoracc'">
<c-input v-model="model.setmod.setglg.setgll01.sespay.rcvcoracc" maxlength="34" placeholder="请输入中间行账号"> <c-input v-model="model.setmod.setglg.setgll[idx].sespay.rcvcoracc" maxlength="34" placeholder="请输入中间行账号">
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="我行参考号(Tag 20)" prop="setmod.setglg.setgll01.sespay.ownref"> <el-form-item label="我行参考号(Tag 20)" :prop="'setmod.setglg.setgll.' + idx + '.sespay.ownref'">
<c-input v-model="model.setmod.setglg.setgll01.sespay.ownref" maxlength="16" placeholder="请输入我行参考号(Tag 20)"> <c-input v-model="model.setmod.setglg.setgll[idx].sespay.ownref" maxlength="16" placeholder="请输入我行参考号(Tag 20)">
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -78,22 +78,22 @@ ...@@ -78,22 +78,22 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="清算代理行" prop="setmod.setglg.setgll01.sespay.corbnk"> <el-form-item label="清算代理行" :prop="'setmod.setglg.setgll.' + idx + '.sespay.corbnk'">
<c-select v-model="model.setmod.setglg.setgll01.sespay.corbnk" :code="codes.corbnk" disabled <c-select v-model="model.setmod.setglg.setgll[idx].sespay.corbnk" :code="codes.corbnk" disabled
style="width: 100%" placeholder="请选择清算代理行"> style="width: 100%" placeholder="请选择清算代理行">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="光大开户行" prop="setmod.setglg.setgll01.sespay.evebnk"> <el-form-item label="光大开户行" :prop="'setmod.setglg.setgll.' + idx + '.sespay.evebnk'">
<c-select v-model="model.setmod.setglg.setgll01.sespay.evebnk" disabled :code="codes.evebnk" <c-select v-model="model.setmod.setglg.setgll[idx].sespay.evebnk" disabled :code="codes.evebnk"
style="width: 100%" placeholder="请选择光大开户行"> style="width: 100%" placeholder="请选择光大开户行">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="清算代理行账号" prop="setmod.setglg.setgll01.sespay.coract"> <el-form-item label="清算代理行账号" :prop="'setmod.setglg.setgll.' + idx + '.sespay.coract'">
<c-input disabled v-model="model.setmod.setglg.setgll01.sespay.coract" maxlength="32" <c-input disabled v-model="model.setmod.setglg.setgll[idx].sespay.coract" maxlength="32"
placeholder="请输入清算代理行账号"></c-input> placeholder="请输入清算代理行账号"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -102,9 +102,9 @@ ...@@ -102,9 +102,9 @@
<c-col :span="12" style="padding-left: 20px;"> <c-col :span="12" style="padding-left: 20px;">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="账户行" prop="setmod.setglg.setgll01.setgrp.tri.pts.extkey"> <el-form-item label="账户行" :prop="'setmod.setglg.setgll.' + idx + '.setgrp.tri.pts.extkey'">
<c-fullbox> <c-fullbox>
<c-input v-model="model.setmod.setglg.setgll01.setgrp.tri.pts.extkey" maxlength="16" placeholder="请输入账户行" <c-input v-model="model.setmod.setglg.setgll[idx].setgrp.tri.pts.extkey" maxlength="16" placeholder="请输入账户行"
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey') showGridPromptDialog('gcdgrp.prb.pts.extkey')
"></c-input> "></c-input>
...@@ -120,21 +120,21 @@ ...@@ -120,21 +120,21 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="" prop="setmod.setglg.setgll01.setgrp.tri.pts.adrblk"> <el-form-item label="" :prop="'setmod.setglg.setgll.' + idx + '.setgrp.tri.pts.adrblk'">
<c-input type="textarea" rows="4" v-model="model.setmod.setglg.setgll01.setgrp.tri.pts.adrblk" maxlength="35" <c-input type="textarea" rows="4" v-model="model.setmod.setglg.setgll[idx].setgrp.tri.pts.adrblk" maxlength="35"
show-word-limit placeholder="请输入地址信息"></c-input> show-word-limit placeholder="请输入地址信息"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="账户行账号" prop="setmod.setglg.setgll01.sespay.triacc"> <el-form-item label="账户行账号" :prop="'setmod.setglg.setgll.' + idx + '.sespay.triacc'">
<c-input v-model="model.setmod.setglg.setgll01.sespay.triacc" maxlength="34" placeholder="请输入账户行账号"></c-input> <c-input v-model="model.setmod.setglg.setgll[idx].sespay.triacc" maxlength="34" placeholder="请输入账户行账号"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="受益人机构" prop="setmod.setglg.setgll01.setgrp.bei.pts.extkey"> <el-form-item label="受益人机构" :prop="'setmod.setglg.setgll.' + idx + '.setgrp.bei.pts.extkey'">
<c-fullbox> <c-fullbox>
<c-input v-model="model.setmod.setglg.setgll01.setgrp.bei.pts.extkey" maxlength="16" placeholder="请输入受益人机构" <c-input v-model="model.setmod.setglg.setgll[idx].setgrp.bei.pts.extkey" maxlength="16" placeholder="请输入受益人机构"
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey') showGridPromptDialog('gcdgrp.prb.pts.extkey')
"></c-input> "></c-input>
...@@ -150,20 +150,20 @@ ...@@ -150,20 +150,20 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="" prop="setmod.setglg.setgll01.setgrp.bei.pts.adrblk"> <el-form-item label="" :prop="'setmod.setglg.setgll.' + idx + '.setgrp.bei.pts.adrblk'">
<c-input rows="4" type="textarea" v-model="model.setmod.setglg.setgll01.setgrp.bei.pts.adrblk" maxlength="35" <c-input rows="4" type="textarea" v-model="model.setmod.setglg.setgll[idx].setgrp.bei.pts.adrblk" maxlength="35"
show-word-limit placeholder="请输入"></c-input> show-word-limit placeholder="请输入"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="受益人机构的账号" prop="setmod.setglg.setgll01.sespay.beiacc"> <el-form-item label="受益人机构的账号" :prop="'setmod.setglg.setgll.' + idx + '.sespay.beiacc'">
<c-input v-model="model.setmod.setglg.setgll01.sespay.beiacc" maxlength="34" placeholder="请输入受益人机构的账号"> <c-input v-model="model.setmod.setglg.setgll[idx].sespay.beiacc" maxlength="34" placeholder="请输入受益人机构的账号">
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="发报行对收报行的指示" prop="setmod.setglg.setgll01.sespay.strinf202"> <el-form-item label="发报行对收报行的指示" :prop="'setmod.setglg.setgll.' + idx + '.sespay.strinf202'">
<c-input rows="4" type="textarea" v-model="model.setmod.setglg.setgll01.sespay.strinf202" maxlength="35" <c-input rows="4" type="textarea" v-model="model.setmod.setglg.setgll[idx].sespay.strinf202" maxlength="35"
show-word-limit placeholder="请输入发报行对收报行的指示"></c-input> show-word-limit placeholder="请输入发报行对收报行的指示"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -174,11 +174,11 @@ ...@@ -174,11 +174,11 @@
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/Gitset/Event"; import Event from "~/model/Brtset/Event";
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes", "idx"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return {}; return {};
......
...@@ -7,16 +7,16 @@ ...@@ -7,16 +7,16 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="发送报文至:" label="发送报文至:"
prop="setmod.setglg.setgll01.setgrp.snd756.pts.extkey" :prop="'setmod.setglg.setgll.' + idx + '.setgrp.snd756.pts.extkey'"
label-width="165px" label-width="165px"
> >
<c-fullbox> <c-fullbox>
<c-input <c-input
v-model="model.setmod.setglg.setgll01.setgrp.snd756.pts.extkey" v-model="model.setmod.setglg.setgll[idx].setgrp.snd756.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入" placeholder="请输入"
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog('setmod.setglg.setgll01.setgrp.snd756.pts.extkey') showGridPromptDialog('setmod.setglg.setgll(' + (idx + 1) + ').setgrp.snd756.pts.extkey')
" "
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
...@@ -43,13 +43,13 @@ ...@@ -43,13 +43,13 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="" label=""
prop="setmod.setglg.setgll01.setgrp.snd756.pts.adrblk" :prop="'setmod.setglg.setgll.' + idx + '.setgrp.snd756.pts.adrblk'"
label-width="165px" label-width="165px"
> >
<c-input <c-input
type="textarea" type="textarea"
:rows="4" :rows="4"
v-model="model.setmod.setglg.setgll01.setgrp.snd756.pts.adrblk" v-model="model.setmod.setglg.setgll[idx].setgrp.snd756.pts.adrblk"
maxlength="35" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入地址信息" placeholder="请输入地址信息"
...@@ -59,12 +59,12 @@ ...@@ -59,12 +59,12 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="发送方联系人(Tag 53a)" label="发送方联系人(Tag 53a)"
prop="setmod.setglg.setgll01.setgrp.actser.pts.extkey" :prop="'setmod.setglg.setgll.' + idx + '.setgrp.actser.pts.extkey'"
label-width="165px" label-width="165px"
> >
<c-fullbox> <c-fullbox>
<c-input <c-input
v-model="model.setmod.setglg.setgll01.setgrp.actser.pts.extkey" v-model="model.setmod.setglg.setgll[idx].setgrp.actser.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入" placeholder="请输入"
@keyup.enter.native=" @keyup.enter.native="
...@@ -96,13 +96,13 @@ ...@@ -96,13 +96,13 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="" label=""
prop="setmod.setglg.setgll01.setgrp.actser.pts.adrblk" :prop="'setmod.setglg.setgll.' + idx + '.setgrp.actser.pts.adrblk'"
label-width="165px" label-width="165px"
> >
<c-input <c-input
type="textarea" type="textarea"
:rows="4" :rows="4"
v-model="model.setmod.setglg.setgll01.setgrp.actser.pts.adrblk" v-model="model.setmod.setglg.setgll[idx].setgrp.actser.pts.adrblk"
maxlength="35" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入地址信息" placeholder="请输入地址信息"
...@@ -112,12 +112,12 @@ ...@@ -112,12 +112,12 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="接收方联系人(Tag 54a)" label="接收方联系人(Tag 54a)"
prop="setmod.setglg.setgll01.setgrp.rcvcor2.pts.extkey" :prop="'setmod.setglg.setgll.' + idx + '.setgrp.rcvcor2.pts.extkey'"
label-width="165px" label-width="165px"
> >
<c-fullbox> <c-fullbox>
<c-input <c-input
v-model="model.setmod.setglg.setgll01.setgrp.rcvcor2.pts.extkey" v-model="model.setmod.setglg.setgll[idx].setgrp.rcvcor2.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入" placeholder="请输入"
@keyup.enter.native=" @keyup.enter.native="
...@@ -149,13 +149,13 @@ ...@@ -149,13 +149,13 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="" label=""
prop="setmod.setglg.setgll01.setgrp.rcvcor2.pts.adrblk" :prop="'setmod.setglg.setgll.' + idx + '.setgrp.rcvcor2.pts.adrblk'"
label-width="165px" label-width="165px"
> >
<c-input <c-input
type="textarea" type="textarea"
:rows="4" :rows="4"
v-model="model.setmod.setglg.setgll01.setgrp.rcvcor2.pts.adrblk" v-model="model.setmod.setglg.setgll[idx].setgrp.rcvcor2.pts.adrblk"
maxlength="35" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入地址信息" placeholder="请输入地址信息"
...@@ -165,11 +165,11 @@ ...@@ -165,11 +165,11 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="接收方账户" label="接收方账户"
prop="setmod.setglg.setgll01.sespay.rcvcor2acc" :prop="'setmod.setglg.setgll.' + idx + '.sespay.rcvcor2acc'"
label-width="165px" label-width="165px"
> >
<c-input <c-input
v-model="model.setmod.setglg.setgll01.sespay.rcvcor2acc" v-model="model.setmod.setglg.setgll[idx].sespay.rcvcor2acc"
maxlength="34" maxlength="34"
placeholder="请输入接收方账户" placeholder="请输入接收方账户"
></c-input> ></c-input>
...@@ -178,13 +178,13 @@ ...@@ -178,13 +178,13 @@
<c-col :span="22"> <c-col :span="22">
<el-form-item <el-form-item
label="发送给接收方信息(Tag 72)" label="发送给接收方信息(Tag 72)"
prop="setmod.setglg.setgll01.sespay.strinf" :prop="'setmod.setglg.setgll.' + idx + '.sespay.strinf'"
label-width="165px" label-width="165px"
> >
<c-input <c-input
type="textarea" type="textarea"
:rows="4" :rows="4"
v-model="model.setmod.setglg.setgll01.sespay.strinf" v-model="model.setmod.setglg.setgll[idx].sespay.strinf"
maxlength="35" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入信息" placeholder="请输入信息"
...@@ -202,7 +202,7 @@ ...@@ -202,7 +202,7 @@
'setmod.setglg.setgll.sespay.cod.buttxmsel', 'setmod.setglg.setgll.sespay.cod.buttxmsel',
null, null,
null, null,
{ TXT: 'setmod.setglg.setgll01.sespay.strinf' }, { TXT: 'setmod.setglg.setgll[' + idx + '].sespay.strinf' },
{ TXT: false }, { TXT: false },
'doxpDialog' 'doxpDialog'
) )
...@@ -218,11 +218,11 @@ ...@@ -218,11 +218,11 @@
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/Gitset/Event"; import Event from "~/model/Brtset/Event";
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes", "idx"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return {}; return {};
......
...@@ -27,15 +27,19 @@ ...@@ -27,15 +27,19 @@
<el-collapse-item title="通知付款(MT756)" name="det756" v-if="model.setmod.setglg.setgll[0].dsp == 'PAC'"> <!-- <el-collapse-item title="通知付款(MT756)" name="det756" v-if="model.setmod.setglg.setgll[0].dsp == 'PAC'">
<m-det756 :model="model" :codes="codes" /> <m-det756 :model="model" :codes="codes" :idx="0"/>
</el-collapse-item> </el-collapse-item> -->
<el-collapse-item title="头寸调拨(MT202)" name="det202cv" v-if="model.setmod.setglg.setgll[0].dsp == 'PAC'"> <!-- <el-collapse-item title="头寸调拨(MT202)" name="det202cv" v-if="model.setmod.setglg.setgll[0].dsp == 'PAC'">
<m-det202cv :model="model" :codes="codes" /> <m-det202cv :model="model" :codes="codes" />
</el-collapse-item> -->
<el-collapse-item v-for="(pac, idx) in pacs" :key="idx" :title="pac.title" :name="pac.name">
<m-det756 v-if="pac.type === '756'" :model="model" :codes="codes" :idx="pac.idx"/>
<m-det202cv v-else-if="pac.type === '202'" :model="model" :codes="codes" :idx="pac.idx" />
</el-collapse-item> </el-collapse-item>
</el-collapse> </el-collapse>
</div> </div>
</template> </template>
...@@ -69,10 +73,27 @@ export default { ...@@ -69,10 +73,27 @@ export default {
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {
activeNames: ["utlp"]
activeNames: ["utlp"],
}; };
},
computed: {
pacs() {
const pa = []
const setgll = this.model.setmod.setglg.setgll
for (let i = 0; i < setgll.length; i++) {
const setg = setgll[i];
// 765和202页面出现条件(费用/账务页面:结算,处理方式是PAC时,756和202页面才能显示)
if (setg.dsp === 'PAC') {
const temp = []
temp.push(setg.rol )
temp.push(setg.acccur )
temp.push(setg.fmtaccamt )
pa.push({ idx: i, title: '通知付款(MT756 ' + temp.join(' ') + ')', name: 'det756_' + temp.join('_'), type: '756' })
pa.push({ idx: i, title: '头寸调拨(MT202 ' + temp.join(' ') + ')', name: 'det202cv_' + temp.join('_'), type: '202' })
}
}
return pa
}
}, },
methods: { methods: {
...Event, ...Event,
......
...@@ -248,7 +248,9 @@ export default { ...@@ -248,7 +248,9 @@ export default {
if (this.isInDisplay) { if (this.isInDisplay) {
this.restoreDisplay(); this.restoreDisplay();
} }
this.$nextTick(() => {
this.$refs.ovwp.$refs.utlp.$refs.table.$refs.table.toggleAllSelection(); //表格,默认勾选 this.$refs.ovwp.$refs.utlp.$refs.table.$refs.table.toggleAllSelection(); //表格,默认勾选
})
} else { } else {
this.$notify.error({ title: "错误", message: "服务请求失败!" }); this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
......
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