Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fukai
vue-gjjs
Commits
3b5c83d4
Commit
3b5c83d4
authored
Nov 01, 2022
by
潘际乾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
brtset 756、202
parent
05d35cea
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
90 additions
and
161 deletions
+90
-161
Event.js
src/model/Brtset/Event.js
+2
-0
index.js
src/model/Public/Setmod/index.js
+0
-96
Det202cv.vue
src/views/Business/Brtset/Det202cv.vue
+36
-36
Det756.vue
src/views/Business/Brtset/Det756.vue
+20
-20
Ovwp.vue
src/views/Business/Brtset/Ovwp.vue
+29
-8
index.vue
src/views/Business/Brtset/index.vue
+3
-1
No files found.
src/model/Brtset/Event.js
View file @
3b5c83d4
...
...
@@ -319,6 +319,8 @@ export default {
}
},
async
onSeainf
()
{},
async
onGctpGetrefbut
()
{},
async
click
()
{},
async
onSav
(){
let
rtnmsg
=
await
this
.
executeRule
(
"sav"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
...
...
src/model/Public/Setmod/index.js
View file @
3b5c83d4
...
...
@@ -12,103 +12,7 @@ export default class Setmod {
setglg
:
{
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
:[],
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
zmqacc
:
""
,
// 自�'�区主�'�号 .setmod.zmqacc
...
...
src/views/Business/Brtset/Det202cv.vue
View file @
3b5c83d4
...
...
@@ -6,9 +6,9 @@
</el-form-item>
</c-col>
<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-input
v-model=
"model.setmod.setglg.setgll
01
.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=
"
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"
></c-input>
...
...
@@ -24,21 +24,21 @@
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"setmod.setglg.setgll01.setgrp.ori.pts.adrblk
"
>
<c-input
type=
"textarea"
rows=
"4"
v-model=
"model.setmod.setglg.setgll
01
.setgrp.ori.pts.adrblk"
maxlength=
"35"
<el-form-item
label=
""
:prop=
"'setmod.setglg.setgll.' + idx + '.setgrp.ori.pts.adrblk'
"
>
<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>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"付款行的账号"
prop=
"setmod.setglg.setgll01.sespay.oriacc
"
>
<c-input
v-model=
"model.setmod.setglg.setgll
01
.sespay.oriacc"
maxlength=
"34"
placeholder=
"请输入付款行的账号"
>
<el-form-item
label=
"付款行的账号"
:prop=
"'setmod.setglg.setgll.' + idx + '.sespay.oriacc'
"
>
<c-input
v-model=
"model.setmod.setglg.setgll
[idx]
.sespay.oriacc"
maxlength=
"34"
placeholder=
"请输入付款行的账号"
>
</c-input>
</el-form-item>
</c-col>
<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-input
v-model=
"model.setmod.setglg.setgll
01
.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=
"
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"
></c-input>
...
...
@@ -54,20 +54,20 @@
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"setmod.setglg.setgll01.setgrp.rcvcor.pts.adrblk
"
>
<c-input
type=
"textarea"
rows=
"4"
v-model=
"model.setmod.setglg.setgll
01
.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.setgll
[idx]
.setgrp.rcvcor.pts.adrblk"
maxlength=
"35"
show-word-limit
placeholder=
"请输入"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"中间行账号"
prop=
"setmod.setglg.setgll01.sespay.rcvcoracc
"
>
<c-input
v-model=
"model.setmod.setglg.setgll
01
.sespay.rcvcoracc"
maxlength=
"34"
placeholder=
"请输入中间行账号"
>
<el-form-item
label=
"中间行账号"
:prop=
"'setmod.setglg.setgll.' + idx + '.sespay.rcvcoracc'
"
>
<c-input
v-model=
"model.setmod.setglg.setgll
[idx]
.sespay.rcvcoracc"
maxlength=
"34"
placeholder=
"请输入中间行账号"
>
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"我行参考号(Tag 20)"
prop=
"setmod.setglg.setgll01.sespay.ownref
"
>
<c-input
v-model=
"model.setmod.setglg.setgll
01
.sespay.ownref"
maxlength=
"16"
placeholder=
"请输入我行参考号(Tag 20)"
>
<el-form-item
label=
"我行参考号(Tag 20)"
:prop=
"'setmod.setglg.setgll.' + idx + '.sespay.ownref'
"
>
<c-input
v-model=
"model.setmod.setglg.setgll
[idx]
.sespay.ownref"
maxlength=
"16"
placeholder=
"请输入我行参考号(Tag 20)"
>
</c-input>
</el-form-item>
</c-col>
...
...
@@ -78,22 +78,22 @@
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"清算代理行"
prop=
"setmod.setglg.setgll01.sespay.corbnk
"
>
<c-select
v-model=
"model.setmod.setglg.setgll
01
.sespay.corbnk"
:code=
"codes.corbnk"
disabled
<el-form-item
label=
"清算代理行"
:prop=
"'setmod.setglg.setgll.' + idx + '.sespay.corbnk'
"
>
<c-select
v-model=
"model.setmod.setglg.setgll
[idx]
.sespay.corbnk"
:code=
"codes.corbnk"
disabled
style=
"width: 100%"
placeholder=
"请选择清算代理行"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"光大开户行"
prop=
"setmod.setglg.setgll01.sespay.evebnk
"
>
<c-select
v-model=
"model.setmod.setglg.setgll
01
.sespay.evebnk"
disabled
:code=
"codes.evebnk"
<el-form-item
label=
"光大开户行"
:prop=
"'setmod.setglg.setgll.' + idx + '.sespay.evebnk'
"
>
<c-select
v-model=
"model.setmod.setglg.setgll
[idx]
.sespay.evebnk"
disabled
:code=
"codes.evebnk"
style=
"width: 100%"
placeholder=
"请选择光大开户行"
>
</c-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"清算代理行账号"
prop=
"setmod.setglg.setgll01.sespay.coract
"
>
<c-input
disabled
v-model=
"model.setmod.setglg.setgll
01
.sespay.coract"
maxlength=
"32"
<el-form-item
label=
"清算代理行账号"
:prop=
"'setmod.setglg.setgll.' + idx + '.sespay.coract'
"
>
<c-input
disabled
v-model=
"model.setmod.setglg.setgll
[idx]
.sespay.coract"
maxlength=
"32"
placeholder=
"请输入清算代理行账号"
></c-input>
</el-form-item>
</c-col>
...
...
@@ -102,9 +102,9 @@
<c-col
:span=
"12"
style=
"padding-left: 20px;"
>
<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-input
v-model=
"model.setmod.setglg.setgll
01
.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=
"
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"
></c-input>
...
...
@@ -120,21 +120,21 @@
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"setmod.setglg.setgll01.setgrp.tri.pts.adrblk
"
>
<c-input
type=
"textarea"
rows=
"4"
v-model=
"model.setmod.setglg.setgll
01
.setgrp.tri.pts.adrblk"
maxlength=
"35"
<el-form-item
label=
""
:prop=
"'setmod.setglg.setgll.' + idx + '.setgrp.tri.pts.adrblk'
"
>
<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>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"账户行账号"
prop=
"setmod.setglg.setgll01.sespay.triacc
"
>
<c-input
v-model=
"model.setmod.setglg.setgll
01
.sespay.triacc"
maxlength=
"34"
placeholder=
"请输入账户行账号"
></c-input>
<el-form-item
label=
"账户行账号"
:prop=
"'setmod.setglg.setgll.' + idx + '.sespay.triacc'
"
>
<c-input
v-model=
"model.setmod.setglg.setgll
[idx]
.sespay.triacc"
maxlength=
"34"
placeholder=
"请输入账户行账号"
></c-input>
</el-form-item>
</c-col>
<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-input
v-model=
"model.setmod.setglg.setgll
01
.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=
"
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"
></c-input>
...
...
@@ -150,20 +150,20 @@
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"setmod.setglg.setgll01.setgrp.bei.pts.adrblk
"
>
<c-input
rows=
"4"
type=
"textarea"
v-model=
"model.setmod.setglg.setgll
01
.setgrp.bei.pts.adrblk"
maxlength=
"35"
<el-form-item
label=
""
:prop=
"'setmod.setglg.setgll.' + idx + '.setgrp.bei.pts.adrblk'
"
>
<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>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"受益人机构的账号"
prop=
"setmod.setglg.setgll01.sespay.beiacc
"
>
<c-input
v-model=
"model.setmod.setglg.setgll
01
.sespay.beiacc"
maxlength=
"34"
placeholder=
"请输入受益人机构的账号"
>
<el-form-item
label=
"受益人机构的账号"
:prop=
"'setmod.setglg.setgll.' + idx + '.sespay.beiacc'
"
>
<c-input
v-model=
"model.setmod.setglg.setgll
[idx]
.sespay.beiacc"
maxlength=
"34"
placeholder=
"请输入受益人机构的账号"
>
</c-input>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label=
"发报行对收报行的指示"
prop=
"setmod.setglg.setgll01.sespay.strinf202
"
>
<c-input
rows=
"4"
type=
"textarea"
v-model=
"model.setmod.setglg.setgll
01
.sespay.strinf202"
maxlength=
"35"
<el-form-item
label=
"发报行对收报行的指示"
:prop=
"'setmod.setglg.setgll.' + idx + '.sespay.strinf202'
"
>
<c-input
rows=
"4"
type=
"textarea"
v-model=
"model.setmod.setglg.setgll
[idx]
.sespay.strinf202"
maxlength=
"35"
show-word-limit
placeholder=
"请输入发报行对收报行的指示"
></c-input>
</el-form-item>
</c-col>
...
...
@@ -174,11 +174,11 @@
import
Api
from
"~/service/Api"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/
Gi
tset/Event"
;
import
Event
from
"~/model/
Br
tset/Event"
;
export
default
{
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
props
:
[
"model"
,
"codes"
,
"idx"
],
mixins
:
[
commonProcess
],
data
()
{
return
{};
...
...
src/views/Business/Brtset/Det756.vue
View file @
3b5c83d4
...
...
@@ -7,16 +7,16 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"发送报文至:"
prop=
"setmod.setglg.setgll01.setgrp.snd756.pts.extkey
"
:prop=
"'setmod.setglg.setgll.' + idx + '.setgrp.snd756.pts.extkey'
"
label-width=
"165px"
>
<c-fullbox>
<c-input
v-model=
"model.setmod.setglg.setgll
01
.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
01
.setgrp.snd756.pts.extkey')
showGridPromptDialog('setmod.setglg.setgll
(' + (idx + 1) + ')
.setgrp.snd756.pts.extkey')
"
></c-input>
<template
slot=
"footer"
>
...
...
@@ -43,13 +43,13 @@
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"setmod.setglg.setgll01.setgrp.snd756.pts.adrblk
"
:prop=
"'setmod.setglg.setgll.' + idx + '.setgrp.snd756.pts.adrblk'
"
label-width=
"165px"
>
<c-input
type=
"textarea"
:rows=
"4"
v-model=
"model.setmod.setglg.setgll
01
.setgrp.snd756.pts.adrblk"
v-model=
"model.setmod.setglg.setgll
[idx]
.setgrp.snd756.pts.adrblk"
maxlength=
"35"
show-word-limit
placeholder=
"请输入地址信息"
...
...
@@ -59,12 +59,12 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"发送方联系人(Tag 53a)"
prop=
"setmod.setglg.setgll01.setgrp.actser.pts.extkey
"
:prop=
"'setmod.setglg.setgll.' + idx + '.setgrp.actser.pts.extkey'
"
label-width=
"165px"
>
<c-fullbox>
<c-input
v-model=
"model.setmod.setglg.setgll
01
.setgrp.actser.pts.extkey"
v-model=
"model.setmod.setglg.setgll
[idx]
.setgrp.actser.pts.extkey"
maxlength=
"16"
placeholder=
"请输入"
@
keyup
.
enter
.
native=
"
...
...
@@ -96,13 +96,13 @@
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"setmod.setglg.setgll01.setgrp.actser.pts.adrblk
"
:prop=
"'setmod.setglg.setgll.' + idx + '.setgrp.actser.pts.adrblk'
"
label-width=
"165px"
>
<c-input
type=
"textarea"
:rows=
"4"
v-model=
"model.setmod.setglg.setgll
01
.setgrp.actser.pts.adrblk"
v-model=
"model.setmod.setglg.setgll
[idx]
.setgrp.actser.pts.adrblk"
maxlength=
"35"
show-word-limit
placeholder=
"请输入地址信息"
...
...
@@ -112,12 +112,12 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"接收方联系人(Tag 54a)"
prop=
"setmod.setglg.setgll01.setgrp.rcvcor2.pts.extkey
"
:prop=
"'setmod.setglg.setgll.' + idx + '.setgrp.rcvcor2.pts.extkey'
"
label-width=
"165px"
>
<c-fullbox>
<c-input
v-model=
"model.setmod.setglg.setgll
01
.setgrp.rcvcor2.pts.extkey"
v-model=
"model.setmod.setglg.setgll
[idx]
.setgrp.rcvcor2.pts.extkey"
maxlength=
"16"
placeholder=
"请输入"
@
keyup
.
enter
.
native=
"
...
...
@@ -149,13 +149,13 @@
<c-col
:span=
"24"
>
<el-form-item
label=
""
prop=
"setmod.setglg.setgll01.setgrp.rcvcor2.pts.adrblk
"
:prop=
"'setmod.setglg.setgll.' + idx + '.setgrp.rcvcor2.pts.adrblk'
"
label-width=
"165px"
>
<c-input
type=
"textarea"
:rows=
"4"
v-model=
"model.setmod.setglg.setgll
01
.setgrp.rcvcor2.pts.adrblk"
v-model=
"model.setmod.setglg.setgll
[idx]
.setgrp.rcvcor2.pts.adrblk"
maxlength=
"35"
show-word-limit
placeholder=
"请输入地址信息"
...
...
@@ -165,11 +165,11 @@
<c-col
:span=
"24"
>
<el-form-item
label=
"接收方账户"
prop=
"setmod.setglg.setgll01.sespay.rcvcor2acc
"
:prop=
"'setmod.setglg.setgll.' + idx + '.sespay.rcvcor2acc'
"
label-width=
"165px"
>
<c-input
v-model=
"model.setmod.setglg.setgll
01
.sespay.rcvcor2acc"
v-model=
"model.setmod.setglg.setgll
[idx]
.sespay.rcvcor2acc"
maxlength=
"34"
placeholder=
"请输入接收方账户"
></c-input>
...
...
@@ -178,13 +178,13 @@
<c-col
:span=
"22"
>
<el-form-item
label=
"发送给接收方信息(Tag 72)"
prop=
"setmod.setglg.setgll01.sespay.strinf
"
:prop=
"'setmod.setglg.setgll.' + idx + '.sespay.strinf'
"
label-width=
"165px"
>
<c-input
type=
"textarea"
:rows=
"4"
v-model=
"model.setmod.setglg.setgll
01
.sespay.strinf"
v-model=
"model.setmod.setglg.setgll
[idx]
.sespay.strinf"
maxlength=
"35"
show-word-limit
placeholder=
"请输入信息"
...
...
@@ -202,7 +202,7 @@
'setmod.setglg.setgll.sespay.cod.buttxmsel',
null,
null,
{ TXT: 'setmod.setglg.setgll
01
.sespay.strinf' },
{ TXT: 'setmod.setglg.setgll
[' + idx + ']
.sespay.strinf' },
{ TXT: false },
'doxpDialog'
)
...
...
@@ -218,11 +218,11 @@
import
Api
from
"~/service/Api"
;
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
;
import
Event
from
"~/model/
Gi
tset/Event"
;
import
Event
from
"~/model/
Br
tset/Event"
;
export
default
{
inject
:
[
"root"
],
props
:
[
"model"
,
"codes"
],
props
:
[
"model"
,
"codes"
,
"idx"
],
mixins
:
[
commonProcess
],
data
()
{
return
{};
...
...
src/views/Business/Brtset/Ovwp.vue
View file @
3b5c83d4
...
...
@@ -27,15 +27,19 @@
<el-collapse-item
title=
"通知付款(MT756)"
name=
"det756"
v-if=
"model.setmod.setglg.setgll[0].dsp == 'PAC'"
>
<m-det756
:model=
"model"
:codes=
"codes"
/>
</el-collapse-item>
<
!--
<
el-collapse-item
title=
"通知付款(MT756)"
name=
"det756"
v-if=
"model.setmod.setglg.setgll[0].dsp == 'PAC'"
>
<m-det756
:model=
"model"
:codes=
"codes"
:idx=
"0"
/>
</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"
/>
</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>
</div>
</
template
>
...
...
@@ -69,10 +73,27 @@ export default {
mixins
:
[
commonProcess
],
data
()
{
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
:
{
...
Event
,
...
...
src/views/Business/Brtset/index.vue
View file @
3b5c83d4
...
...
@@ -248,7 +248,9 @@ export default {
if
(
this
.
isInDisplay
)
{
this
.
restoreDisplay
();
}
this
.
$refs
.
ovwp
.
$refs
.
utlp
.
$refs
.
table
.
$refs
.
table
.
toggleAllSelection
();
//表格,默认勾选
this
.
$nextTick
(()
=>
{
this
.
$refs
.
ovwp
.
$refs
.
utlp
.
$refs
.
table
.
$refs
.
table
.
toggleAllSelection
();
//表格,默认勾选
})
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment