|
|
|
@ -1302,10 +1302,8 @@ public class DistributionStockupAppController extends BladeController {
|
|
|
|
|
return Resp.scanFail("当前货位的库存品已为零,请更换货位继续!!", "当前货位的库存品已为零,请更换货位继续!!"); |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
|
|
|
|
|
// 读取码表上的配置项 是否开启验证批次号
|
|
|
|
|
String isCheckIncomingBatch = DictBizCache.getValue("isCheckIncomingBatch", "isCheckIncomingBatch"); |
|
|
|
|
|
|
|
|
|
List<DistributionParcelListEntity> list = distributionParcelListService.list(Wrappers.<DistributionParcelListEntity>query().lambda() |
|
|
|
|
.eq(DistributionParcelListEntity::getOrderPackageCode, packetBarCode) |
|
|
|
|
.eq(DistributionParcelListEntity::getOrderCode, byId.getIncomingBatch()) |
|
|
|
@ -1395,13 +1393,13 @@ public class DistributionStockupAppController extends BladeController {
|
|
|
|
|
R r = warehouseUpdownTypeClient.downStock(list); |
|
|
|
|
if (r.getCode() != 200) { |
|
|
|
|
log.debug("##########" + r.getMsg()); |
|
|
|
|
return Resp.scanFail("下架失败,请联系管理员!!", "下架失败,请联系管理员!!"); |
|
|
|
|
// return Resp.scanFail("下架失败,请联系管理员!!", "下架失败,请联系管理员!!");
|
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
R r = warehouseUpdownTypeClient.downPackage(packetBarCode, byId.getWarehouseId()); |
|
|
|
|
if (r.getCode() != 200) { |
|
|
|
|
log.debug("##########" + r.getMsg()); |
|
|
|
|
return Resp.scanFail("下架失败,请联系管理员!!", "下架失败,请联系管理员!!"); |
|
|
|
|
// return Resp.scanFail("下架失败,请联系管理员!!", "下架失败,请联系管理员!!");
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|