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
00587c9a
Commit
00587c9a
authored
Jan 22, 2019
by
季圣华
Browse files
!19 修复入库明细和出库明细分页查询不了的问题
Merge pull request !19 from hsj/master
parents
bdd2ffea
00fcdd81
Changes
3
Show whitespace changes
Inline
Side-by-side
erp_web/pages/reports/in_detail.html
View file @
00587c9a
...
@@ -292,7 +292,7 @@
...
@@ -292,7 +292,7 @@
}),
}),
success
:
function
(
res
)
{
success
:
function
(
res
)
{
if
(
res
&&
res
.
code
===
200
&&
res
.
data
)
{
if
(
res
&&
res
.
code
===
200
&&
res
.
data
)
{
$
(
"
#tableData
"
).
datagrid
(
'
loadData
'
,
res
.
data
.
rows
);
$
(
"
#tableData
"
).
datagrid
(
'
loadData
'
,
res
.
data
);
}
}
},
},
//此处添加错误处理
//此处添加错误处理
...
...
erp_web/pages/reports/out_detail.html
View file @
00587c9a
...
@@ -292,7 +292,7 @@
...
@@ -292,7 +292,7 @@
}),
}),
success
:
function
(
res
)
{
success
:
function
(
res
)
{
if
(
res
&&
res
.
code
===
200
&&
res
.
data
)
{
if
(
res
&&
res
.
code
===
200
&&
res
.
data
)
{
$
(
"
#tableData
"
).
datagrid
(
'
loadData
'
,
res
.
data
.
rows
);
$
(
"
#tableData
"
).
datagrid
(
'
loadData
'
,
res
.
data
);
}
}
},
},
//此处添加错误处理
//此处添加错误处理
...
...
src/main/java/com/jsh/erp/controller/DepotHeadController.java
View file @
00587c9a
...
@@ -209,7 +209,9 @@ public class DepotHeadController {
...
@@ -209,7 +209,9 @@ public class DepotHeadController {
Map
<
String
,
Object
>
map
=
new
HashMap
<
String
,
Object
>();
Map
<
String
,
Object
>
map
=
new
HashMap
<
String
,
Object
>();
try
{
try
{
List
<
DepotHeadVo4InDetail
>
resList
=
new
ArrayList
<
DepotHeadVo4InDetail
>();
List
<
DepotHeadVo4InDetail
>
resList
=
new
ArrayList
<
DepotHeadVo4InDetail
>();
List
<
DepotHeadVo4InDetail
>
list
=
depotHeadService
.
findByAll
(
beginTime
,
endTime
,
type
,
pid
,
dids
,
oId
,
currentPage
,
pageSize
);
Integer
limitStart
=
(
currentPage
-
1
)*
pageSize
;
Integer
limitEnd
=
pageSize
;
List
<
DepotHeadVo4InDetail
>
list
=
depotHeadService
.
findByAll
(
beginTime
,
endTime
,
type
,
pid
,
dids
,
oId
,
limitStart
,
limitEnd
);
int
total
=
depotHeadService
.
findByAllCount
(
beginTime
,
endTime
,
type
,
pid
,
dids
,
oId
);
int
total
=
depotHeadService
.
findByAllCount
(
beginTime
,
endTime
,
type
,
pid
,
dids
,
oId
);
map
.
put
(
"total"
,
total
);
map
.
put
(
"total"
,
total
);
//存放数据json数组
//存放数据json数组
...
...
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