From c1d2d1a884b5d0c610f274709c7c0657e8ea9afc Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期五, 17 三月 2023 10:19:48 +0800 Subject: [PATCH] 显示单据管理重量字段 --- src/main/java/com/zy/asrs/entity/OrderDetl.java | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/OrderDetl.java b/src/main/java/com/zy/asrs/entity/OrderDetl.java index 311979d..bba9977 100644 --- a/src/main/java/com/zy/asrs/entity/OrderDetl.java +++ b/src/main/java/com/zy/asrs/entity/OrderDetl.java @@ -443,12 +443,10 @@ } public Double getEnableQty() { - if (null != this.anfme && this.workQty != null) { - return this.anfme - this.workQty; + + if (null != this.anfme && this.qty != null) { + return this.anfme - this.qty; } -// if (null != this.anfme && this.qty != null) { -// return this.anfme - this.qty; -// } return null; } -- Gitblit v1.9.1