From a980cd04341d71216e0f59bd4b7327fe9fc50032 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 21 五月 2025 11:41:46 +0800
Subject: [PATCH] 提交

---
 CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverPlanList.aspx.cs |   39 ++++++++++++++++++++++++++++++++-------
 1 files changed, 32 insertions(+), 7 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverPlanList.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverPlanList.aspx.cs
index f4e3645..06c85df 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverPlanList.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverPlanList.aspx.cs
@@ -66,17 +66,26 @@
         //鍔犺浇鏌ヨ鏉′欢
         protected void InitialSelectData()
         {
-            this.selDriverId.DataSource = bll_OA_StaffBLL.SelectListByFirmId(CurrentUser.MemberId, null, null).Where(x => x.BF_IsDriver == true);//.Where(x => x.SM_Post.Equals("椹鹃┒鍛�")) ;
-            this.selDriverId.DataTextField = "Name";
-            this.selDriverId.DataValueField = "Keyid";
-            this.selDriverId.DataBind();
-            this.selDriverId.Items.Insert(0, new ListItem("鍏ㄩ儴", ""));
+            //this.selDriverId.DataSource = bll_OA_StaffBLL.SelectListByFirmId(CurrentUser.MemberId, null, null).Where(x => x.BF_IsDriver == true);//.Where(x => x.SM_Post.Equals("椹鹃┒鍛�")) ;
+            //this.selDriverId.DataTextField = "Name";
+            //this.selDriverId.DataValueField = "Keyid";
+            //this.selDriverId.DataBind();
+            //this.selDriverId.Items.Insert(0, new ListItem("鍏ㄩ儴", ""));
 
             this.selCarId.DataSource = _OA_CarManageBll.SelectListByFirmId(CurrentUser.MemberId);
             this.selCarId.DataTextField = "CarNumber";
             this.selCarId.DataValueField = "Keyid";
             this.selCarId.DataBind();
             this.selCarId.Items.Insert(0, new ListItem("鍏ㄩ儴", ""));
+
+
+            this.selBusinessManager.DataSource = bll_OA_StaffBLL.SelectListByFirmId(CurrentUser.MemberId, true, false);
+            this.selBusinessManager.DataTextField = "Name";
+            this.selBusinessManager.DataValueField = "Keyid";
+            this.selBusinessManager.DataBind();
+            this.selBusinessManager.Items.Insert(0, new ListItem("鍏ㄩ儴", ""));
+
+            this.selPaiche.Value = "2";
 
 
             //this.selDriverIddo.DataSource = bll_OA_StaffBLL.SelectListByFirmId(CurrentUser.MemberId, null, null).Where(x => x.BF_IsDriver == true);//.Where(x => x.SM_Post.Equals("椹鹃┒鍛�"));
@@ -296,9 +305,25 @@
                 CurrentUser.MemberId,
                 this.txtDeliveryTime.Value,
                  this.selCarId.Value,
-                this.selDriverId.Value
+                "",
+                "",
+                  this.txtCustormerName.Value.Trim(),
+                    this.selBusinessManager.Value,this.selPaiche.Value
               );
-          
+
+            foreach (var oA_DeliverPlan  in oA_DeliverPlans)
+            {
+                oA_DeliverPlan.DizhiLianxirenDianhua = oA_DeliverPlan.Dizhi;
+                if (!string.IsNullOrEmpty(oA_DeliverPlan.Lianxiren))
+                {
+                    oA_DeliverPlan.DizhiLianxirenDianhua += " 鑱旂郴浜猴細" + oA_DeliverPlan.Lianxiren;
+                }
+
+                if (!string.IsNullOrEmpty(oA_DeliverPlan.Dianhua))
+                {
+                    oA_DeliverPlan.DizhiLianxirenDianhua += " 鐢佃瘽锛�" + oA_DeliverPlan.Dianhua;
+                }
+            }
 
 
 

--
Gitblit v1.9.1