From 2605af51ca4787434c8c5f2b10dc0adc78a2fdb0 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 14 三月 2025 17:17:45 +0800
Subject: [PATCH] 外协管理,外协订单,你列表操作后面增加一个完工点,完工就进行。就是说,已完工处理好,前面呢,有个批量完工,好检索查询条件,也加个完工。

---
 CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverPlanPaicheEdit.aspx.cs |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverPlanPaicheEdit.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverPlanPaicheEdit.aspx.cs
index 9f75ae2..81a37fa 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverPlanPaicheEdit.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverPlanPaicheEdit.aspx.cs
@@ -34,6 +34,7 @@
 
         OA_CarManageBll _OA_CarManageBll = null;
         OA_DeliverPlanPaicheBLL oA_DeliverPlanBLL = null;
+        OA_StaffBLL _OA_StaffBLL = null;
 
         //鍒濆鍖�
         public DeliverPlanPaicheEdit()
@@ -42,6 +43,7 @@
           
             _OA_CarManageBll = new OA_CarManageBll();
             oA_DeliverPlanBLL = new OA_DeliverPlanPaicheBLL();
+            _OA_StaffBLL = new OA_StaffBLL();
 
 
         }
@@ -107,9 +109,22 @@
                 this.selBuyerId.DataSource = corporateClients;
                 this.selBuyerId.DataBind();
                 this.selBuyerId.Items.Insert(0, new ListItem("璇烽�夋嫨", ""));
+                var  oA_CarManages = _OA_CarManageBll.SelectListByFirmId(CurrentUser.MemberId);
+                foreach (var oA_CarManage  in oA_CarManages)
+                {
+                    if (oA_CarManage.StaffID.HasValue)
+                    {
+                      var oA_Staff  =  _OA_StaffBLL.GetModelByKeyid(oA_CarManage.StaffID);
+                        if (oA_Staff != null)
+                        {
+                            oA_CarManage.CarNumber = oA_CarManage.CarNumber + "(" + oA_Staff.Name + ")";
+                        }
+                    }
+                    
 
+                }
 
-                this.selCarId.DataSource = _OA_CarManageBll.SelectListByFirmId(CurrentUser.MemberId);
+                this.selCarId.DataSource = oA_CarManages;
                 this.selCarId.DataTextField = "CarNumber";
                 this.selCarId.DataValueField = "Keyid";
                 this.selCarId.DataBind();

--
Gitblit v1.9.1