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
......
...@@ -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