| | |
| | | } |
| | | |
| | | |
| | | |
| | | //完结事件 |
| | | 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) |
| | | //{ |
| | |
| | | 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"; |
| | |
| | | this.txtFinancialOfficers.Value = ""; |
| | | this.txtOfficersMobile.Value = ""; |
| | | this.txtOfficersQQ.Value = ""; |
| | | Shifouwanjie = "3"; |
| | | |
| | | #endregion |
| | | |