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
4557a13f
Commit
4557a13f
authored
May 28, 2022
by
季圣华
Browse files
优化商品库存流水记录,分仓库查询
parent
224239c1
Changes
2
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/report/MaterialStock.vue
View file @
4557a13f
...
...
@@ -230,8 +230,12 @@
})
},
showMaterialInOutList
(
record
)
{
this
.
$refs
.
materialInOutList
.
show
(
record
);
this
.
$refs
.
materialInOutList
.
title
=
"
查看商品库存流水(全部仓库)
"
;
let
depotIds
=
''
if
(
this
.
depotSelected
&&
this
.
depotSelected
.
length
>
0
)
{
depotIds
=
this
.
depotSelected
.
join
()
}
this
.
$refs
.
materialInOutList
.
show
(
record
,
depotIds
);
this
.
$refs
.
materialInOutList
.
title
=
"
查看商品库存流水
"
;
this
.
$refs
.
materialInOutList
.
disableSubmit
=
false
;
},
exportExcel
()
{
...
...
jshERP-web/src/views/report/modules/MaterialInOutList.vue
View file @
4557a13f
...
...
@@ -50,7 +50,8 @@
toFromType
:
''
,
// 查询条件
queryParam
:
{
materialId
:
''
depotIds
:
''
,
materialId
:
''
,
},
tabKey
:
"
1
"
,
// 表头
...
...
@@ -85,7 +86,7 @@
sm
:
{
span
:
16
},
},
url
:
{
list
:
"
/depotItem/findDetailBy
Type
AndMaterialId
"
list
:
"
/depotItem/findDetailBy
DepotIds
AndMaterialId
"
}
}
},
...
...
@@ -99,9 +100,10 @@
param
.
pageSize
=
this
.
ipagination
.
pageSize
;
return
param
;
},
show
(
record
)
{
show
(
record
,
depotIds
)
{
this
.
model
=
Object
.
assign
({},
record
);
this
.
visible
=
true
;
this
.
queryParam
.
depotIds
=
depotIds
this
.
queryParam
.
materialId
=
record
.
id
this
.
loadData
(
1
)
},
...
...
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