后道工单添加打印信息查看,补打标签,打印零头标签功能,配置文件更新
This commit is contained in:
@@ -250,5 +250,49 @@ namespace ZR.Admin.WebApi.Controllers
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 打印特殊包装标签
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpPost("PrintSpecialPacakgeLabel")]
|
||||
[AllowAnonymous]
|
||||
public IActionResult PrintSpecialPacakgeLabel([FromBody] QcBackEndWorkorderDetailDto parm, int specialPrintType,
|
||||
int packageNum)
|
||||
{
|
||||
try
|
||||
{
|
||||
var modal = parm.Adapt<QcBackEndWorkorderDetailDto>().ToCreate(HttpContext);
|
||||
|
||||
var response = _QcBackEndService.PrintSpecialPacakgeLabel(modal, specialPrintType, packageNum);
|
||||
|
||||
return SUCCESS(response);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return ToResponse(ApiResult.Error(ex.Message));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 工单标签信息查询
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpGet("SearchWorkOrderLabelDetail")]
|
||||
[AllowAnonymous]
|
||||
public IActionResult SearchWorkOrderLabelDetail(string workOrder)
|
||||
{
|
||||
try
|
||||
{
|
||||
var response = _QcBackEndService.SearchWorkOrderLabelDetail(workOrder);
|
||||
return SUCCESS(response);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return ToResponse(ApiResult.Error(ex.Message));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user