From a67ef53c207e9aef0ad2be6d2310f8388d1d2830 Mon Sep 17 00:00:00 2001
From: admin <qiutairan163@163.com>
Date: 星期一, 10 十一月 2025 13:21:10 +0800
Subject: [PATCH] 测试AddExportNotice的出库数量Qty<0校验
---
Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs b/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs
index 5210a92..de7852a 100644
--- a/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs
+++ b/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs
@@ -1231,7 +1231,7 @@
//娣诲姞鍑哄簱鍗�
foreach (var d in model.Detail)
{
- if (d.Qty < 0)
+ if (d.Qty < 0M)
{
throw new Exception("鍑哄簱鏁伴噺蹇呴』澶т簬0");
}
--
Gitblit v1.8.0