Wms/Wms/Controllers/BllSoController.cs
@@ -697,8 +697,19 @@
                {
                    return Ok(new { code = 1, msg = "未获取到当前操作人信息" });
                }
                _exNoticeSvc.ExportSuccess(taskNo, int.Parse(userId));
                var type = _taskSvc.GetTaskType(taskNo);
                if (type == "1")//出库完成
                {
                    _exNoticeSvc.ExportSuccess(taskNo, int.Parse(userId));
                }
                else if (type == "2")//出库时产生的移库任务完成
                {
                    _exNoticeSvc.RelocationSuccess(taskNo, int.Parse(userId));
                }
                else
                {
                    return Ok(new { code = 1, msg = "任务类型错误,请核实!" });
                }
                return Ok(new { code = 0, msg = "成功完成任务", data = "" });