|
|
|
@ -102,7 +102,7 @@ public class ProductionReturnController { |
|
|
|
public R scanMaterialLabel(@RequestBody DirectIssueDto dto) throws Exception{ |
|
|
|
MaterialLabelInfo labelInfo = productionReturnService.scanMaterialLabel(dto.getScannedLabel(), dto.getSite(),dto.getBatchNo(),dto.getComponentPartNo()); |
|
|
|
if (labelInfo == null) { |
|
|
|
return R.error("无法解析物料标签"); |
|
|
|
return R.error("标签不是未入库状态"); |
|
|
|
} |
|
|
|
return R.ok().put("labelInfo", labelInfo); |
|
|
|
} |
|
|
|
|