| | |
| | | } |
| | | } |
| | | stockInfo.LocationCode = task.TargetAddress; |
| | | stockInfo.StockStatus = StockStatusEmun.鍏ュ簱纭.ObjToInt(); |
| | | stockInfo.StockStatus = StockStatusEmun.鍏ュ簱瀹屾垚.ObjToInt(); |
| | | stockInfo.Details.ForEach(x => |
| | | { |
| | | x.Status = StockStatusEmun.鍏ュ簱纭.ObjToInt(); |
| | |
| | | allocatefeedmodel.Details = groupedData; |
| | | |
| | | var response = responseModel(inboundOrder, 3, null, allocatefeedmodel); |
| | | if (response != null && response.IsSuccess) |
| | | if (response != null && response.IsSuccess && response.Data.Code =="200") |
| | | { |
| | | var detailStatusList = _inboundOrderDetailService.Db.Queryable<Dt_InboundOrderDetail>() |
| | | .Where(it => it.OrderId == inboundOrder.Id) |
| | |
| | | |
| | | var response= responseModel(inboundOrder,2, feedmodel); |
| | | |
| | | if (response != null && response.IsSuccess) |
| | | if (response != null && response.IsSuccess && response.Data.Code == "200") |
| | | { |
| | | var detailStatusList = _inboundOrderDetailService.Db.Queryable<Dt_InboundOrderDetail>() |
| | | .Where(it => it.OrderId == inboundOrder.Id) |
| | |
| | | /// <summary> |
| | | /// 鐩樼偣鍑哄簱瀹屾垚 |
| | | /// </summary> |
| | | public WebResponseContent OutInventoryTaskCompleted(Dt_Task task) |
| | | public async Task<WebResponseContent> OutInventoryTaskCompleted(Dt_Task task) |
| | | { |
| | | WebResponseContent content = new WebResponseContent(); |
| | | try |
| | |
| | | catch (Exception ex) |
| | | { |
| | | _unitOfWorkManage.RollbackTran(); |
| | | content.Error(ex.Message); |
| | | return await Task.FromResult(WebResponseContent.Instance.Error(ex.Message)); |
| | | } |
| | | return content; |
| | | } |