Browse Source

采购退货盘点错误。

master
刘忱 2 years ago
parent
commit
ab6146b00f
  1. 2
      win-module-wms/win-module-wms-biz/src/main/java/com/win/module/wms/service/purchasereturnRequest/PurchasereturnRequestMainServiceImpl.java

2
win-module-wms/win-module-wms-biz/src/main/java/com/win/module/wms/service/purchasereturnRequest/PurchasereturnRequestMainServiceImpl.java

@ -232,7 +232,7 @@ public class PurchasereturnRequestMainServiceImpl implements PurchasereturnReque
}
private void ifDetailQtyBigThanQty(BigDecimal detailQty, BigDecimal qty) {
if (detailQty.compareTo(qty) < 0) {
if (detailQty.compareTo(qty) > 0) {
throw exception(QTY_EXCEPTION, "退货数量" + qty + "不能大于收货数量" + detailQty);
}
}

Loading…
Cancel
Save