|
|
|
@ -194,6 +194,7 @@ public class ProductionInboundController extends AbstractController { |
|
|
|
String buNo = (String) params.get("buNo"); |
|
|
|
String inboundNo = (String) params.get("inboundNo"); |
|
|
|
String relatedOrderNo = (String) params.get("relatedOrderNo"); |
|
|
|
String warehouseId = (String) params.get("warehouseId"); |
|
|
|
|
|
|
|
if (site == null || site.trim().isEmpty()) { |
|
|
|
return R.error("站点不能为空"); |
|
|
|
@ -207,7 +208,8 @@ public class ProductionInboundController extends AbstractController { |
|
|
|
return R.error("入库单号不能为空"); |
|
|
|
} |
|
|
|
|
|
|
|
List<Map<String, Object>> materialList = productionInboundService.getMaterialList(site, buNo, inboundNo, relatedOrderNo); |
|
|
|
List<Map<String, Object>> materialList = productionInboundService.getMaterialList( |
|
|
|
site, buNo, inboundNo, warehouseId, relatedOrderNo); |
|
|
|
|
|
|
|
return R.ok().put("data", materialList); |
|
|
|
} catch (Exception e) { |
|
|
|
|