Commit fd80ad6c authored by 季圣华's avatar 季圣华
Browse files

优化单据接口

parent fda716cd
......@@ -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
......@@ -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());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment