111
This commit is contained in:
@@ -203,7 +203,7 @@ namespace ZR.Admin.WebApi.Controllers
|
||||
return SUCCESS(null);
|
||||
}
|
||||
|
||||
(int, int) data = _WmOutOrderService.DoMaterialOut(doMaterialOut, HttpContext.GetName());
|
||||
(int, int) data = _WmOutOrderService.DoMaterialOut(doMaterialOut, "HttpContext.GetName()");
|
||||
|
||||
return SUCCESS(data);
|
||||
}
|
||||
@@ -233,13 +233,13 @@ namespace ZR.Admin.WebApi.Controllers
|
||||
/// <param name="shipment_num">出库单号</param>
|
||||
/// <returns></returns>
|
||||
[HttpGet("checkProductionOut")]
|
||||
public IActionResult CheckProductionOut( string parnumber,string production_packcode = "", string shipment_num = "")
|
||||
public IActionResult CheckProductionOut( string partnumber,string production_packcode = "", string shipment_num = "")
|
||||
{
|
||||
if(string.IsNullOrEmpty(parnumber)) {
|
||||
if(string.IsNullOrEmpty(partnumber)) {
|
||||
return ToResponse(new ApiResult(200, "请选择物料号", false));
|
||||
}
|
||||
string msg = "";
|
||||
msg = _WmOutOrderService.CheckProductionOut(parnumber,production_packcode, shipment_num);
|
||||
msg = _WmOutOrderService.CheckProductionOut(partnumber, production_packcode, shipment_num);
|
||||
if(msg !="ok")
|
||||
{
|
||||
return ToResponse(new ApiResult(200, msg, false));
|
||||
@@ -247,9 +247,7 @@ namespace ZR.Admin.WebApi.Controllers
|
||||
else
|
||||
{
|
||||
return ToResponse(new ApiResult(200, msg, true));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user