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
fd80ad6c
Commit
fd80ad6c
authored
Jul 08, 2020
by
季圣华
Browse files
优化单据接口
parent
fda716cd
Changes
3
Hide whitespace changes
Inline
Side-by-side
erp_web/js/easyui/themes/icon.css
View file @
fd80ad6c
...
...
@@ -108,4 +108,7 @@
}
.icon-user
{
background
:
url('icons/user.png')
no-repeat
center
center
;
}
.icon-nullify
{
background
:
url('icons/nullify.png')
no-repeat
center
center
;
}
\ No newline at end of file
erp_web/js/easyui/themes/icons/nullify.png
0 → 100644
View file @
fd80ad6c
1.5 KB
src/main/java/com/jsh/erp/controller/DepotItemController.java
View file @
fd80ad6c
...
...
@@ -178,8 +178,10 @@ public class DepotItemController {
String
materialOther
=
getOtherInfo
(
mpArr
,
diEx
);
MaterialName
=
MaterialName
+
materialOther
+
((
diEx
.
getUName
()
==
null
||
diEx
.
getUName
().
equals
(
""
))
?
""
:
"("
+
diEx
.
getUName
()
+
")"
)
+
ratio
;
item
.
put
(
"MaterialName"
,
MaterialName
==
null
?
""
:
MaterialName
);
item
.
put
(
"Stock"
,
depotItemService
.
getStockByParam
(
diEx
.
getDepotid
(),
diEx
.
getMaterialid
(),
null
,
null
,
tenantId
));
BigDecimal
stock
=
depotItemService
.
getStockByParam
(
diEx
.
getDepotid
(),
diEx
.
getMaterialid
(),
null
,
null
,
tenantId
);
item
.
put
(
"Stock"
,
stock
);
item
.
put
(
"Unit"
,
diEx
.
getMunit
());
item
.
put
(
"currentStock"
,
diEx
.
getOpernumber
().
add
(
stock
));
item
.
put
(
"OperNumber"
,
diEx
.
getOpernumber
());
item
.
put
(
"BasicNumber"
,
diEx
.
getBasicnumber
());
item
.
put
(
"UnitPrice"
,
diEx
.
getUnitprice
());
...
...
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