Commit b9adf1d00402acff5f6b3d20dbf3233261a89e3e
1 parent
2097085c
update
Showing
1 changed file
with
3 additions
and
0 deletions
huaheng-wms-core/src/main/java/org/jeecg/modules/wms/stocktaking/cycleCountDetail/service/impl/CycleCountDetailServiceImpl.java
... | ... | @@ -358,6 +358,9 @@ public class CycleCountDetailServiceImpl extends ServiceImpl<CycleCountDetailMap |
358 | 358 | if (cycleCountDetail.getEnableStatus().equals(QuantityConstant.CYCLECOUNT_STATUS_BUILD)) { |
359 | 359 | return Result.error("当前盘点明细是新建状态 不能调整"); |
360 | 360 | } |
361 | + if (cycleCountDetail.getEnableStatus().equals(QuantityConstant.CYCLECOUNT_STATUS_COMPLETED)) { | |
362 | + return Result.error("当前盘点明细是完成状态 不能调整"); | |
363 | + } | |
361 | 364 | |
362 | 365 | if (cycleCountDetailChild.getCountedQty().compareTo(BigDecimal.ZERO) == 0) { |
363 | 366 | return Result.error("别闹"); |
... | ... |