Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-convertor-view
Project
Project
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
station
amos-convertor-view
Commits
6970a539
Commit
6970a539
authored
Apr 06, 2021
by
王珂
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
7510808d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
index.js
src/view/bizview/equipmentLedger/Equipment/index.js
+13
-5
No files found.
src/view/bizview/equipmentLedger/Equipment/index.js
View file @
6970a539
...
...
@@ -113,11 +113,14 @@ class Equipment extends Component {
}
else
{
this
.
setState
({
equipClassify
:
val
});
}
if
(
val
)
{
let
searchParam
=
[{
name
:
type
,
value
:
val
,
type
:
'LIKE'
}];
searchParam
.
current
=
0
;
this
.
getEquipmentListData
(
searchParam
);
}
// if (val) {
// let searchParam = [{ name: type, value: val, type: 'LIKE' }];
// searchParam.current = 0;
// this.getEquipmentListData(searchParam);
// }
let
searchParam
=
[{
name
:
type
,
value
:
val
,
type
:
'LIKE'
}];
searchParam
.
current
=
0
;
this
.
getEquipmentListData
(
searchParam
);
}
onRowClick
=
record
=>
{
...
...
@@ -214,6 +217,11 @@ class Equipment extends Component {
return
;
}
if
(
selectedRowKeys
.
length
!==
1
)
{
AmosAlert
.
warning
(
'提示'
,
'请选择一条数据'
);
return
;
}
let
equipId
=
selectedRowKeys
;
if
(
selectedRowKeys
.
length
>
1
)
{
equipId
=
selectedRowKeys
[
selectedRowKeys
.
length
-
1
];
...
...
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