|
|
@@ -1787,7 +1787,7 @@ public class OutboundSaleOrderService extends BaseService<Outbound> {
|
|
|
//出库状态
|
|
|
String outStatus = null;
|
|
|
//出库中+已出库 小于 总数 或者 出库中数量小于等于订单总数量
|
|
|
- if (intoingQty.compareTo(sumQty) <= 0 && intoingQty.add(intoQty).compareTo(sumQty) < 0 ) {
|
|
|
+ if (intoingQty.compareTo(sumQty) <= 0 && intoingQty.add(intoQty).compareTo(sumQty) <= 0 && intoQty.compareTo(sumQty) < 0 ) {
|
|
|
//出库中
|
|
|
outStatus = Constant.OutStatus.CHUKUZHONG.getName();
|
|
|
}
|