From 0de684b2cd131f9801ca96abdb9028f7e30cd31b Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 22 十月 2025 08:46:10 +0800
Subject: [PATCH] 启用日期提交之后也要默认
---
CY_ECommercePlatform/CY.WebForm/Pages/Property/ShebeimanageEdit.aspx.cs | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/Property/ShebeimanageEdit.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/Property/ShebeimanageEdit.aspx.cs
index e905a6b..c7d18e6 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/Property/ShebeimanageEdit.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/Property/ShebeimanageEdit.aspx.cs
@@ -68,6 +68,10 @@
this.txtQiyongTime.Value = m_OA_ShebeiManage.QiyongTime.HasValue? m_OA_ShebeiManage.QiyongTime.Value.ToString("yyyy-MM-dd"):"";
this.selZerenren.Value = m_OA_ShebeiManage.Zerenren.HasValue? m_OA_ShebeiManage.Zerenren.ToString():"";
}
+ else
+ {
+ this.txtQiyongTime.Value = DateTime.Now.ToString("yyyy-MM-dd");
+ }
}
//琛ㄥ崟鎻愪氦
@@ -136,7 +140,7 @@
this.txtPrice.Value="";
this.selAnzhuangdidian.Value = "";
- this.txtQiyongTime.Value = "";
+ this.txtQiyongTime.Value = DateTime.Now.ToString("yyyy-MM-dd");
JavaScript.MessageBox("鏂板鎴愬姛", this, false, true);
}
--
Gitblit v1.9.1