From e8e3122fdc4844202fb9e05477d47139e47a8aae Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 12 十二月 2025 08:59:47 +0800
Subject: [PATCH] 作业本送货变二级菜单

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

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverWorkBookPrint.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverWorkBookPrint.aspx.cs
index 0a47617..45cd58f 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverWorkBookPrint.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverWorkBookPrint.aspx.cs
@@ -21,6 +21,7 @@
         CoreCmsPlanOrderBLL bll_CoreCmsPlanOrderBLL = null;
         CoreCmsPlanOrderItemBLL bll_CoreCmsPlanOrderItemBLL = null;
         EC_OrderPrintParameterBLL _eC_OrderPrintParameterBLL = null;
+        OA_StaffBLL bll_OA_StaffBLL = null;
         public string orderid = "";
 
         //鍒濆鍖�
@@ -29,6 +30,7 @@
             bll_CoreCmsPlanOrderBLL = new CoreCmsPlanOrderBLL();
             bll_CoreCmsPlanOrderItemBLL = new CoreCmsPlanOrderItemBLL();
             _eC_OrderPrintParameterBLL = new EC_OrderPrintParameterBLL();
+            bll_OA_StaffBLL = new OA_StaffBLL();
         }
 
         //椤甸潰鍔犺浇
@@ -37,7 +39,11 @@
             
             if (!IsPostBack)
             {
-                 
+                this.selSonghuoren.DataSource = bll_OA_StaffBLL.SelectListByFirmId(CurrentUser.MemberId, false, false).Where(x => x.SM_Post == "鍙告満");
+                this.selSonghuoren.DataTextField = "Name";
+                this.selSonghuoren.DataValueField = "Name";
+                this.selSonghuoren.DataBind();
+                this.selSonghuoren.Items.Insert(0, new ListItem("鍏ㄩ儴", ""));
 
                 BindList();
             }
@@ -63,6 +69,11 @@
             {
                 coreCmsPlanOrders = coreCmsPlanOrders.Where(x => x.shipAddress.Contains(xuexiao));
             }
+            var status = this.selstatus.Value.Trim().ToInt32(); ;
+            if (status.HasValue)
+            {
+                coreCmsPlanOrders = coreCmsPlanOrders.Where(x => x.DeliverState == status);
+            }
 
 
 

--
Gitblit v1.9.1