| | |
| | | return Ok(new { code = 1, msg = "未获取到当前操作人信息" }); |
| | | } |
| | | //验证出库口 |
| | | //if (string.IsNullOrWhiteSpace(outMode)) |
| | | //{ |
| | | // return Ok(new { code = 1, msg = "请选择出库口" }); |
| | | //} |
| | | if (string.IsNullOrWhiteSpace(outMode)) |
| | | { |
| | | return Ok(new { code = 1, msg = "请选择出库口" }); |
| | | } |
| | | string str = string.Empty; |
| | | var list = new List<OutCommandDto>(); |
| | | if (outMode == "17" || outMode == "18") |
| | | { |
| | | list = _exNoticeSvc.IssuePalletNoOutMk(palletNo, outMode, int.Parse(userId), _config.WcsHost + _config.IssueComApiUrl, out str); |
| | | } |
| | | else |
| | | { |
| | | list = _exNoticeSvc.IssuePalletNoOut(palletNo, outMode, int.Parse(userId), _config.WcsHost + _config.IssueComApiUrl, out str); |
| | | } |
| | | |
| | | var list = _exNoticeSvc.IssuePalletNoOut(palletNo, outMode, int.Parse(userId), _config.WcsHost + _config.IssueComApiUrl, out string str); |
| | | |
| | | return Ok(new { code = 0, msg = str, data = list }); |
| | | |