From 2f281db1e4272c8061cd424c3eb946abb1b0a640 Mon Sep 17 00:00:00 2001 From: wangxinhui <wangxinhui@hnkhzn.com> Date: 星期三, 30 七月 2025 15:07:09 +0800 Subject: [PATCH] 测试架货位优化,辅料优化等 --- 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/MesProductService.cs | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/MesProductService.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/MesProductService.cs" index d96efaa..bbee210 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/MesProductService.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/MesProductService.cs" @@ -74,6 +74,10 @@ } if (bagInfoModel.BatchNo.Substring(0, 3).ToUpper() == "CPK") { + if (warehouse.WarehouseCode==WarehouseEnum.HA73.ToString()) + { + return content.Error($"鐮斿彂浠撳睘鎬т笉鑳藉叆骞冲簱"); + } WebResponseContent inProRespone = InPKProStock(bagInfoModel, proDetailsExists, warehouse); if (!inProRespone.Status) { @@ -663,6 +667,7 @@ throw new Exception("鍚屾MES搴撳瓨鏉垮嚭搴撳け璐�,閿欒:" + responseContent.Message); } _unitOfWorkManage.CommitTran(); + PushTasksToWCS(tasks); } return content.OK($"鎻愪緵杩斿簱鍗曟帴鏀舵垚鍔�,ReceiveDown:{model.ReceiveDown}"); } -- Gitblit v1.9.3