Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
micro-trialrun
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit cebf13a4
authored
Oct 18, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复获取已结清车辆归属的问题
1 parent
95fc1f87
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
src/views/vehicleManage/vehicleList.vue
src/views/vehicleManage/vehicleList.vue
View file @
cebf13a
...
...
@@ -1706,13 +1706,11 @@ export default {
if
(
flag
==
'settle'
)
{
console
.
log
(
'this.filterTextData'
,
this
.
filterTextData
);
if
(
this
.
filterTextData
.
length
==
1
)
{
//如果只有一个组织,则查找下面带“结清”得子组织
let
settleObj
=
this
.
filterTextData
[
0
].
children
[
0
].
children
.
find
(
item
=>
item
.
label
.
indexOf
(
'结清'
)
>
-
1
)
;
let
settleObj
=
this
.
filterTextData
[
0
].
children
.
find
(
item
=>
item
.
label
.
indexOf
(
'结清'
)
>
-
1
).
children
[
0
]
;
console
.
log
(
'settleObj'
,
settleObj
);
if
(
settleObj
)
{
if
(
settleObj
.
origin
.
type
==
'u'
)
{
this
.
$set
(
this
.
snForm
,
"organizationName"
,
settleObj
.
label
);
this
.
snForm
.
organizationId
=
settleObj
.
id
;
}
if
(
settleObj
&&
settleObj
.
origin
.
type
==
'u'
)
{
this
.
$set
(
this
.
snForm
,
"organizationName"
,
settleObj
.
label
);
this
.
snForm
.
organizationId
=
settleObj
.
id
;
}
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment