From 28191aeb9b6da1a90e63f5d7722d9ed51b15cbe7 Mon Sep 17 00:00:00 2001
From: skyouc <creaycat@gmail.com>
Date: 星期三, 26 十一月 2025 13:11:07 +0800
Subject: [PATCH] 添加是否允许超收配置

---
 rsf-server/src/main/java/com/vincent/rsf/server/api/service/impl/PdaCheckOrderServiceImpl.java |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/api/service/impl/PdaCheckOrderServiceImpl.java b/rsf-server/src/main/java/com/vincent/rsf/server/api/service/impl/PdaCheckOrderServiceImpl.java
index 07ad4b6..76616f0 100644
--- a/rsf-server/src/main/java/com/vincent/rsf/server/api/service/impl/PdaCheckOrderServiceImpl.java
+++ b/rsf-server/src/main/java/com/vincent/rsf/server/api/service/impl/PdaCheckOrderServiceImpl.java
@@ -340,6 +340,8 @@
                     .setId(null)
                     .setFieldsIndex(null)
                     .setMatnrId(matnr.getId())
+                    .setBatch(item.getBatch())
+                    .setMemo(item.getMemo())
                     .setMatnrCode(matnr.getCode())
                     .setMaktx(matnr.getName())
                     .setAnfme(item.getCheckQty());
@@ -376,7 +378,7 @@
         if (Objects.isNull(map.get("barcode"))) {
             throw new CoolException("鎵樼洏鐮佷笉鑳戒负绌猴紒锛�");
         }
-        if (Objects.isNull(map.get("matnrs"))) {
+        if (Objects.isNull(map.get("items"))) {
             throw new CoolException("鏂板鐗╂枡涓嶈兘涓虹┖锛侊紒");
         }
         String barcode = map.get("barcode").toString();
@@ -386,7 +388,7 @@
         if (null == task) {
             throw new CoolException("鏈壘鍒板鍣ㄥ彿瀵瑰簲浠诲姟");
         }
-        if (!task.getTaskStatus().equals(TaskStsType.AWAIT.id)) {
+        if (!task.getTaskStatus().equals(TaskStsType.WAVE_SEED.id)) {
             return R.error("浠诲姟鐘舵�佷笉鏄瓑寰呯‘璁�");
         }
 

--
Gitblit v1.9.1