Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
693a8fa7
Commit
693a8fa7
authored
Oct 17, 2022
by
黄卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
入仓储位选择提交后,货物列表没有回显
http://zentao.jdshangmen.com/bug-view-1044.html
parent
8ff58146
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
9 deletions
+13
-9
index.vue
src/components/WarehouseAreaDialog/index.vue
+13
-9
No files found.
src/components/WarehouseAreaDialog/index.vue
View file @
693a8fa7
...
@@ -143,19 +143,23 @@ export default {
...
@@ -143,19 +143,23 @@ export default {
this
.
activeWarehouse
=
warehouse
this
.
activeWarehouse
=
warehouse
if
(
!!
warehouse
.
selected
)
{
if
(
!!
warehouse
.
selected
)
{
warehouse
.
selected
=
false
warehouse
.
selected
=
false
return
}
else
if
(
this
.
activeWarehouseId
!==
warehouse
.
id
)
{
}
else
if
(
this
.
activeWarehouseId
!==
warehouse
.
id
)
{
this
.
activeWarehouseId
=
warehouse
.
id
this
.
activeWarehouseId
=
warehouse
.
id
}
else
{
console
.
log
(
this
.
inputValue
.
find
(
e
=>
e
.
areaId
===
warehouse
.
id
),
warehouse
.
id
)
warehouse
.
selected
=
true
if
(
this
.
inputValue
.
find
(
e
=>
e
.
areaId
===
warehouse
.
id
)){
return
}
}
warehouse
.
selected
=
true
// 区域被选,清空该区域下的位置
// 区域被选,清空该区域下的位置
if
(
warehouse
.
positionList
)
warehouse
.
positionList
?.
forEach
(
g
=>
{
if
(
warehouse
.
positionList
)
warehouse
.
positionList
?.
forEach
(
g
=>
{
g
.
selected
=
false
g
.
selected
=
false
g
.
children
?.
forEach
(
k
=>
{
g
.
children
?.
forEach
(
k
=>
{
k
.
selected
=
false
k
.
selected
=
false
})
})
})
}
}
)
},
},
handleSelectPositionChild
(
position
)
{
handleSelectPositionChild
(
position
)
{
if
(
!!
position
.
selected
)
{
if
(
!!
position
.
selected
)
{
...
...
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