diff --git a/api-admin/src/main/java/com/glxp/api/admin/controller/inout/OrderController.java b/api-admin/src/main/java/com/glxp/api/admin/controller/inout/OrderController.java index 75e4df13..64082628 100644 --- a/api-admin/src/main/java/com/glxp/api/admin/controller/inout/OrderController.java +++ b/api-admin/src/main/java/com/glxp/api/admin/controller/inout/OrderController.java @@ -401,7 +401,7 @@ public class OrderController { //修改往来单位及当前库存号 supplementOrder.setFromCorpId(orderEntity.getLocStorageCode()); supplementOrder.setLocStorageCode(entrustReceEntity.getEntrustInv()); - supplementOrder.setInvWarehouseCode(entrustReceEntity.getInvWarehouseCode()); + supplementOrder.setInvWarehouseCode(entrustReceEntity.getEntrustSubInv()); String name = invWarehouseDao.getNameByCode(supplementOrder.getFromCorpId()); supplementOrder.setFromCorp(name); supplementOrder.setFromType(ConstantStatus.FROM_PEACE_CHANGE);