入库检验

This commit is contained in:
qianhao.xu
2024-04-17 18:48:33 +08:00
parent eb85c457fd
commit 8581530276
17 changed files with 350 additions and 4 deletions

View File

@@ -223,7 +223,6 @@ namespace ZR.Service.mes.wms
List<WmMaterial> materialList = Context.Queryable<WmMaterial>()
.Where(predicate.ToExpression())
.OrderByDescending(it => it.CreatedTime)
.ToPageList(parm.PageNum, parm.PageSize, ref total);
@@ -251,11 +250,11 @@ namespace ZR.Service.mes.wms
material_num = material_num + (int)product.GoodsNumLogic;
}
}
if (material_num > 0)
{
wmMaterialQuery_Stock_item.stockQuantity = material_num;
material_stockQuantity_list.Add(wmMaterialQuery_Stock_item);
}