入库检验
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user