|
@ -2870,16 +2870,16 @@ namespace ICSSoft.DataProject |
|
|
#region 领料申请单发料
|
|
|
#region 领料申请单发料
|
|
|
else if (TransType == TransTypeEnum.MOApply.GetDescription()) |
|
|
else if (TransType == TransTypeEnum.MOApply.GetDescription()) |
|
|
{ |
|
|
{ |
|
|
//BusinessCode = TransTypeEnum.MOApply.GetDescription<DBValue>();
|
|
|
|
|
|
////更新源头单据数量
|
|
|
|
|
|
//ICSManufactureService.MOApply(item.TransCode, item.TransSequence, item.Quantity, item.WorkPoint, cmd, language);
|
|
|
|
|
|
|
|
|
BusinessCode = TransTypeEnum.MOApply.GetDescription<DBValue>(); |
|
|
|
|
|
//更新源头单据数量
|
|
|
|
|
|
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<DBValue>(), 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<DBValue>(), cmd, language, MergeID); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
#endregion
|
|
|
#endregion
|
|
|
#region 委外领料申请单发料
|
|
|
#region 委外领料申请单发料
|
|
|