From dcacc1fbcb885a958d6a9715c360ebb4aeac0894 Mon Sep 17 00:00:00 2001
From: 肖洋 <cathay_xy@163.com>
Date: 星期二, 17 十二月 2024 19:40:59 +0800
Subject: [PATCH] 新增多个库页面:常温库、分容库、高温库,并更新导航栏以包含这些新页面

---
 Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Stock/StockInfoService.cs |   16 +++++++++++++++-
 1 files changed, 15 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 75eae45..3b40242 100644
--- a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Stock/StockInfoService.cs
+++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Stock/StockInfoService.cs
@@ -1,8 +1,22 @@
-锘縩amespace WIDESEA_StorageBasicService;
+锘�
+namespace WIDESEA_StorageBasicService;
 
 public class StockInfoService : ServiceBase<DtStockInfo, IStockInfoRepository>, IStockInfoService
 {
     public StockInfoService(IStockInfoRepository BaseDal) : base(BaseDal)
     {
     }
+
+    public override PageGridData<DtStockInfo> GetPageData(PageDataOptions options)
+    {
+        var data = base.GetPageData(options);
+        foreach (var item in data.Rows)
+        {
+            if (item.IsFull)
+                item.Remark = item.StockInfoDetails.Count().ToString();
+            else
+                item.Remark = "0";
+        }
+        return data;
+    }
 }
\ No newline at end of file

--
Gitblit v1.9.3