fix:生产工单中的物料需求功能优化(解决部分数据全部为空的问题)

This commit is contained in:
zhangxuanming 2025-01-16 18:09:34 +08:00
parent 0fc34558e8
commit b681e845da

View File

@ -224,6 +224,12 @@ public class ProWorkorderController extends BaseController
) {
MdProductBom theBom = new MdProductBom();
theBom.setBomItemId(bom.getItemId());
theBom.setBomItemName(bom.getItemName());
theBom.setBomItemCode(bom.getItemCode());
theBom.setItemOrProduct(bom.getItemOrProduct());
theBom.setUnitOfMeasure(bom.getUnitOfMeasure());
theBom.setBomItemSpec(bom.getItemSpc());
theBom.setQuantity(bom.getQuantity());
result.addAll(getBoms(theBom,bom.getQuantity(),0));
}
}