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
daf75844
Commit
daf75844
authored
Oct 24, 2017
by
季圣华
Browse files
商品信息的库存增加延迟加载功能
parent
b0a6c657
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/webapp/pages/materials/material.jsp
View file @
daf75844
...
...
@@ -617,18 +617,18 @@
MaterialId
:
mId
,
MonthTime
:
monthTime
},
async
:
false
,
dataType
:
"
json
"
,
success
:
function
(
res
)
{
if
(
res
&&
res
.
rows
&&
res
.
rows
[
0
])
{
thisStock
=
res
.
rows
[
0
].
thisSum
;
$
(
"
#tablePanel .class-
"
+
rec
.
Id
).
text
(
thisStock
);
//延迟加载库存数据
}
},
error
:
function
()
{
$
.
messager
.
alert
(
'
查询提示
'
,
'
查询数据后台异常,请稍后再试!
'
,
'
error
'
);
}
});
return
thisStock
;
return
"
<span class='class-
"
+
rec
.
Id
+
"
'>
"
+
thisStock
+
"
</span>
"
;
}},
{
title
:
'
零售价
'
,
field
:
'
RetailPrice
'
,
width
:
60
},
{
title
:
'
最低售价
'
,
field
:
'
LowPrice
'
,
width
:
70
},
...
...
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