| | |
| | | dt_StockInfo.StockStatus = dtOutWit != null? (int)StockStatusEmun.åºåºä¸:(int)StockStatusEmun.å·²å
¥åº; |
| | | task.TaskStatus = (int)RelocationTaskStatusEnum.RelocationFinish; |
| | | |
| | | dtOutWit.TaskStatus = (int)OutTaskStatusEnum.OutNew; |
| | | dtOutWit.SourceAddress = NewLocation.LocationCode; |
| | | dtOutWit.CurrentAddress = NewLocation.LocationCode; |
| | | if(dtOutWit != null) |
| | | { |
| | | dtOutWit.TaskStatus = (int)OutTaskStatusEnum.OutNew; |
| | | dtOutWit.SourceAddress = NewLocation.LocationCode; |
| | | dtOutWit.CurrentAddress = NewLocation.LocationCode; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | |
| | | dt_Locations.Add(NewLocation); |
| | | |
| | | _unitOfWorkManage.BeginTran(); |
| | | BaseDal.UpdateData(dtOutWit); |
| | | if(dtOutWit!=null) BaseDal.UpdateData(dtOutWit); |
| | | |
| | | _locationInfoService.UpdateData(dt_Locations); |
| | | _stockInfoService.UpdateData(dt_StockInfo); |
| | | BaseDal.DeleteAndMoveIntoHty(task, App.User.UserId == 0 ? OperateTypeEnum.èªå¨å®æ : OperateTypeEnum.äººå·¥å®æ); |