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
c0e43886
Commit
c0e43886
authored
Dec 24, 2018
by
季圣华
Browse files
根据商品id查询单据列表接口-完善
parent
b163bc1d
Changes
2
Hide whitespace changes
Inline
Side-by-side
erp_web/pages/materials/material.html
View file @
c0e43886
...
...
@@ -800,7 +800,7 @@
function
getMaterialInOutList
(
mId
,
pageNo
,
pageSize
)
{
$
.
ajax
({
type
:
"
get
"
,
url
:
"
/depotItem/findDetailByTypeAndMaterialId
.action
"
,
url
:
"
/depotItem/findDetailByTypeAndMaterialId
"
,
dataType
:
"
json
"
,
data
:
({
materialId
:
mId
,
...
...
src/main/java/com/jsh/erp/controller/DepotItemController.java
View file @
c0e43886
...
...
@@ -100,13 +100,13 @@ public class DepotItemController {
dataArray
.
add
(
item
);
}
}
objectMap
.
put
(
"page"
,
dataArray
);
objectMap
.
put
(
"page"
,
queryInfo
);
if
(
list
==
null
)
{
queryInfo
.
setRows
(
new
ArrayList
<
Object
>());
queryInfo
.
setTotal
(
0
);
return
returnJson
(
objectMap
,
"查找不到数据"
,
ErpInfo
.
OK
.
code
);
}
queryInfo
.
setRows
(
list
);
queryInfo
.
setRows
(
dataArray
);
queryInfo
.
setTotal
(
depotItemService
.
findDetailByTypeAndMaterialIdCounts
(
parameterMap
));
return
returnJson
(
objectMap
,
ErpInfo
.
OK
.
name
,
ErpInfo
.
OK
.
code
);
}
...
...
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