From ba381be6a5aac58df11e2e7b6b19f012bd9ff5a1 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 04 十二月 2024 10:34:30 +0800
Subject: [PATCH] 开票申请

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

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/AgOutsourcSingleAllEdit.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/business/AgOutsourcSingleAllEdit.aspx.cs
index 2d368d4..3c00b4a 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/AgOutsourcSingleAllEdit.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/AgOutsourcSingleAllEdit.aspx.cs
@@ -21,6 +21,7 @@
         OA_CorporateClientsBLL bll_OA_CorporateClientsBLL = null;
         Sys_DictionaryBLL bll_Sys_DictionaryBLL = null;
         EC_OrderBLL bll_EC_OrderBLL = null;
+        OA_StaffBLL bll_OA_StaffBLL = null;
 
         public Guid targetid = Guid.Empty;
         public static string Keyid;
@@ -39,6 +40,7 @@
             bll_OA_CorporateClientsBLL = new OA_CorporateClientsBLL();
             bll_Sys_DictionaryBLL = new Sys_DictionaryBLL();
             bll_EC_OrderBLL = new EC_OrderBLL();
+            bll_OA_StaffBLL = new OA_StaffBLL();
         }
 
         /// <summary>
@@ -127,7 +129,8 @@
             this.spanSumPrice.InnerText = (_eC_OrderBasic.SumPrice ??0).ToString("0.00");
             this.spanSurplusPrintNum.InnerText = _eC_OrderBasic.OrderExtend.SurplusPrintNum.ToString2();
 
-            this.spanSpecialOprator.InnerText = CurrentUser.ShortName;
+            //this.spanSpecialOprator.InnerText = CurrentUser.ShortName;
+            this.selBusinessManager.Value = _eC_OrderBasic.Creater;
             this.spanSpecialTime.InnerText = DateTime.Now.ToString("yyyy-MM-dd HH:mm");
             this.txtRemark.Value = _eC_OrderBasic.Remark.ToString2();
 
@@ -154,6 +157,12 @@
                 this.selExigencyDegree.DataBind();
                 this.selExigencyDegree.Items.Add(new ListItem("璇烽�夋嫨", ""));
                 this.selExigencyDegree.Value = "0";
+
+                this.selBusinessManager.DataSource = bll_OA_StaffBLL.SelectListByFirmId(CurrentUser.MemberId, true, false);
+                this.selBusinessManager.DataTextField = "Name";
+                this.selBusinessManager.DataValueField = "Name";
+                this.selBusinessManager.DataBind();
+                //this.selBusinessManager.Items.Insert(0, new ListItem("鍏ㄩ儴", ""));
             }
         }
 
@@ -209,7 +218,7 @@
             m_EC_OrderBasicNew.SellerId = this.selOutFirm.SelectedValue.ToGuid2();
             m_EC_OrderBasicNew.BuyerId = CurrentUser.MemberId;
             m_EC_OrderBasicNew.BuyerName = CurrentUser.Name;
-            m_EC_OrderBasicNew.Creater = CurrentUser.ShortName;
+            m_EC_OrderBasicNew.Creater = this.selBusinessManager.Value;// CurrentUser.ShortName;
             m_EC_OrderBasicNew.Operator = CurrentUser.ShortName;
             m_EC_OrderBasicNew.DeliveryTime = this.txtDeliveryTime.Value.ToDateTime2();
             m_EC_OrderBasicNew.DocumentName = _eC_OrderBasic.DocumentName;

--
Gitblit v1.9.1