From e579c8d3ab3accb26258f0c615101e3d86093730 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期三, 29 十月 2025 01:08:03 +0800
Subject: [PATCH] 添加库存临期提醒,优化前端弹窗提醒

---
 新建文件夹/WIDESEA_WMSServer/WIDESEA_SquareCabinServices/InventoryServices.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_SquareCabinServices/InventoryServices.cs" "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_SquareCabinServices/InventoryServices.cs"
index 7130732..aeee6d5 100644
--- "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_SquareCabinServices/InventoryServices.cs"
+++ "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_SquareCabinServices/InventoryServices.cs"
@@ -260,7 +260,7 @@
                                             ERPStockQuantity = 0,
                                             Status = false,
                                             ProductionDate = detail.finishDate.ToString("yyyy-MM-dd"),
-                                            ValidityPeriod = inventoryInfo.ValidityPeriod,
+                                            ValidityPeriod = inventoryInfo.ValidityPeriod.ObjToDate(),
                                             Remark = "鑷姩鍒涘缓"
                                         };
                                         BaseDal.Db.Insertable(inventory_Batch).ExecuteCommand();

--
Gitblit v1.9.3