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
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
54 additions
and
125 deletions
+54
-125
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
+0
-0
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
This diff is collapsed.
Click to expand it.
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