Prechádzať zdrojové kódy

产品BOM添加物料销售价

yzc 1 rok pred
rodič
commit
848859433f

+ 1 - 0
hx-item/src/main/java/com/fjhx/item/controller/product/ProductBomInfoController.java

@@ -60,6 +60,7 @@ public class ProductBomInfoController {
             item.setMaterialLength(material.getLength());
             item.setMaterialWidth(material.getWidth());
             item.setMaterialHeight(material.getHeight());
+            item.setMaterialPrice(material.getPrice());
         });
 
         ProductBomInfoVo productBomInfoVo = new ProductBomInfoVo();

+ 1 - 0
hx-item/src/main/java/com/fjhx/item/entity/product/vo/ProductBomDetailVo.java

@@ -28,5 +28,6 @@ public class ProductBomDetailVo extends ProductBomDetail {
     private BigDecimal materialLength;
     private BigDecimal materialWidth;
     private BigDecimal materialHeight;
+    private BigDecimal materialPrice;
 
 }