|
|
|
@@ -157,7 +157,7 @@ open class PickExecutionIssueService( |
|
|
|
) |
|
|
|
|
|
|
|
val currentStatus = relatedStockOutLines.firstOrNull()?.status ?: "" |
|
|
|
|
|
|
|
/* |
|
|
|
if (currentStatus.equals("pending", ignoreCase = true) |
|
|
|
&& actualPickQty > BigDecimal.ZERO |
|
|
|
&& missQty == BigDecimal.ZERO |
|
|
|
@@ -172,6 +172,7 @@ open class PickExecutionIssueService( |
|
|
|
errorPosition = null |
|
|
|
) |
|
|
|
} |
|
|
|
*/ |
|
|
|
val lotRemainAvailable = bookQty // 当前 lot 剩余 |
|
|
|
val maxAllowed = requiredQty + lotRemainAvailable |
|
|
|
|
|
|
|
|