diff --git a/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSubmitService.cs b/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSubmitService.cs index c124697..ceaa4ce 100644 --- a/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSubmitService.cs +++ b/ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSubmitService.cs @@ -2870,16 +2870,16 @@ namespace ICSSoft.DataProject #region 领料申请单发料 else if (TransType == TransTypeEnum.MOApply.GetDescription()) { - //BusinessCode = TransTypeEnum.MOApply.GetDescription(); - ////更新源头单据数量 - //ICSManufactureService.MOApply(item.TransCode, item.TransSequence, item.Quantity, item.WorkPoint, cmd, language); + BusinessCode = TransTypeEnum.MOApply.GetDescription(); + //更新源头单据数量 + ICSManufactureService.MOApply(item.TransCode, item.TransSequence, item.Quantity, item.WorkPoint, cmd, language); - //foreach (var itemInfo in item.detail) - //{ - // //出库 - // printTable = ICSWareHouseLotInfoService.WareHouseLotInfoDown(Identification, item.TransCode, item.TransSequence, itemInfo.LotNo, itemInfo.CurrentQuantity, - // item.User, item.WorkPoint, "3", TransTypeEnum.MOApply.GetDescription(), cmd, language, MergeID); - //} + foreach (var itemInfo in item.detail) + { + //出库 + printTable = ICSWareHouseLotInfoService.WareHouseLotInfoDown(Identification, item.TransCode, item.TransSequence, itemInfo.LotNo, itemInfo.CurrentQuantity, + item.User, item.WorkPoint, "3", TransTypeEnum.MOApply.GetDescription(), cmd, language, MergeID); + } } #endregion #region 委外领料申请单发料