From f47da9571d16108fcab2bf6d55279a08ce2e7cbf Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 15 十一月 2024 14:29:14 +0800
Subject: [PATCH] 计划订单相关功能

---
 CY_ECommercePlatform/CY.WebForm/Pages/personnel/StaffEdit.aspx.cs |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/personnel/StaffEdit.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/personnel/StaffEdit.aspx.cs
index cc3496f..ef88746 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/personnel/StaffEdit.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/personnel/StaffEdit.aspx.cs
@@ -91,6 +91,8 @@
             this.txtSM_Post.Value = "";
             this.IsBusinessManager.SelectedValue = "False";
             this.IsAccountManager.SelectedValue = "False";
+            this.BF_IsDriver.SelectedValue = "False";
+            this.BF_IsDeliverManage.SelectedValue = "False";
 
             this.txtMobieNum.Value = "";
             this.txtSM_Money.Value = "";
@@ -166,6 +168,8 @@
                 this.selSex.Value = m_OA_StaffResume.R_G_Sex;
                 this.IsBusinessManager.SelectedValue = "False";
                 this.IsAccountManager.SelectedValue = "False";
+                this.BF_IsDeliverManage.SelectedValue = "False";
+                this.BF_IsDriver.SelectedValue = "False";
                 this.txtSM_Birthday.Value = m_OA_StaffResume.R_G_DocumentsType;
                 this.txtSM_IDCardNum.Value = m_OA_StaffResume.R_G_DocumentsNumber;
                 this.aSM_IDCardPic.Visible = false;
@@ -200,6 +204,8 @@
                     this.selDepartmentId.Value = m_OA_Staff.DepartmentId.ToString2();
                     this.IsBusinessManager.SelectedValue = m_OA_Staff.IsBusinessManager ? "True" : "False";
                     this.IsAccountManager.SelectedValue = m_OA_Staff.IsAccountManager ? "True" : "False";
+                    this.BF_IsDeliverManage.SelectedValue = m_OA_Staff.BF_IsDeliverManage ? "True" : "False";
+                    this.BF_IsDriver.SelectedValue = m_OA_Staff.BF_IsDriver ? "True" : "False";
                     this.selRole.Value = m_OA_StaffRoleRel.RoleId.ToString2();
 
                     this.txtName.Style.Add("display", "none");
@@ -283,6 +289,8 @@
                 {
                     this.IsBusinessManager.SelectedValue = "False";
                     this.IsAccountManager.SelectedValue = "False";
+                    this.BF_IsDriver.SelectedValue = "False";
+                    this.BF_IsDeliverManage.SelectedValue = "False";
                 }
             }
         }
@@ -375,6 +383,8 @@
 
                 m_OA_Staff.IsBusinessManager = this.IsBusinessManager.SelectedValue.ToBoolean2();
                 m_OA_Staff.IsAccountManager = this.IsAccountManager.SelectedValue.ToBoolean2();
+                m_OA_Staff.BF_IsDeliverManage = this.BF_IsDeliverManage.SelectedValue.ToBoolean2();
+                m_OA_Staff.BF_IsDriver = this.BF_IsDriver.SelectedValue.ToBoolean2();
                 m_OA_Staff.DepartmentId = this.selDepartmentId.Value.ToInt32();
 
                 m_OA_Staff.SM_SpouseName = this.txtSM_SpouseName.Value.ToString2();

--
Gitblit v1.9.1