先进先出
This commit is contained in:
@@ -177,6 +177,7 @@ namespace ZR.Admin.WebApi.Controllers
|
||||
[HttpGet("persistenceOutorderplan")]
|
||||
public IActionResult PersistenceOutorderplan(string shipment_num)
|
||||
{
|
||||
|
||||
if (shipment_num == null)
|
||||
{
|
||||
return SUCCESS(null);
|
||||
@@ -232,10 +233,13 @@ 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 parnumber,string production_packcode = "", string shipment_num = "")
|
||||
{
|
||||
if(string.IsNullOrEmpty(parnumber)) {
|
||||
return ToResponse(new ApiResult(200, "请选择物料号", false));
|
||||
}
|
||||
string msg = "";
|
||||
msg = _WmOutOrderService.CheckProductionOut(production_packcode, shipment_num);
|
||||
msg = _WmOutOrderService.CheckProductionOut(parnumber,production_packcode, shipment_num);
|
||||
if(msg !="ok")
|
||||
{
|
||||
return ToResponse(new ApiResult(200, msg, false));
|
||||
|
||||
Reference in New Issue
Block a user