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
b0a6c657
Commit
b0a6c657
authored
Oct 23, 2017
by
码农的春天
Committed by
季圣华
Oct 23, 2017
Browse files
!12 更新
Merge pull request !12 from 码农的春天/master
parents
b7b38ec6
2cfdd6c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/webapp/pages/materials/material.jsp
View file @
b0a6c657
...
...
@@ -604,7 +604,32 @@
{
title
:
'
型号
'
,
field
:
'
Model
'
,
width
:
80
},
{
title
:
'
扩展信息
'
,
field
:
'
MaterialOther
'
,
width
:
150
},
{
title
:
'
单位
'
,
field
:
'
Unit
'
,
width
:
60
},
{
title
:
'
安全存量
'
,
field
:
'
SafetyStock
'
,
width
:
90
},
{
title
:
'
安全存量
'
,
field
:
'
SafetyStock
'
,
width
:
70
},
{
title
:
'
库存
'
,
field
:
'
abc
'
,
width
:
70
,
formatter
:
function
(
value
,
rec
){
var
monthTime
=
getNowFormatMonth
();
var
mId
=
rec
.
Id
;
//商品id
var
thisStock
=
0
;
//查询库存
$
.
ajax
({
type
:
"
get
"
,
url
:
'
<%=
path
%>
/depotItem/findStockNumById.action
'
,
data
:
{
MaterialId
:
mId
,
MonthTime
:
monthTime
},
async
:
false
,
dataType
:
"
json
"
,
success
:
function
(
res
)
{
if
(
res
&&
res
.
rows
&&
res
.
rows
[
0
])
{
thisStock
=
res
.
rows
[
0
].
thisSum
;
}
},
error
:
function
()
{
$
.
messager
.
alert
(
'
查询提示
'
,
'
查询数据后台异常,请稍后再试!
'
,
'
error
'
);
}
});
return
thisStock
;
}},
{
title
:
'
零售价
'
,
field
:
'
RetailPrice
'
,
width
:
60
},
{
title
:
'
最低售价
'
,
field
:
'
LowPrice
'
,
width
:
70
},
{
title
:
'
预计采购价
'
,
field
:
'
PresetPriceOne
'
,
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