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);