自动化立体仓库 - WMS系统
#
zjj
2025-07-03 c7d036d6ba067fb90e53a56a400695d991101d89
src/main/java/com/zy/asrs/entity/OrderDetl.java
@@ -15,6 +15,7 @@
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.util.Date;
@@ -453,7 +454,10 @@
    public Double getEnableQty() {
        if (null != this.anfme && this.workQty != null) {
            return this.anfme - this.workQty;
            BigDecimal subtract = new BigDecimal(this.anfme).subtract(new BigDecimal(this.workQty));
            return subtract.doubleValue();
        }
//        if (null != this.anfme && this.qty != null) {
//            return this.anfme - this.qty;