自动化立体仓库 - WMS系统
#
zjj
9 天以前 aa95589f3b49e10a72b2200a865c46b8077a4204
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;