Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
7b3ded1d
Commit
7b3ded1d
authored
Oct 12, 2021
by
季圣华
Browse files
解决商品选择的时候仓库选择的bug
parent
96a6f5fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/components/jeecgbiz/modal/JSelectMaterialModal.vue
View file @
7b3ded1d
...
...
@@ -178,11 +178,6 @@
}
},
async
loadData
(
arg
)
{
if
(
this
.
rows
)
{
if
(
JSON
.
parse
(
this
.
rows
).
depotId
){
this
.
queryParam
.
depotId
=
JSON
.
parse
(
this
.
rows
).
depotId
-
0
}
}
if
(
arg
===
1
)
{
this
.
ipagination
.
current
=
1
;
}
...
...
@@ -285,9 +280,17 @@
getAction
(
'
/depot/findDepotByCurrentUser
'
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
){
that
.
depotList
=
res
.
data
this
.
initDepotSelect
()
}
})
},
initDepotSelect
()
{
if
(
this
.
rows
)
{
if
(
JSON
.
parse
(
this
.
rows
).
depotId
){
this
.
queryParam
.
depotId
=
JSON
.
parse
(
this
.
rows
).
depotId
-
0
}
}
},
onSelectChange
(
selectedRowKeys
,
selectionRows
)
{
this
.
selectedRowKeys
=
selectedRowKeys
;
this
.
selectionRows
=
selectionRows
;
...
...
Write
Preview
Supports
Markdown
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