From 047715a5e4f9895fe052f74a6d89a159a1d0c1b1 Mon Sep 17 00:00:00 2001 From: wxw <Administrator@DESKTOP-5BIMHQ3> Date: 星期四, 10 七月 2025 08:33:03 +0800 Subject: [PATCH] 编写接受sap下发出库单接口 --- Wms/WMS.BLL/BllPdaServer/PdaCrServer.cs | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Wms/WMS.BLL/BllPdaServer/PdaCrServer.cs b/Wms/WMS.BLL/BllPdaServer/PdaCrServer.cs index 600b343..7154975 100644 --- a/Wms/WMS.BLL/BllPdaServer/PdaCrServer.cs +++ b/Wms/WMS.BLL/BllPdaServer/PdaCrServer.cs @@ -1303,9 +1303,8 @@ SkuName = boxInfo.SkuName, LotNo = boxInfo.LotNo, BoxNoList = new List<string>() { boxNoNew } , - Date1 = boxInfo.ProductionTime.ToString(), - Date2 = boxInfo.ExpirationTime.ToString(), - + Date1 = boxInfo.ProductionTime == null ? "" : Convert.ToDateTime(boxInfo.ProductionTime).ToString("yyyy-MM-dd"), + Date2 = boxInfo.ExpirationTime == null ? "" : Convert.ToDateTime(boxInfo.ExpirationTime).ToString("yyyy-MM-dd"), }; #endregion -- Gitblit v1.8.0