From 4daa7f6a133d7c52fa94b22fb1a1767a136b3c5c Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期四, 16 四月 2026 09:23:47 +0800
Subject: [PATCH] 员工出生日期可修改

---
 CY_ECommercePlatform/CY.WebForm/Pages/work/BaoxiaoReplyAdd.aspx.cs |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/work/BaoxiaoReplyAdd.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/work/BaoxiaoReplyAdd.aspx.cs
index 2f3ebaa..835f06c 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/work/BaoxiaoReplyAdd.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/work/BaoxiaoReplyAdd.aspx.cs
@@ -33,6 +33,7 @@
         OA_DepartmentBll oA_DepartmentBll = null;
         public string planDataType = "";
         OA_SubjectSetBLL _OA_SubjectSetBLL = null;
+        OA_ShebeiWeixiuBLL oA_ShebeiWeixiuBLL = null;
         public BaoxiaoReplyAdd()
         {
             oA_WorkReminderBll = new OA_WorkPlanBll();
@@ -45,6 +46,7 @@
             oA_StaffBLL = new OA_StaffBLL();
             oA_DepartmentBll = new OA_DepartmentBll();
             _OA_SubjectSetBLL = new OA_SubjectSetBLL();
+            oA_ShebeiWeixiuBLL = new OA_ShebeiWeixiuBLL();
         }
 
         //椤甸潰鍔犺浇
@@ -126,6 +128,12 @@
                     if (!oA_Staff.BF_IsBaoxiaozhuguan && !oA_Staff.BF_Isbaoxiaojingli)
                     {
                         JavaScript.MessageBox("浣犳病鏈夊鎵规潈闄�", this);
+                        return;
+                    }
+
+                    if (this.txtApprovalContent.Value.Trim().Length>250)
+                    {
+                        JavaScript.MessageBox("瀹℃壒鍥炲杩囬暱锛屾渶澶�250涓瓧", this);
                         return;
                     }
                     OA_WorkPlan m_OA_WorkPlan = oA_WorkReminderBll.GetModelByKeyid(Request["keyid"].ToInt32());
@@ -238,6 +246,15 @@
                         m_OA_WorkPlan.Operator = CurrentUser.ShortName;
                         m_OA_WorkPlan.LastUpdateTime = nowTime;
                         res = oA_WorkReminderBll.UpdateModel(m_OA_WorkPlan);
+
+                        var oA_ShebeiWeixiu = oA_ShebeiWeixiuBLL.GetModelBytiaojian(null, m_OA_WorkPlan.Keyid, null);
+                        if (oA_ShebeiWeixiu != null)
+                        {
+                            //oA_ShebeiWeixiu.Zerenren = this.selZerenren.Value.ToInt32();
+                            oA_ShebeiWeixiu.ApprovalStatus = this.selApprovalStatus.Value.ToInt32();
+                            //oA_ShebeiWeixiu.DanzePrice = this.txtDanzePrice.Value.ToDecimal2();
+                            oA_ShebeiWeixiuBLL.UpdateModel(oA_ShebeiWeixiu);
+                        }
                     }
                     else
                     {

--
Gitblit v1.9.1