Commit f299a6bd by tianxinyu

gitset页面756、202问题

parent 7e97f337
...@@ -9,16 +9,21 @@ ...@@ -9,16 +9,21 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="付款行(MT202的52栏)" label="付款行(MT202的52栏)"
prop="setmod.setglg.sespay.setgrp.ori.pts.extkey" :prop="'setmod.setglg.setgll'+idx+'.setgrp.ori.pts.extkey'"
> >
<c-fullbox> <c-fullbox>
<c-input <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" maxlength="16"
placeholder="请输入" placeholder="请输入"
></c-input> @keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"></c-input>
<template slot="footer"> <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> </c-button>
</template> </template>
...@@ -28,43 +33,47 @@ ...@@ -28,43 +33,47 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="地址" label="地址"
prop="setmod.setglg.sespay.setgrp.ori.pts.adrblk" :prop="'setmod.setglg.setgll.'+idx+'.setgrp.ori.pts.adrblk'"
> >
<c-input <c-input
disabled rows="4"
:rows="4"
type="textarea" 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" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入地址" 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 <el-form-item
label="付款行的帐户行" label="付款行的帐户行"
prop="setmod.setglg.sespay.oriacc" :prop="'setmod.setglg.setgll.' + idx + '.sespay.oriacc'"
> >
<c-input <c-input
v-model="model.setmod.setglg.sespay.oriacc" v-model="model.setmod.setglg.setgll[idx].sespay.oriacc"
maxlength="34" maxlength="34"
placeholder="请输入付款行的帐户行" placeholder="请输入付款行的帐户行"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24" style="margin-top: 15px">
<el-form-item <el-form-item
label="中间行(MT202的56a栏)" label="中间行(MT202的56a栏)"
prop="setmod.setglg.sespay.setgrp.rcvcor.pts.extkey" :prop="'setmod.setglg.setgll.' + idx + '.setgrp.rcvcor.pts.extkey'"
> >
<c-fullbox> <c-fullbox>
<c-input <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" maxlength="16"
placeholder="请输入" placeholder="请输入"
></c-input> @keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"></c-input>
<template slot="footer"> <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 size="small" type="primary" @click="onRcvcorpDet">
详情 详情
</c-button> </c-button>
...@@ -75,12 +84,12 @@ ...@@ -75,12 +84,12 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="地址" label="地址"
prop="setmod.setglg.sespay.setgrp.rcvcor.pts.adrblk" :prop="'setmod.setglg.setgll.' + idx + '.setgrp.rcvcor.pts.adrblk'"
> >
<c-input <c-input
:rows="4" rows="4"
type="textarea" 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" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入地址" placeholder="请输入地址"
...@@ -90,10 +99,10 @@ ...@@ -90,10 +99,10 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="中间行的帐户行" label="中间行的帐户行"
prop="setmod.setglg.sespay.rcvcoracc" :prop="'setmod.setglg.setgll.' + idx + '.sespay.rcvcoracc'"
> >
<c-input <c-input
v-model="model.setmod.setglg.sespay.rcvcoracc" v-model="model.setmod.setglg.setgll[idx].sespay.rcvcoracc"
maxlength="34" maxlength="34"
placeholder="请输入中间行的帐户行" placeholder="请输入中间行的帐户行"
></c-input> ></c-input>
...@@ -102,10 +111,10 @@ ...@@ -102,10 +111,10 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="我行参考号(Tag 20)" label="我行参考号(Tag 20)"
prop="setmod.setglg.sespay.ownref" :prop="'setmod.setglg.setgll.' + idx + '.sespay.ownref'"
> >
<c-input <c-input
v-model="model.setmod.setglg.sespay.ownref" v-model="model.setmod.setglg.setgll[idx].sespay.ownref"
maxlength="16" maxlength="16"
placeholder="请输入我行参考号(Tag 20)" placeholder="请输入我行参考号(Tag 20)"
></c-input> ></c-input>
...@@ -120,10 +129,10 @@ ...@@ -120,10 +129,10 @@
</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.sespay.corbnk"> <el-form-item label="清算代理行" :prop="'setmod.setglg.setgll.' + idx + '.sespay.corbnk'">
<c-select <c-select
disabled v-model="model.setmod.setglg.setgll[idx].sespay.corbnk"
v-model="model.setmod.setglg.sespay.corbnk" :code="codes.corbnk" disabled
style="width: 100%" style="width: 100%"
placeholder="请选择清算代理行" placeholder="请选择清算代理行"
> >
...@@ -131,10 +140,10 @@ ...@@ -131,10 +140,10 @@
</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.sespay.evebnk"> <el-form-item label="光大开户行" :prop="'setmod.setglg.setgll.' + idx + '.sespay.evebnk'">
<c-select <c-select
disabled disabled
v-model="model.setmod.setglg.sespay.evebnk" v-model="model.setmod.setglg.setgll[idx].sespay.evebnk"
style="width: 100%" style="width: 100%"
placeholder="请选择光大开户行" placeholder="请选择光大开户行"
> >
...@@ -143,10 +152,10 @@ ...@@ -143,10 +152,10 @@
</c-col> </c-col>
<c-col :span="24"> <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 <c-input
disabled disabled
v-model="model.setmod.setglg.sespay.coract" v-model="model.setmod.setglg.setgll[idx].sespay.coract"
maxlength="32" maxlength="32"
placeholder="请输入清算代理行账号" placeholder="请输入清算代理行账号"
></c-input> ></c-input>
...@@ -156,20 +165,22 @@ ...@@ -156,20 +165,22 @@
<el-col :span="12" style="padding-left: 20px;"> <el-col :span="12" style="padding-left: 20px;">
<c-col :span="24"> <c-col :span="24">
<el-form-item label=" " label-width="400px"> </el-form-item>
</c-col>
<c-col :span="24">
<el-form-item <el-form-item
label="收款行的帐户行(MT202的57a栏)" label="收款行的帐户行(MT202的57a栏)"
prop="setmod.setglg.sespay.setgrp.tri.pts.extkey" :prop="'setmod.setglg.setgll.' + idx + '.setgrp.tri.pts.extkey'"
> >
<c-fullbox> <c-fullbox>
<c-input <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" maxlength="16"
placeholder="请输入" placeholder="请输入账户行"
></c-input> @keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"></c-input>
<template slot="footer"> <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 size="small" type="primary" @click="onTripDet">
详情 详情
</c-button> </c-button>
...@@ -180,12 +191,12 @@ ...@@ -180,12 +191,12 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="地址" label="地址"
prop="setmod.setglg.sespay.setgrp.tri.pts.adrblk" :prop="'setmod.setglg.setgll.' + idx + '.setgrp.tri.pts.adrblk'"
> >
<c-input <c-input
:rows="4" rows="4"
type="textarea" 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" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入地址" placeholder="请输入地址"
...@@ -195,10 +206,10 @@ ...@@ -195,10 +206,10 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="帐户行的帐号" label="帐户行的帐号"
prop="setmod.setglg.sespay.triacc" :prop="'setmod.setglg.setgll.' + idx + '.sespay.triacc'"
> >
<c-input <c-input
v-model="model.setmod.setglg.sespay.triacc" v-model="model.setmod.setglg.setgll[idx].sespay.triacc"
maxlength="34" maxlength="34"
placeholder="请输入帐户行的帐号" placeholder="请输入帐户行的帐号"
></c-input> ></c-input>
...@@ -206,17 +217,22 @@ ...@@ -206,17 +217,22 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="收报行 (Tag 58a)" label="受益人机构 (Tag 58a)"
prop="setmod.setglg.sespay.setgrp.bei.pts.extkey" :prop="'setmod.setglg.setgll.' + idx + '.setgrp.bei.pts.extkey'"
> >
<c-fullbox> <c-fullbox>
<c-input <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" maxlength="16"
placeholder="请输入" placeholder="请输入受益人机构"
></c-input> @keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"></c-input>
<template slot="footer"> <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> </c-button>
</template> </template>
...@@ -226,13 +242,12 @@ ...@@ -226,13 +242,12 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="地址" label="地址"
prop="setmod.setglg.sespay.setgrp.bei.pts.adrblk" :prop="'setmod.setglg.setgll.' + idx + '.setgrp.bei.pts.adrblk'"
> >
<c-input <c-input
disabled rows="4"
:rows="4"
type="textarea" 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" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入地址" placeholder="请输入地址"
...@@ -241,25 +256,25 @@ ...@@ -241,25 +256,25 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="收报行的帐号" label="受益人机构的账号"
prop="setmod.setglg.sespay.beiacc" prop="'setmod.setglg.setgll.' + idx + '.sespay.beiacc'"
> >
<c-input <c-input
v-model="model.setmod.setglg.sespay.beiacc" v-model="model.setmod.setglg.setgll[idx].sespay.beiacc"
maxlength="34" maxlength="34"
placeholder="请输入收报行的帐号" 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 <el-form-item
label="发报行给收报行的附言(MT202的72栏)" label="发报行给收报行的附言(MT202的72栏)"
prop="setmod.setglg.sespay.strinf202" :prop="'setmod.setglg.setgll.' + idx + '.sespay.strinf202'"
> >
<c-input <c-input
:rows="6" rows="4"
type="textarea" type="textarea"
v-model="model.setmod.setglg.sespay.strinf202" v-model="model.setmod.setglg.setgll[idx].sespay.strinf202"
maxlength="35" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入发报行给收报行的附言(MT202的72栏)" placeholder="请输入发报行给收报行的附言(MT202的72栏)"
...@@ -277,7 +292,7 @@ import Event from "~/model/Gitset/Event"; ...@@ -277,7 +292,7 @@ import Event from "~/model/Gitset/Event";
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes","idx"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return {}; return {};
......
...@@ -8,18 +8,34 @@ ...@@ -8,18 +8,34 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="发送报文:" label="发送报文:"
:prop="'setmod.setglg.sespay.'+idx+'.setgrp.snd756.pts.extkey'" :prop="'setmod.setglg.setgll.'+idx+'.setgrp.snd756.pts.extkey'"
> >
<c-fullbox> <c-fullbox>
<c-input <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" maxlength="16"
placeholder="请输入" placeholder="请输入"
@keyup.enter.native="
showGridPromptDialog('setmod.setglg.setgll(' + (idx + 1) + ').setgrp.snd756.pts.extkey')
"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button size="small" type="primary" @click="onSnd7561Det"> <c-button
详情 style="margin: 0 10px 0 10px; padding: 0 12px"
</c-button> 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> </template>
</c-fullbox> </c-fullbox>
</el-form-item> </el-form-item>
...@@ -27,13 +43,12 @@ ...@@ -27,13 +43,12 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="地址" label="地址"
:prop="'setmod.setglg.sespay.'+idx+'.setgrp.snd756.pts.adrblk'" :prop="'setmod.setglg.setgll.'+idx+'.setgrp.snd756.pts.adrblk'"
> >
<c-input <c-input
:rows="4" :rows="4"
disabled
type="textarea" 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" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入地址" placeholder="请输入地址"
...@@ -43,15 +58,26 @@ ...@@ -43,15 +58,26 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="发报行的代理行(Tag 53a)" label="发报行的代理行(Tag 53a)"
:prop="'setmod.setglg.sespay.'+idx+'.actserp.ptspta.pts.extkey'" :prop="'setmod.setglg.setgll.'+idx+'.setgrp.actser.pts.extkey'"
> >
<c-fullbox> <c-fullbox>
<c-input <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" maxlength="16"
placeholder="请输入" placeholder="请输入"
@keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"
></c-input> ></c-input>
<template slot="footer"> <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 size="small" type="primary" @click="onActserpDet">
详情 详情
</c-button> </c-button>
...@@ -62,12 +88,12 @@ ...@@ -62,12 +88,12 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="地址" label="地址"
prop="'setmod.setglg.sespay.'+idx+'.actserp.ptspta.pts.adrblk'" :prop="'setmod.setglg.setgll.' + idx + '.setgrp.actser.pts.adrblk'"
> >
<c-input <c-input
:rows="4" :rows="4"
type="textarea" 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" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入地址" placeholder="请输入地址"
...@@ -77,17 +103,28 @@ ...@@ -77,17 +103,28 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="收报行的代理行(ag 54a)" label="收报行的代理行(Tag 54a)"
prop="'setmod.setglg.sespay.'+idx+'.setgrp.rcvcor2.pts.extkey'" :prop="'setmod.setglg.setgll.'+idx+'.setgrp.rcvcor2.pts.extkey'"
> >
<c-fullbox> <c-fullbox>
<c-input <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" maxlength="16"
placeholder="请输入" placeholder="请输入"
@keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"
></c-input> ></c-input>
<template slot="footer"> <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> </c-button>
</template> </template>
...@@ -97,12 +134,12 @@ ...@@ -97,12 +134,12 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="地址" label="地址"
prop="'setmod.setglg.sespay.'+idx+'.setgrp.rcvcor2.pts.adrblk'" :prop="'setmod.setglg.setgll.'+idx+'.setgrp.rcvcor2.pts.adrblk'"
> >
<c-input <c-input
:rows="4" :rows="4"
type="textarea" 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" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入地址" placeholder="请输入地址"
...@@ -112,141 +149,51 @@ ...@@ -112,141 +149,51 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="收报行代理行帐号" label="收报行代理行帐号"
prop="'setmod.setglg.sespay.'+idx+'.rcvcoracc'" :prop="'setmod.setglg.setgll.'+idx+'.sespay.rcvcor2acc'"
> >
<c-input <c-input
v-model="model.setmod.setglg.sespay[idx].rcvcoracc" v-model="model.setmod.setglg.setgll[idx].sespay.rcvcor2acc"
maxlength="34" maxlength="34"
placeholder="请输入收报行代理行的帐号" placeholder="请输入收报行代理行的帐号"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-col> <c-col :span="22">
<!-- ============================================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">
<el-form-item
label="地址"
prop="'setmod.setglg.sespay.'+idx+'.awip.ptspta.pts.adrblk'"
>
<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 <el-form-item
label="受益人帐户行(Tag 58a)" label="发送给收报行信息(Tag 72)"
prop="'setmod.setglg.sespay.'+idx+'.setgrp.bei.pts.extkey'" :prop="'setmod.setglg.setgll.' + idx + '.sespay.strinf'"
> label-width="165px"
<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 <c-input
:rows="4"
disabled
type="textarea" type="textarea"
v-model="model.setmod.setglg.sespay[idx].setgrp.bei.pts.adrblk" :rows="4"
v-model="model.setmod.setglg.setgll[idx].sespay.strinf"
maxlength="35" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入地址" placeholder="请输入给收报行的附言(MT756的72栏)"
></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="请输入受益人帐户行的账号"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="2">
<el-form-item <c-button
label="给收报行的附言(MT756的72栏)" size="small"
prop="'setmod.setglg.sespay.'+idx+'.strinf'" type="primary"
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-fullbox> ...
<c-input </c-button>
type="textarea"
v-model="model.setmod.setglg.sespay[idx].strinf"
maxlength="35"
show-word-limit
placeholder="请输入给收报行的附言(MT756的72栏)"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onCod202Buttxmsel"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col> </c-col>
</el-col> </el-col>
</div> </div>
</template> </template>
<script> <script>
......
...@@ -52,6 +52,10 @@ ...@@ -52,6 +52,10 @@
import Gitsetp1 from "./Gitsetp1"; import Gitsetp1 from "./Gitsetp1";
import Gitsetp from "./Gitsetp"; import Gitsetp from "./Gitsetp";
const tabNameToRulePathMapping = {
"det756": "setmod.setglg.setgll(2).sespay.det756",
"det202cv": "setmod.setglg.setgll(2).sespay.det202"
}
export default { export default {
components: { components: {
...@@ -94,9 +98,28 @@ ...@@ -94,9 +98,28 @@
}, },
methods: { methods: {
...Event, ...Event,
handleChange(val) { handleChange(names){
console.log(val); // 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 () {}, 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