username@email.com
2025-05-15 6fe02a16e55f17e45a3997171e1b2284d45af25b
CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverPlanList.aspx.cs
@@ -66,11 +66,11 @@
        //加载查询条件
        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";
@@ -84,6 +84,8 @@
            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("驾驶员"));
@@ -303,12 +305,25 @@
                CurrentUser.MemberId,
                this.txtDeliveryTime.Value,
                 this.selCarId.Value,
                this.selDriverId.Value,
                "",
                "",
                  this.txtCustormerName.Value.Trim(),
                    this.selBusinessManager.Value
                    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;
                }
            }