Commit f299a6bd by tianxinyu

gitset页面756、202问题

parent 7e97f337
......@@ -9,16 +9,21 @@
<c-col :span="24">
<el-form-item
label="付款行(MT202的52栏)"
prop="setmod.setglg.sespay.setgrp.ori.pts.extkey"
:prop="'setmod.setglg.setgll'+idx+'.setgrp.ori.pts.extkey'"
>
<c-fullbox>
<c-input
v-model="model.setmod.setglg.sespay.setgrp.ori.pts.extkey"
v-model="model.setmod.setglg.setgll[idx].setgrp.ori.pts.extkey"
maxlength="16"
placeholder="请输入"
></c-input>
@keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"></c-input>
<template slot="footer">
<c-button size="small" type="primary" @click="onOripDet">
<c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf">
<i class="el-icon-info"></i>
</c-button>
<c-button size="small" type="primary" @click="onGctpGetrefbut">
详情
</c-button>
</template>
......@@ -28,43 +33,47 @@
<c-col :span="24">
<el-form-item
label="地址"
prop="setmod.setglg.sespay.setgrp.ori.pts.adrblk"
:prop="'setmod.setglg.setgll.'+idx+'.setgrp.ori.pts.adrblk'"
>
<c-input
disabled
:rows="4"
rows="4"
type="textarea"
v-model="model.setmod.setglg.sespay.setgrp.ori.pts.adrblk"
v-model="model.setmod.setglg.setgll[idx].setgrp.ori.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入地址"
placeholder="请输入地址信息"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="付款行的帐户行"
prop="setmod.setglg.sespay.oriacc"
:prop="'setmod.setglg.setgll.' + idx + '.sespay.oriacc'"
>
<c-input
v-model="model.setmod.setglg.sespay.oriacc"
v-model="model.setmod.setglg.setgll[idx].sespay.oriacc"
maxlength="34"
placeholder="请输入付款行的帐户行"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="24" style="margin-top: 15px">
<el-form-item
label="中间行(MT202的56a栏)"
prop="setmod.setglg.sespay.setgrp.rcvcor.pts.extkey"
:prop="'setmod.setglg.setgll.' + idx + '.setgrp.rcvcor.pts.extkey'"
>
<c-fullbox>
<c-input
v-model="model.setmod.setglg.sespay.setgrp.rcvcor.pts.extkey"
v-model="model.setmod.setglg.setgll[idx].setgrp.rcvcor.pts.extkey"
maxlength="16"
placeholder="请输入"
></c-input>
@keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"></c-input>
<template slot="footer">
<c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf">
<i class="el-icon-info"></i>
</c-button>
<c-button size="small" type="primary" @click="onRcvcorpDet">
详情
</c-button>
......@@ -75,12 +84,12 @@
<c-col :span="24">
<el-form-item
label="地址"
prop="setmod.setglg.sespay.setgrp.rcvcor.pts.adrblk"
:prop="'setmod.setglg.setgll.' + idx + '.setgrp.rcvcor.pts.adrblk'"
>
<c-input
:rows="4"
rows="4"
type="textarea"
v-model="model.setmod.setglg.sespay.setgrp.rcvcor.pts.adrblk"
v-model="model.setmod.setglg.setgll[idx].setgrp.rcvcor.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入地址"
......@@ -90,10 +99,10 @@
<c-col :span="24">
<el-form-item
label="中间行的帐户行"
prop="setmod.setglg.sespay.rcvcoracc"
:prop="'setmod.setglg.setgll.' + idx + '.sespay.rcvcoracc'"
>
<c-input
v-model="model.setmod.setglg.sespay.rcvcoracc"
v-model="model.setmod.setglg.setgll[idx].sespay.rcvcoracc"
maxlength="34"
placeholder="请输入中间行的帐户行"
></c-input>
......@@ -102,10 +111,10 @@
<c-col :span="24">
<el-form-item
label="我行参考号(Tag 20)"
prop="setmod.setglg.sespay.ownref"
:prop="'setmod.setglg.setgll.' + idx + '.sespay.ownref'"
>
<c-input
v-model="model.setmod.setglg.sespay.ownref"
v-model="model.setmod.setglg.setgll[idx].sespay.ownref"
maxlength="16"
placeholder="请输入我行参考号(Tag 20)"
></c-input>
......@@ -120,10 +129,10 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="清算代理行" prop="setmod.setglg.sespay.corbnk">
<el-form-item label="清算代理行" :prop="'setmod.setglg.setgll.' + idx + '.sespay.corbnk'">
<c-select
disabled
v-model="model.setmod.setglg.sespay.corbnk"
v-model="model.setmod.setglg.setgll[idx].sespay.corbnk"
:code="codes.corbnk" disabled
style="width: 100%"
placeholder="请选择清算代理行"
>
......@@ -131,10 +140,10 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="光大开户行" prop="setmod.setglg.sespay.evebnk">
<el-form-item label="光大开户行" :prop="'setmod.setglg.setgll.' + idx + '.sespay.evebnk'">
<c-select
disabled
v-model="model.setmod.setglg.sespay.evebnk"
v-model="model.setmod.setglg.setgll[idx].sespay.evebnk"
style="width: 100%"
placeholder="请选择光大开户行"
>
......@@ -143,10 +152,10 @@
</c-col>
<c-col :span="24">
<el-form-item label="清算代理行账号" prop="setmod.setglg.sespay.coract">
<el-form-item label="清算代理行账号" :prop="'setmod.setglg.setgll.' + idx + '.sespay.coract'">
<c-input
disabled
v-model="model.setmod.setglg.sespay.coract"
v-model="model.setmod.setglg.setgll[idx].sespay.coract"
maxlength="32"
placeholder="请输入清算代理行账号"
></c-input>
......@@ -156,20 +165,22 @@
<el-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label=" " label-width="400px"> </el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="收款行的帐户行(MT202的57a栏)"
prop="setmod.setglg.sespay.setgrp.tri.pts.extkey"
:prop="'setmod.setglg.setgll.' + idx + '.setgrp.tri.pts.extkey'"
>
<c-fullbox>
<c-input
v-model="model.setmod.setglg.sespay.setgrp.tri.pts.extkey"
v-model="model.setmod.setglg.setgll[idx].setgrp.tri.pts.extkey"
maxlength="16"
placeholder="请输入"
></c-input>
placeholder="请输入账户行"
@keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"></c-input>
<template slot="footer">
<c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf">
<i class="el-icon-info"></i>
</c-button>
<c-button size="small" type="primary" @click="onTripDet">
详情
</c-button>
......@@ -180,12 +191,12 @@
<c-col :span="24">
<el-form-item
label="地址"
prop="setmod.setglg.sespay.setgrp.tri.pts.adrblk"
:prop="'setmod.setglg.setgll.' + idx + '.setgrp.tri.pts.adrblk'"
>
<c-input
:rows="4"
rows="4"
type="textarea"
v-model="model.setmod.setglg.sespay.setgrp.tri.pts.adrblk"
v-model="model.setmod.setglg.setgll[idx].setgrp.tri.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入地址"
......@@ -195,10 +206,10 @@
<c-col :span="24">
<el-form-item
label="帐户行的帐号"
prop="setmod.setglg.sespay.triacc"
:prop="'setmod.setglg.setgll.' + idx + '.sespay.triacc'"
>
<c-input
v-model="model.setmod.setglg.sespay.triacc"
v-model="model.setmod.setglg.setgll[idx].sespay.triacc"
maxlength="34"
placeholder="请输入帐户行的帐号"
></c-input>
......@@ -206,17 +217,22 @@
</c-col>
<c-col :span="24">
<el-form-item
label="收报行 (Tag 58a)"
prop="setmod.setglg.sespay.setgrp.bei.pts.extkey"
label="受益人机构 (Tag 58a)"
:prop="'setmod.setglg.setgll.' + idx + '.setgrp.bei.pts.extkey'"
>
<c-fullbox>
<c-input
v-model="model.setmod.setglg.sespay.setgrp.bei.pts.extkey"
v-model="model.setmod.setglg.setgll[idx].setgrp.bei.pts.extkey"
maxlength="16"
placeholder="请输入"
></c-input>
placeholder="请输入受益人机构"
@keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"></c-input>
<template slot="footer">
<c-button size="small" type="primary" @click="onBeipDet">
<c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf">
<i class="el-icon-info"></i>
</c-button>
<c-button size="small" type="primary" @click="onGctpGetrefbut">
详情
</c-button>
</template>
......@@ -226,13 +242,12 @@
<c-col :span="24">
<el-form-item
label="地址"
prop="setmod.setglg.sespay.setgrp.bei.pts.adrblk"
:prop="'setmod.setglg.setgll.' + idx + '.setgrp.bei.pts.adrblk'"
>
<c-input
disabled
:rows="4"
rows="4"
type="textarea"
v-model="model.setmod.setglg.sespay.setgrp.bei.pts.adrblk"
v-model="model.setmod.setglg.setgll[idx].setgrp.bei.pts.adrbl"
maxlength="35"
show-word-limit
placeholder="请输入地址"
......@@ -241,25 +256,25 @@
</c-col>
<c-col :span="24">
<el-form-item
label="收报行的帐号"
prop="setmod.setglg.sespay.beiacc"
label="受益人机构的账号"
prop="'setmod.setglg.setgll.' + idx + '.sespay.beiacc'"
>
<c-input
v-model="model.setmod.setglg.sespay.beiacc"
v-model="model.setmod.setglg.setgll[idx].sespay.beiacc"
maxlength="34"
placeholder="请输入收报行的帐号"
placeholder="请输入受益人机构的账号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="发报行给收报行的附言(MT202的72栏)"
prop="setmod.setglg.sespay.strinf202"
:prop="'setmod.setglg.setgll.' + idx + '.sespay.strinf202'"
>
<c-input
:rows="6"
rows="4"
type="textarea"
v-model="model.setmod.setglg.sespay.strinf202"
v-model="model.setmod.setglg.setgll[idx].sespay.strinf202"
maxlength="35"
show-word-limit
placeholder="请输入发报行给收报行的附言(MT202的72栏)"
......@@ -277,7 +292,7 @@ import Event from "~/model/Gitset/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
props: ["model", "codes","idx"],
mixins: [commonProcess],
data() {
return {};
......
......@@ -8,16 +8,32 @@
<c-col :span="24">
<el-form-item
label="发送报文:"
:prop="'setmod.setglg.sespay.'+idx+'.setgrp.snd756.pts.extkey'"
:prop="'setmod.setglg.setgll.'+idx+'.setgrp.snd756.pts.extkey'"
>
<c-fullbox>
<c-input
v-model="model.setmod.setglg.sespay[idx].setgrp.snd756.pts.extkey"
v-model="model.setmod.setglg.setgll[idx].setgrp.snd756.pts.extkey"
maxlength="16"
placeholder="请输入"
@keyup.enter.native="
showGridPromptDialog('setmod.setglg.setgll(' + (idx + 1) + ').setgrp.snd756.pts.extkey')
"
></c-input>
<template slot="footer">
<c-button size="small" type="primary" @click="onSnd7561Det">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<i class="el-icon-info"></i>
</c-button>
<c-button
size="small"
type="primary"
style="margin: 0 0"
@click="onGctpGetrefbut"
>
详情
</c-button>
</template>
......@@ -27,13 +43,12 @@
<c-col :span="24">
<el-form-item
label="地址"
:prop="'setmod.setglg.sespay.'+idx+'.setgrp.snd756.pts.adrblk'"
:prop="'setmod.setglg.setgll.'+idx+'.setgrp.snd756.pts.adrblk'"
>
<c-input
:rows="4"
disabled
type="textarea"
v-model="model.setmod.setglg.sespay[idx].setgrp.snd756.pts.adrblk"
v-model="model.setmod.setglg.setgll[idx].setgrp.snd756.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入地址"
......@@ -43,15 +58,26 @@
<c-col :span="24">
<el-form-item
label="发报行的代理行(Tag 53a)"
:prop="'setmod.setglg.sespay.'+idx+'.actserp.ptspta.pts.extkey'"
:prop="'setmod.setglg.setgll.'+idx+'.setgrp.actser.pts.extkey'"
>
<c-fullbox>
<c-input
v-model="model.setmod.setglg.sespay[idx].actserp.ptspta.pts.extkey"
v-model="model.setmod.setglg.setgll[idx].setgrp.actser.pts.extkey"
maxlength="16"
placeholder="请输入"
@keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<i class="el-icon-info"></i>
</c-button>
<c-button size="small" type="primary" @click="onActserpDet">
详情
</c-button>
......@@ -62,12 +88,12 @@
<c-col :span="24">
<el-form-item
label="地址"
prop="'setmod.setglg.sespay.'+idx+'.actserp.ptspta.pts.adrblk'"
:prop="'setmod.setglg.setgll.' + idx + '.setgrp.actser.pts.adrblk'"
>
<c-input
:rows="4"
type="textarea"
v-model="model.setmod.setglg.sespay[idx].actserp.ptspta.pts.adrblk"
v-model="model.setmod.setglg.setgll[idx].setgrp.actser.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入地址"
......@@ -77,17 +103,28 @@
<c-col :span="24">
<el-form-item
label="收报行的代理行(ag 54a)"
prop="'setmod.setglg.sespay.'+idx+'.setgrp.rcvcor2.pts.extkey'"
label="收报行的代理行(Tag 54a)"
:prop="'setmod.setglg.setgll.'+idx+'.setgrp.rcvcor2.pts.extkey'"
>
<c-fullbox>
<c-input
v-model="model.setmod.setglg.sespay[idx].setgrp.rcvcor2.pts.extkey"
v-model="model.setmod.setglg.setgll[idx].setgrp.rcvcor2.pts.extkey"
maxlength="16"
placeholder="请输入"
@keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"
></c-input>
<template slot="footer">
<c-button size="small" type="primary" @click="onRcvcor2pDet">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<i class="el-icon-info"></i>
</c-button>
<c-button size="small" type="primary" @click="onGctpGetrefbut">
详情
</c-button>
</template>
......@@ -97,12 +134,12 @@
<c-col :span="24">
<el-form-item
label="地址"
prop="'setmod.setglg.sespay.'+idx+'.setgrp.rcvcor2.pts.adrblk'"
:prop="'setmod.setglg.setgll.'+idx+'.setgrp.rcvcor2.pts.adrblk'"
>
<c-input
:rows="4"
type="textarea"
v-model="model.setmod.setglg.sespay[idx].setgrp.rcvcor2.pts.adrblk"
v-model="model.setmod.setglg.setgll[idx].setgrp.rcvcor2.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入地址"
......@@ -112,139 +149,49 @@
<c-col :span="24">
<el-form-item
label="收报行代理行帐号"
prop="'setmod.setglg.sespay.'+idx+'.rcvcoracc'"
:prop="'setmod.setglg.setgll.'+idx+'.sespay.rcvcor2acc'"
>
<c-input
v-model="model.setmod.setglg.sespay[idx].rcvcoracc"
v-model="model.setmod.setglg.setgll[idx].sespay.rcvcor2acc"
maxlength="34"
placeholder="请输入收报行代理行的帐号"
></c-input>
</el-form-item>
</c-col>
</el-col>
<!-- ============================================right==================================================== -->
<el-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label=" " label-width="400px"> </el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="银行外来帐户(Tag 57a)"
prop="'setmod.setglg.sespay.'+idx+'.awip.ptspta.pts.extkey'"
>
<c-fullbox>
<c-input
v-model="model.setmod.setglg.sespay[idx].awip.ptspta.pts.extkey"
maxlength="16"
placeholder="请输入"
></c-input>
<template slot="footer">
<c-button size="small" type="primary" @click="onAwipDet">
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="22">
<el-form-item
label="地址"
prop="'setmod.setglg.sespay.'+idx+'.awip.ptspta.pts.adrblk'"
label="发送给收报行信息(Tag 72)"
:prop="'setmod.setglg.setgll.' + idx + '.sespay.strinf'"
label-width="165px"
>
<c-input
:rows="4"
type="textarea"
v-model="model.setmod.setglg.sespay[idx].awip.ptspta.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="Acc.w.Bank Account"
prop="'setmod.setglg.sespay.'+idx+'.awiacc'"
>
<c-input
v-model="model.setmod.setglg.sespay[idx].awiacc"
maxlength="34"
placeholder="请输入(Tag 53a)"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="受益人帐户行(Tag 58a)"
prop="'setmod.setglg.sespay.'+idx+'.setgrp.bei.pts.extkey'"
>
<c-fullbox>
<c-input
v-model="model.setmod.setglg.sespay[idx].setgrp.bei.pts.extkey"
maxlength="16"
placeholder="请输入"
></c-input>
<template slot="footer">
<c-button size="small" type="primary" @click="onBeipDet">
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="地址"
prop="'setmod.setglg.sespay.'+idx+'.setgrp.bei.pts.adrblk'"
>
<c-input
:rows="4"
disabled
type="textarea"
v-model="model.setmod.setglg.sespay[idx].setgrp.bei.pts.adrblk"
v-model="model.setmod.setglg.setgll[idx].sespay.strinf"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="受益人帐户行账号"
prop="'setmod.setglg.sespay.'+idx+'.beiacc'"
>
<c-input
v-model="model.setmod.setglg.sespay[idx].beiacc"
maxlength="34"
placeholder="请输入受益人帐户行的账号"
placeholder="请输入给收报行的附言(MT756的72栏)"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="给收报行的附言(MT756的72栏)"
prop="'setmod.setglg.sespay.'+idx+'.strinf'"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.setmod.setglg.sespay[idx].strinf"
maxlength="35"
show-word-limit
placeholder="请输入给收报行的附言(MT756的72栏)"
></c-input>
<template slot="footer">
<c-col :span="2">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onCod202Buttxmsel"
style="margin: 0 0 0 3px"
@click="
showGridPromptDialog(
'setmod.setglg.setgll.sespay.cod.buttxmsel',
null,
null,
{ TXT: 'setmod.setglg.setgll[' + idx + '].sespay.strinf' },
{ TXT: false },
'doxpDialog'
)
"
>
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</el-col>
</div>
......
......@@ -52,6 +52,10 @@
import Gitsetp1 from "./Gitsetp1";
import Gitsetp from "./Gitsetp";
const tabNameToRulePathMapping = {
"det756": "setmod.setglg.setgll(2).sespay.det756",
"det202cv": "setmod.setglg.setgll(2).sespay.det202"
}
export default {
components: {
......@@ -94,8 +98,27 @@
},
methods: {
...Event,
handleChange(val) {
console.log(val);
handleChange(names){
// console.log(names);//激活的(展开的)面板的name数组集合
if (this.isInDisplay) {
return
}
const arr = []
for (let i = 0; i < names.length; i++) {
const n = names[i];
const path = tabNameToRulePathMapping[n]//取出激活/展开面板name对应的rulePath
if (path) {
arr.push(path)
}
}
let rulePath = arr.join(",");//把arr数组加入逗号分割,变成字符串
if (!!rulePath) {//rulePath不为空串
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
}
});
}
},
},
created: function () {},
......
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