仓库-出库判定修改,注释行恢复

This commit is contained in:
2024-04-24 16:44:01 +08:00
parent d5108a3884
commit d86921a083
2 changed files with 7 additions and 8 deletions

View File

@@ -26,7 +26,6 @@ namespace ZR.Service.Business
public WmGoodsChangeLog doConsolidationGoods(WmGoodsConsolidationDto parm)
{
List<ResultionPackageCodeDto> list = parm.PackageList;
string description = "";
// 拼箱计数器
int num = 0;

View File

@@ -589,15 +589,15 @@ namespace ZR.Service.mes.wms
return "此箱子不在选择的物料号";
}
// 3.判断是否已入库
//bool isExistedWarehouse = Context.Queryable<WmGoodsNowProduction>().Where(it => it.PackageCodeClient == resultionPackage.PatchCode).Any();
//if (!isExistedWarehouse)
//{
// return "该箱号未入库!请先入库";
//}
// 3.1判断是否已入库
bool isExistedWarehouse = Context.Queryable<WmGoodsNowProduction>().Where(it => it.PackageCodeClient == resultionPackage.PatchCode).Any();
if (!isExistedWarehouse)
{
return "该箱号未入库!请先入库";
}
// 4.获取出库单号对应的出库计划
List<WmOutOrderPlan> orderPlans = Generate_outorderplan(shipment_num);
// List<WmOutOrderPlan> orderPlans = Generate_outorderplan(shipment_num);
// 5.配对是否符合出库条件
//foreach (var orderPlan in orderPlans)
//{