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
zhouqian
vue-gjjs
Commits
6158e6cc
Commit
6158e6cc
authored
Aug 11, 2022
by
nanrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
botpay “setp”面板测试bug第二个表格事件关联处理
parent
4681c44e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
3 deletions
+38
-3
Setp.vue
src/views/Business/Botpay/Setp.vue
+33
-1
index.vue
src/views/Business/Botpay/index.vue
+5
-2
No files found.
src/views/Business/Botpay/Setp.vue
View file @
6158e6cc
...
...
@@ -252,7 +252,7 @@
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<c-istream-table
ref=
"table"
:list=
"model.liaall.tenstm.rows || []"
:columns=
"stmData.columns"
:showSelection=
"true"
v-on:multipleSelect=
"multipleSelect"
>
:showSelection=
"true"
v-on:multipleSelect=
"multipleSelect"
prop=
"liaall.tenstm"
>
</c-istream-table>
</c-col>
</c-col>
...
...
@@ -361,6 +361,38 @@ export default {
this
.
model
.
setmod
.
redamt
=
"0.00"
;
}
},
async
multipleSelect
(
selection
)
{
if
(
selection
.
length
>
1
)
{
this
.
$notify
({
title
:
"error"
,
message
:
"You cannot select more than one tenor"
,
type
:
"error"
,
});
}
else
{
let
selIds
;
if
(
selection
.
length
===
0
)
{
selIds
=
[];
this
.
model
.
setmod
.
docamt
=
"0.000"
;
this
.
model
.
liaall
.
tensetstm
.
rows
=
[];
this
.
isDisabled
=
false
;
// this.model.liaall.tenstm.rows = []
}
else
{
selIds
=
[
selection
[
0
]
+
1
];
this
.
model
.
setmod
.
docamt
=
this
.
model
.
bodgrp
.
cbs
.
max
.
amt
;
this
.
isDisabled
=
true
;
}
//
console
.
log
(
this
.
model
.
liaall
.
tensetstm
);
let
params
=
{
selDst
:
"liaall.tenstm"
,
selIds
};
const
rtnmsg
=
await
this
.
executeRule
(
"liaall.tenstm"
,
params
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
}
else
{
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
}
},
},
created
:
function
()
{
...
...
src/views/Business/Botpay/index.vue
View file @
6158e6cc
...
...
@@ -16,7 +16,7 @@
<!--PD000027 -->
<el-tab-pane
label=
"Funds Settlement"
name=
"setp"
>
<m-setp
:model=
"model"
:codes=
"codes"
/>
<m-setp
ref=
"setp"
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
<!--PD000049 -->
...
...
@@ -138,7 +138,10 @@ export default {
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
//TODO 处理数据逻辑
this
.
$nextTick
(()
=>
{
this
.
$refs
.
setp
.
$refs
.
table
.
$refs
.
table
.
toggleAllSelection
();
this
.
model
.
setmod
.
docamt
=
this
.
model
.
bodgrp
.
cbs
.
max
.
amt
;
})
}
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