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
e15d318a
Commit
e15d318a
authored
Jul 26, 2022
by
Wuyuqiu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bftset页面bug临时提交
parent
3b905cfc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
11 deletions
+45
-11
Setp.vue
src/views/Business/Bftset/Setp.vue
+45
-11
No files found.
src/views/Business/Bftset/Setp.vue
View file @
e15d318a
...
...
@@ -868,6 +868,7 @@ export default {
],
data
:
[],
},
preSelectedRow
:
0
};
},
computed
:
{
...
...
@@ -900,23 +901,56 @@ export default {
methods
:
{
...
Event
,
async
multipleSelect
(
selection
)
{
console
.
log
(
selection
);
if
(
selection
)
{
let
selIds
=
selection
.
map
(
x
=>
x
+
1
);
let
params
=
{
selDst
:
"liaall.tenstm"
,
selIds
}
if
(
selection
.
length
>
1
)
{
// this.$
}
else
{
let
idx
;
if
(
selection
.
length
===
0
)
{
idx
=
this
.
preSelectedRow
}
else
{
idx
=
selection
[
0
]
this
.
preSelectedRow
=
idx
}
//
let
params
=
{
selDst
:
"liaall.tenstm"
,
selIds
:
[
idx
+
1
]}
const
rtnmsg
=
await
this
.
executeRule
(
"liaall.tenstm"
,
params
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
else
{
// this.model.setmod.docamt = "";
// this.model.setmod.setamt = "";
// this.model.aamset.utlamt = "";
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
// console.log(selection);
// if (selection) {
// let selIds = selection.map(x=>x+1);
// 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: '服务请求失败!'});
// }
// }else{
// let selIds = selection.map(x=>x+1);
// 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: '服务请求失败!'});
// }
// // this.model.setmod.docamt = "";
// // this.model.setmod.setamt = "";
// // this.model.aamset.utlamt = "";
// }
},
},
...
...
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