优化单据接口
This commit is contained in:
@@ -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;
|
||||
}
|
||||
BIN
erp_web/js/easyui/themes/icons/nullify.png
Normal file
BIN
erp_web/js/easyui/themes/icons/nullify.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user