From 5af3a0cbd911adbdc2dd98e08008c4fbd50530d9 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期四, 18 十二月 2025 12:19:17 +0800
Subject: [PATCH] 送货情况只查已送的  完成 以送货完成的时间为准来查询。   完成

---
 CY_ECommercePlatform/CY.WebForm/Pages/business/AgSealPrint.aspx.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/AgSealPrint.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/business/AgSealPrint.aspx.cs
index a95f482..e869efe 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/AgSealPrint.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/AgSealPrint.aspx.cs
@@ -63,7 +63,7 @@
 
 
             int.TryParse(_eC_OrderBasic.OrderExtend.BagNum, out iBagNum);
-            string sdate = _eC_OrderBasic.DeliveryTime.Value.ToString("yyyy-MM-dd");
+            string sdate = _eC_OrderBasic.DeliveryTime.HasValue? _eC_OrderBasic.DeliveryTime.Value.ToString("yyyy-MM-dd"):"";
             OA_CorporateClients oA_CorporateClients = null;
             OA_CustomerCommunications oA_CustomerCommunications = null;
             oA_CorporateClients = bll_OA_CorporateClientsBLL.SelectModelByFirmIdandMemberId(CurrentUser.MemberId, _eC_OrderBasic.BuyerId);

--
Gitblit v1.9.1