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
c33c9a52
Commit
c33c9a52
authored
Feb 17, 2020
by
季圣华
Browse files
解决销售统计和采购统计的翻页bug
parent
bb1c70f7
Changes
2
Hide whitespace changes
Inline
Side-by-side
erp_web/pages/reports/buy_in_report.html
View file @
c33c9a52
...
@@ -217,7 +217,7 @@
...
@@ -217,7 +217,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/sale_out_report.html
View file @
c33c9a52
...
@@ -222,8 +222,8 @@
...
@@ -222,8 +222,8 @@
mpList
:
mPropertyList
mpList
:
mPropertyList
}),
}),
success
:
function
(
res
)
{
success
:
function
(
res
)
{
if
(
res
&&
res
.
code
===
200
&&
res
.
data
)
{
if
(
res
&&
res
.
code
===
200
)
{
$
(
"
#tableData
"
).
datagrid
(
'
loadData
'
,
res
.
data
.
rows
);
$
(
"
#tableData
"
).
datagrid
(
'
loadData
'
,
res
.
data
);
}
}
var
total
=
0
;
var
total
=
0
;
res
.
data
.
rows
.
forEach
(
function
(
value
,
index
,
array
){
res
.
data
.
rows
.
forEach
(
function
(
value
,
index
,
array
){
...
...
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