From 13f1ec07c99f3567df8d864abc656f818820f922 Mon Sep 17 00:00:00 2001 From: yinq Date: Mon, 26 May 2025 17:29:27 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20ERP=E5=85=B6=E4=BB=96=E5=87=BA?= =?UTF-8?q?=E5=BA=93=E5=8D=95=E6=8E=A5=E5=8F=A3=E5=8A=A0=E4=BB=93=E4=BD=8D?= =?UTF-8?q?=E7=BB=B4=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/hw/jindie/service/impl/KingdeeErpService.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/hw-modules/hw-jindie/src/main/java/com/hw/jindie/service/impl/KingdeeErpService.java b/hw-modules/hw-jindie/src/main/java/com/hw/jindie/service/impl/KingdeeErpService.java index 03e79d2b..39c96914 100644 --- a/hw-modules/hw-jindie/src/main/java/com/hw/jindie/service/impl/KingdeeErpService.java +++ b/hw-modules/hw-jindie/src/main/java/com/hw/jindie/service/impl/KingdeeErpService.java @@ -497,6 +497,11 @@ public class KingdeeErpService { JSONObject FAuxPropIdObject = new JSONObject(); FAuxPropIdObject.put("FAUXPROPID__FF100001", FAuxPropId); FEntity.put("FAuxPropId", FAuxPropIdObject); //辅助属性 + JSONObject FNumberObject = new JSONObject(); + FNumberObject.put("FNumber", "001"); + JSONObject FStockLocIdObject = new JSONObject(); + FStockLocIdObject.put("FSTOCKLOCID__FF100002", FNumberObject); + FEntity.put("FStockLocId", FStockLocIdObject);//仓位维度 ArrayList entityList = new ArrayList<>(); entityList.add(FEntity); @@ -512,7 +517,7 @@ public class KingdeeErpService { model.put("FOwnerIdHead", KingdeeConfig.getFApplicationOrgId()); //货主(必填项) JSONObject FDeptIdObject = new JSONObject(); - FDeptIdObject.put("FNumber", "BM000001"); + FDeptIdObject.put("FNumber", "JY000042"); model.put("FDeptId", FDeptIdObject); //部门 model.put("F_TOND_Combo", FTONDCombo); //领料类型(必填项) data.put("Model", model);