111
This commit is contained in:
@@ -212,11 +212,20 @@ namespace ZR.Admin.WebApi.Controllers
|
||||
/// <param name="shipment_num">出库单号</param>
|
||||
/// <returns></returns>
|
||||
[HttpGet("checkProductionOut")]
|
||||
public IActionResult checkProductionOut(string production_packcode = "", string shipment_num = "")
|
||||
public IActionResult CheckProductionOut(string production_packcode = "", string shipment_num = "")
|
||||
{
|
||||
string msg = "可出库";
|
||||
if(shipment_num == ""|| production_packcode=="") {
|
||||
return SUCCESS(null);
|
||||
|
||||
return ToResponse(new ApiResult(200, msg, true));
|
||||
}
|
||||
bool status=_WmOutOrderService.CheckProductionOut(production_packcode, shipment_num);
|
||||
if(!status)
|
||||
{
|
||||
msg = "箱子,不在出库单内,不得出库";
|
||||
}
|
||||
|
||||
return ToResponse(new ApiResult(200, msg, status));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user