From 4f089b531a7fa8de7ad18be76f69e2f00792458c Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期日, 29 六月 2025 11:33:46 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/asrs/service/impl/ReportToThirdServiceImpl.java |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/zy/asrs/service/impl/ReportToThirdServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/ReportToThirdServiceImpl.java
index eb968e9..57ce31b 100644
--- a/src/main/java/com/zy/asrs/service/impl/ReportToThirdServiceImpl.java
+++ b/src/main/java/com/zy/asrs/service/impl/ReportToThirdServiceImpl.java
@@ -8,6 +8,7 @@
 import com.core.exception.CoolException;
 import com.zy.asrs.entity.*;
 import com.zy.asrs.service.*;
+import com.zy.asrs.utils.MatUtils;
 import com.zy.nc.SendUtil;
 import com.zy.nc.entity.*;
 import com.zy.nc.service.NccSaleXsfhmxWmsService;
@@ -345,10 +346,14 @@
 
             cwarehouseid = wrkDetls.get(0).getStandby1();
 
+            //璁$畻杈呮暟閲�
+            Double weight = MatUtils.calcWeight(inventoryCheckOrderDetl.getMatnr(), inventoryCheckOrderDetl.getCheckAnfme());
+
             InvCountBodyVO invCountBodyVO = new InvCountBodyVO();
             invCountBodyVO.setCmaterialoid(inventoryCheckOrderDetl.getMatnr());
             invCountBodyVO.setVbatchcode(inventoryCheckOrderDetl.getBatch());
-            invCountBodyVO.setNcountastnum(inventoryCheckOrderDetl.getCheckAnfme());
+            invCountBodyVO.setNcountnum(inventoryCheckOrderDetl.getCheckAnfme());
+            invCountBodyVO.setNcountastnum(weight);
             invCountBodyVO.setCstateid(nccScPcdaWms.getPkStorestate());
             invCountBodyVO.setPk_batchcode(nccScPcdaWms.getPkBatchcode());
             invCountBodyVOList.add(invCountBodyVO);
@@ -476,7 +481,7 @@
             }
 
             whsTransBillBodyVO = new WhsTransBillBodyVO();
-            whsTransBillBodyVO.setCstateid(nccScPcdaWms.getPkBatchcode());
+            whsTransBillBodyVO.setCstateid(nccScPcdaWms.getPkStorestate());
 
             String remark = orderDetl.getRemark();
             //if (!Cools.isEmpty(remark)) {

--
Gitblit v1.9.1