username@email.com
2025-05-21 a980cd04341d71216e0f59bd4b7327fe9fc50032
CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsEdit.aspx.cs
@@ -385,6 +385,56 @@
        }
        //完结事件
        protected void btn_Submit_chongxinkaitong(object sender, EventArgs e)
        {
            OA_CorporateClients m_OA_CorporateClients = new OA_CorporateClients();
            try
            {
                Guid Keyid = Request["Keyid"].ToGuid2();
                if (Request["Keyid"] != null)
                {
                    m_OA_CorporateClients = bll_OA_CorporateClientsBLL.GetModel(Request["Keyid"].ToGuid2());
                }
                else
                {
                    JavaScript.MessageBox("请先保存客户", this);
                }
                m_OA_CorporateClients.Shifouwanjie = 2;
                m_OA_CorporateClients.LastUpdateTime = DateTime.Now;
                #region 添加或编辑
                bool result = bll_OA_CorporateClientsBLL.UpdateModel(m_OA_CorporateClients);//更新信息
                if (result)
                    JavaScript.MessageBox("完结成功", this, true, true);
                else
                    JavaScript.MessageBox("完结失败", this);
                #endregion
            }
            catch (Exception ex)
            {
                PAGEHandleException(ex);
                JavaScript.MessageBox("操作失败", this);
            }
        }
        ////完结事件
        //protected void btn_Submit_Visit(object sender, EventArgs e)
        //{
@@ -481,7 +531,7 @@
            this.selCustomerIndustriesId.DataTextField = "Name";
            this.selCustomerIndustriesId.DataBind();
            this.selCustomerIndustriesId.Value = "69";
            this.selCustomerIndustriesId.Value = "454";
            this.selCustomerTypeId.DataSource = bll_Sys_DictionaryBLL.GetDataByType("客户类型");
            this.selCustomerTypeId.DataValueField = "Keyid";
@@ -666,6 +716,7 @@
                this.txtFinancialOfficers.Value = "";
                this.txtOfficersMobile.Value = "";
                this.txtOfficersQQ.Value = "";
                Shifouwanjie = "3";
                #endregion