| | |
| | | result.Message = "叫料位置为空!"; |
| | | return Ok(result); |
| | | } |
| | | if (string.IsNullOrWhiteSpace(pallmsg.Type)) |
| | | { |
| | | result.Message = "任务类型为空!"; |
| | | return Ok(result); |
| | | } |
| | | _rcsserver.GetPalletNo(pallmsg); |
| | | |
| | | |
| | | result.Success = 0; |
| | | result.Message = "叫桶成功!"; |
| | | return Ok(result); |
| | |
| | | var result = new ErpModel { Success = -1, Message = "" }; |
| | | try |
| | | { |
| | | if (string.IsNullOrWhiteSpace(pallmsg.Location)) |
| | | { |
| | | result.Message = "申请位置为空!"; |
| | | return Ok(result); |
| | | } |
| | | if (string.IsNullOrWhiteSpace(pallmsg.Type)) |
| | | { |
| | | result.Message = "任务类型为空!"; |
| | | return Ok(result); |
| | | } |
| | | if (string.IsNullOrWhiteSpace(pallmsg.Palletno)) |
| | | { |
| | | result.Message = "申请托盘号为空!"; |
| | | return Ok(result); |
| | | } |
| | | _rcsserver.ApplyLocatNo(pallmsg); |
| | | result.Success = 0; |
| | | result.Message = "申请储位成功!"; |
| | |
| | | throw new Exception("未获取到用户信息"); |
| | | }*/ |
| | | |
| | | SoResInfo result = _exNoticeSvc.ErpAddExportNotice(model); |
| | | SoResInfo result = _noticeSvc.CreateSoWork(model); |
| | | return Ok(result); |
| | | |
| | | } |