From 059bf8e585da1156c3bb136367b12f478c1a4403 Mon Sep 17 00:00:00 2001
From: 肖洋 <cathay_xy@163.com>
Date: 星期六, 21 十二月 2024 09:54:02 +0800
Subject: [PATCH] 添加WIDESEAWCS_Server和WIDESEA_WMSServer的appsettings.json配置文件,包含日志级别、数据库连接字符串和跨域设置

---
 Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Stock/StockInfoService.cs |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Stock/StockInfoService.cs b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Stock/StockInfoService.cs
index 7bd4021..3b40242 100644
--- a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Stock/StockInfoService.cs
+++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Stock/StockInfoService.cs
@@ -12,7 +12,10 @@
         var data = base.GetPageData(options);
         foreach (var item in data.Rows)
         {
-            item.Remark = item.StockInfoDetails.Count().ToString();
+            if (item.IsFull)
+                item.Remark = item.StockInfoDetails.Count().ToString();
+            else
+                item.Remark = "0";
         }
         return data;
     }

--
Gitblit v1.9.3