username@email.com
2025-05-12 ae6e40362a745caef9ead36f81f38313fb8c2c66
CY_ECommercePlatform/CY.WebForm/Pages/business/kaipiaoConfirm.aspx.cs
@@ -56,7 +56,7 @@
                this.selBusinessManager.DataTextField = "Name";
                this.selBusinessManager.DataValueField = "Keyid";
                this.selBusinessManager.DataBind();
                //this.selBusinessManager.Items.Insert(0, new ListItem("全部", ""));
                this.selBusinessManager.Items.Insert(0, new ListItem("请选择", ""));
                //this.selBusinessManager.Items.Insert(1, new ListItem(CurrentUser.ShortName, CurrentUser.ShortName));
                decimal total = 0;
@@ -72,7 +72,16 @@
                {
                    var model = bll_EC_OrderBasicBLL.SelectModelById(models[0].Keyid.Value);
                    name = models[0].BuyerName;
                    this.selBusinessManager.Value = model.BusinessManagerId.HasValue? model.BusinessManagerId.Value.ToString():"";
                    OA_CorporateClients oA_CorporateClients = _oA_CorporateClientsBLL.GetModel(models[0].BuyerId);
                    if (oA_CorporateClients != null && oA_CorporateClients.BusinessManagerId.HasValue && oA_CorporateClients.BusinessManagerId.Value>0)
                    {
                        this.selBusinessManager.Value = oA_CorporateClients.BusinessManagerId.HasValue ? oA_CorporateClients.BusinessManagerId.Value.ToString() : "";
                    }
                    else
                    {
                        JavaScript.MessageBox("请维护客户的业务经理", this);
                    }
                }
                total = models.Sum(x=>x.SumPrice)??0;
                txtZengjianmoney.Value = "0";
@@ -93,6 +102,7 @@
                    //}
                kpmoney.InnerText = total.ToString("0.00");
                khname.InnerText = name;
                Dingdanshu.InnerText = orderIdStr.Split(',').Length +"个";
            }
            else
            {
@@ -111,6 +121,12 @@
        /// </summary>
        public void AcceptAll3()
        {
            if (string.IsNullOrEmpty(this.selBusinessManager.Value))
            {
                JavaScript.MessageBox("请选择业务经理", this);
                return;
            }
            string ids = this.txtOrderIds.Value;
            string[] idsArray = ids.Split(',');
            if (idsArray != null && idsArray.Length > 0)
@@ -205,7 +221,7 @@
                            m_OA_WorkPlan.LastUpdateTime = nowTime;
                            oA_WorkReminderBll.InsertModel(m_OA_WorkPlan);
                        }
                        oA_DeliverPlan.Shenqingleixing = "订单开票";
                        oA_DeliverPlan.Creater = CurrentUser.TrueMemberId;
                        oA_DeliverPlan.CreateTime = DateTime.Now;
                        oA_DeliverPlan.Updater = CurrentUser.TrueMemberId;