From a3776853fa6ff1c4a9805615a79852d54f700e3f Mon Sep 17 00:00:00 2001
From: zyx <zyx123456>
Date: 星期六, 20 七月 2024 09:21:04 +0800
Subject: [PATCH] 增加库位明细导出功能,曾加物料、单据、库存全局搜索功能

---
 zy-asrs-common/src/main/java/com/zy/asrs/common/wms/entity/OrderDetl.java |   27 ++++++++++++++++++++-------
 1 files changed, 20 insertions(+), 7 deletions(-)

diff --git a/zy-asrs-common/src/main/java/com/zy/asrs/common/wms/entity/OrderDetl.java b/zy-asrs-common/src/main/java/com/zy/asrs/common/wms/entity/OrderDetl.java
index 9cc0db0..b467ba5 100644
--- a/zy-asrs-common/src/main/java/com/zy/asrs/common/wms/entity/OrderDetl.java
+++ b/zy-asrs-common/src/main/java/com/zy/asrs/common/wms/entity/OrderDetl.java
@@ -57,8 +57,11 @@
     @ApiModelProperty(value= "鏁伴噺")
     private Double anfme;
 
-    @ApiModelProperty(value= "")
+    @ApiModelProperty(value= "宸插畬鎴愭暟閲�")
     private Double qty;
+
+    @ApiModelProperty(value= "浣滀笟鏁伴噺")
+    private Double workQty;
 
     /**
      * 鍟嗗搧缂栫爜
@@ -181,21 +184,21 @@
     private Double volume;
 
     /**
-     * 涓夋柟缂栫爜
+     * 浠撳簱鍙�
      */
-    @ApiModelProperty(value= "涓夋柟缂栫爜")
+    @ApiModelProperty(value= "浠撳簱鍙�")
     private String threeCode;
 
     /**
-     * 渚涘簲鍟�
+     * 鏉ユ簮鍗曞彿
      */
-    @ApiModelProperty(value= "渚涘簲鍟�")
+    @ApiModelProperty(value= "鏉ユ簮鍗曞彿")
     private String supp;
 
     /**
-     * 渚涘簲鍟嗙紪鐮�
+     * 鏉ユ簮搴忓彿
      */
-    @ApiModelProperty(value= "渚涘簲鍟嗙紪鐮�")
+    @ApiModelProperty(value= "鏉ユ簮搴忓彿")
     private String suppCode;
 
     /**
@@ -478,6 +481,16 @@
         return null;
     }
 
+    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;
+//        }
+        return null;
+    }
+
     public void sync(Object source) {
         Synchro.Copy(source, this);
     }

--
Gitblit v1.9.1