From 9f272d8eb98442199e590d962303bf0fd481505e Mon Sep 17 00:00:00 2001
From: wxw <Administrator@DESKTOP-5BIMHQ3>
Date: 星期四, 18 十二月 2025 15:39:21 +0800
Subject: [PATCH] 修改PDA成品拣货已扫数量不清零问题
---
Wms/WMS.BLL/BllPdaServer/PdaSoServer.cs | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/Wms/WMS.BLL/BllPdaServer/PdaSoServer.cs b/Wms/WMS.BLL/BllPdaServer/PdaSoServer.cs
index aff1f7b..351a2c9 100644
--- a/Wms/WMS.BLL/BllPdaServer/PdaSoServer.cs
+++ b/Wms/WMS.BLL/BllPdaServer/PdaSoServer.cs
@@ -1568,7 +1568,7 @@
string skuNo = boxInfos.First().SkuNo;
string skuName = boxInfos.First().SkuName;
- // 楠岃瘉鏄惁杞﹂棿绾胯竟浠撳簱
+ //楠岃瘉鏄惁杞﹂棿绾胯竟浠撳簱
string areaNoSql = $@"select AreaNo from SysStorageArea where IsDel='0' and AreaType='1'";
DataTable areaNoDt = Db.Ado.GetDataTable(areaNoSql);
List<string> areaNoList = areaNoDt.Rows.Cast<DataRow>().Select(e => e["AreaNo"] + "").ToList();
@@ -1729,9 +1729,12 @@
throw Oops.Bah("鏈煡璇㈠埌璇ユ墭鐩樹笂璐х墿鐨勫簱瀛樻槑缁嗕俊鎭紒");
}
- // 楠岃瘉鏄惁杞﹂棿绾胯竟浠撳簱
- var areaList = new List<string>() { "B06", "B07", "B09", "B24", "B29" };
- if (!areaList.Contains(stockDetail.AreaNo))
+ //楠岃瘉鏄惁杞﹂棿绾胯竟浠撳簱
+ string areaNoSql = $@"select AreaNo from SysStorageArea where IsDel='0' and AreaType='1'";
+ DataTable areaNoDt = Db.Ado.GetDataTable(areaNoSql);
+ List<string> areaNoList = areaNoDt.Rows.Cast<DataRow>().Select(e => e["AreaNo"] + "").ToList();
+
+ if (!areaNoList.Contains(stockDetail.AreaNo))
{
throw Oops.Bah("鎵樼洏涓嶆槸杞﹂棿鎵樼洏锛�");
}
--
Gitblit v1.8.0