| | |
| | | var bolls = _locatSvc.EditStorageLocatList(model, _config.WcsHost + _config.EditLocateUrl, 1);//int.Parse(userId) |
| | | if (bolls) |
| | | { |
| | | SysStorageLocat storage = _locatSvc.GetStorageLocat(model.Id[0]); |
| | | string msg = "储位状态 储位号:" + storage.RoadwayNo; |
| | | SysStorageLocat storage; |
| | | //string msg = "储位状态 储位号:" + storage.RoadwayNo; |
| | | if (model.Id.Count > 1) |
| | | { |
| | | var list = _locatSvc.GetStorageLocat(); |
| | | foreach (var item in model.Id) |
| | | { |
| | | storage = _locatSvc.GetStorageLocat(item); |
| | | _operation.InsertOperation("仓库设置", "储位管理", storage.LocatNo, "批量编辑", "批量修改储位信息 储位号:" + storage.LocatNo, Convert.ToInt32(userId)); |
| | | storage = list.FirstOrDefault(m=>m.Id == item); |
| | | if (storage != null) |
| | | { |
| | | _operation.InsertOperation("仓库设置", "储位管理", storage.LocatNo, "批量编辑", "批量修改储位信息 储位号:" + storage.LocatNo, Convert.ToInt32(userId)); |
| | | } |
| | | } |
| | | } |
| | | else |
| | | { |
| | | storage = _locatSvc.GetStorageLocat(model.Id[0]); |
| | | _operation.InsertOperation("仓库设置", "储位管理", storage.LocatNo, "修改", "修改储位信息 储位号:" + storage.LocatNo, Convert.ToInt32(userId)); |
| | | } |
| | | |