先进先出
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));
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
"DbName": "ZrAdmin" //代码生成默认连接数据库
|
||||
},
|
||||
|
||||
"corsUrls": [ "http://localhost:8887", "http://localhost:8886" ], //跨域地址(前端启动项目,前后端分离单独部署需要设置),多个用","隔开
|
||||
"corsUrls": [ "http://localhost:8887", "http://localhost:8886", "http://127.0.0.1:8081" ], //跨域地址(前端启动项目,前后端分离单独部署需要设置),多个用","隔开
|
||||
"JwtSettings": {
|
||||
"Issuer": "ZRAdmin.NET", //即token的签发者。
|
||||
"Audience": "ZRAdmin.NET", //指该token是服务于哪个群体的(群体范围)
|
||||
|
||||
Reference in New Issue
Block a user