仓库-出库判定修改,注释行恢复
This commit is contained in:
@@ -26,7 +26,6 @@ namespace ZR.Service.Business
|
||||
public WmGoodsChangeLog doConsolidationGoods(WmGoodsConsolidationDto parm)
|
||||
{
|
||||
List<ResultionPackageCodeDto> list = parm.PackageList;
|
||||
|
||||
string description = "";
|
||||
// 拼箱计数器
|
||||
int num = 0;
|
||||
|
||||
@@ -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)
|
||||
//{
|
||||
|
||||
Reference in New Issue
Block a user