Browse Source

提交 Depot_Transfer_WIP Depot_Issue_WIP

dev_DY_CC
刘云峰 11 months ago
parent
commit
a73d685aac
  1. 13
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/GaoTongs/GaoTongAppService.cs

13
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/GaoTongs/GaoTongAppService.cs

@ -244,6 +244,19 @@ public class GaoTongAppService : ApplicationService, IGaoTongAppService
detailObj.ToStatus = EnumInventoryStatus.OK;
detailObj.OnTheWayLocationCode = String.Empty;
detailObj.Reason = "";
//from 库位类型半成品、成品 to 库位类型为线边仓,transferNoteEditInput.Type 赋值Depot_Issue_WIP
if ((fromLocationObj.Type == EnumLocationType.SEMI || fromLocationObj.Type == EnumLocationType.FG)
&& (toLocationObj.Type == EnumLocationType.WIP || toLocationObj.Type == EnumLocationType.KittingWip))
{
transferNoteEditInput.Type = EnumTransSubType.Depot_Issue_WIP.ToString();
}
else
{
//from 库位类型为线边仓 to 库位类型为线边仓,transferNoteEditInput.Type 赋值Depot_Transfer_WIP
//其它条件
transferNoteEditInput.Type = EnumTransSubType.Depot_Transfer_WIP.ToString();
}
var temp = await _transferNoteAppService.CreateAsync(transferNoteEditInput).ConfigureAwait(false);
ret.Code = GaoTongResultStatus.Success;
ret.Message = "接收成功";

Loading…
Cancel
Save