抛光仓库相关功能,未完成(但已部署)

This commit is contained in:
2024-08-05 10:19:26 +08:00
parent 512231d555
commit 73fce84068
15 changed files with 870 additions and 15 deletions

View File

@@ -66,7 +66,7 @@ namespace ZR.Service.mes.wms
.First();
if (material == null)
{
item.Description = "此毛坯号不在物料清单内!";
item.Description = "此零件号不在物料清单内!";
continue;
}
item.Color = material.Color;
@@ -209,7 +209,7 @@ namespace ZR.Service.mes.wms
Context.Ado.BeginTran();
// 零件号检查
string partnumber = parm.Partnumber;
WmMaterial material = Context
/*WmMaterial material = Context
.Queryable<WmMaterial>()
.Where(it => it.Partnumber == partnumber)
.Where(it => it.Type == 1)
@@ -219,7 +219,7 @@ namespace ZR.Service.mes.wms
{
Context.Ado.RollbackTran();
throw new Exception("零件号在物料清单未查到,请到物料清单新增零件号记录");
}
}*/
// 检查是否存在库中
WmPolishInventory polishInventory = Context
.Queryable<WmPolishInventory>()
@@ -313,7 +313,7 @@ namespace ZR.Service.mes.wms
Context.Ado.BeginTran();
// 零件号检查
string partnumber = parm.Partnumber;
WmMaterial material = Context
/*WmMaterial material = Context
.Queryable<WmMaterial>()
.Where(it => it.Partnumber == partnumber)
.Where(it => it.Type == 1)
@@ -323,7 +323,7 @@ namespace ZR.Service.mes.wms
{
Context.Ado.RollbackTran();
throw new Exception("零件号在物料清单未查到,请到物料清单新增零件号记录");
}
}*/
// 检查是否存在库中
WmPolishInventory polishInventory = Context
.Queryable<WmPolishInventory>()