From 40eacc41d6f70f64ffd8f1fd18a8e12bce3fd86d Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期四, 16 十月 2025 12:10:34 +0800
Subject: [PATCH] 没有批准的就不显示在列表中

---
 CY_ECommercePlatform/CY.WebForm/Pages/Property/ShebeiWeixiuAdd.aspx.cs |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/Property/ShebeiWeixiuAdd.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/Property/ShebeiWeixiuAdd.aspx.cs
index 6b76c26..e9f2262 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/Property/ShebeiWeixiuAdd.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/Property/ShebeiWeixiuAdd.aspx.cs
@@ -186,11 +186,13 @@
                     oA_ShebeiWeixiu.ShebeiId = this.selShebei.Value.ToInt32();
                     oA_ShebeiWeixiu.WeixiuTime = this.txtWeixiuTime.Value.ToDateTime2();
                     var shebeiManage = oA_ShebeiManageBLL.GetModelByKeyid(oA_ShebeiWeixiu.ShebeiId);
+                    var ShebeiZerenrenName = "";
                     if (shebeiManage != null)
                     {
                         oA_ShebeiWeixiu.CateId = shebeiManage.CateId;
                         oA_ShebeiWeixiu.Anzhuangdidian = shebeiManage.Anzhuangdidian;
                         oA_ShebeiWeixiu.Name = shebeiManage.Name;
+                        ShebeiZerenrenName = shebeiManage.ZerenrenName;
                     }
                     oA_ShebeiWeixiu.Remark = this.txtPlanRemark.Value;
                     oA_ShebeiWeixiu.WeixiuPrice = this.txtWeixiuPrice.Value.ToDecimal2();
@@ -246,7 +248,7 @@
                         //    _SupplierName = oA_Suppliers.Name;
                         //}
 
-                        var _SupplierName = oA_ShebeiWeixiu.Name + "缁翠慨";
+                        var _SupplierName = oA_ShebeiWeixiu.Name + "(" + ShebeiZerenrenName + ")" + "缁翠慨";
                         oA_Fukuanshenqing.SupplierName = _SupplierName;
                         var id = _oA_FukuanshenqingBLL.InsertModel(oA_Fukuanshenqing);
 
@@ -291,13 +293,13 @@
 
                     m_OA_WorkPlan.Operator = CurrentUser.ShortName;
                    
-                    m_OA_WorkPlan.PlanContent = oA_ShebeiWeixiu.Name+"缁翠慨鐢宠";
+                    m_OA_WorkPlan.PlanTitle = oA_ShebeiWeixiu.Name + "(" + ShebeiZerenrenName + ")" + "缁翠慨鐢宠";
                     m_OA_WorkPlan.PlanDataType = 18;
                     m_OA_WorkPlan.PlanMoney = this.txtWeixiuPrice.Value.ToDecimal2();
                     m_OA_WorkPlan.RewardMoney = 0;
                     m_OA_WorkPlan.PlanRemark = "";
                     m_OA_WorkPlan.PlanRunTime = DateTime.Now;
-                    m_OA_WorkPlan.PlanTitle =  this.txtPlanRemark.Value+ ".缁翠慨鏃ユ湡:"+ this.txtWeixiuTime.Value;
+                    m_OA_WorkPlan.PlanContent =  this.txtPlanRemark.Value+ ".缁翠慨鏃ユ湡:"+ this.txtWeixiuTime.Value;
                     m_OA_WorkPlan.PlanType = 3;
                     m_OA_WorkPlan.LastUpdateTime = nowTime;
                     var workid = oA_WorkReminderBll.InserModelAndGetId(m_OA_WorkPlan);

--
Gitblit v1.9.1