|
|
|
@ -174,7 +174,7 @@ public class PoServiceImpl extends ServiceImpl<PoMapper, PurchaseOrder> implemen |
|
|
|
} |
|
|
|
// 根据库位获取仓库ID |
|
|
|
String warehouseId = null; |
|
|
|
Location location = locationService.getByLocationIdAndSite(inData.getSite(), inData.getLocationId()); |
|
|
|
Location location = locationService.getByLocationIdAndSite(inData.getSite(), inData.getLocationNo()); |
|
|
|
if (location != null) { |
|
|
|
warehouseId = location.getWarehouseId(); |
|
|
|
} |
|
|
|
|