给单据增加颜色的展示

This commit is contained in:
季圣华 2021-10-11 23:53:31 +08:00
parent 38077dffe4
commit 60cefec95e
2 changed files with 2 additions and 0 deletions

View File

@ -177,6 +177,7 @@ public class DepotItemController {
item.put("name", diEx.getMName());
item.put("standard", diEx.getMStandard());
item.put("model", diEx.getMModel());
item.put("color", diEx.getMColor());
item.put("materialOther", getOtherInfo(mpArr, diEx));
Integer ratio = diEx.getRatio();
BigDecimal stock;

View File

@ -197,6 +197,7 @@ public class MaterialController {
item.put("categoryName", material.getCategoryName());
item.put("standard", material.getStandard());
item.put("model", material.getModel());
item.put("color", material.getColor());
item.put("unit", material.getCommodityUnit() + ratio);
item.put("sku", material.getSku());
item.put("enableSerialNumber", material.getEnableSerialNumber());