|
|
@ -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 = "接收成功"; |
|
|
|