From b63e4e9f97aba58867a01b85e7d128b6eb738a0a Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期四, 09 十月 2025 09:48:50 +0800
Subject: [PATCH] 请示类别要增加 维修申请 维修付款申请
---
CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsEdit.aspx.cs | 71 ++++++++++++++++++++++++++++++++---
1 files changed, 64 insertions(+), 7 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsEdit.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsEdit.aspx.cs
index 8737fc7..c93236b 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsEdit.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsEdit.aspx.cs
@@ -94,6 +94,12 @@
JavaScript.MessageBox("瀹㈡埛鏉ユ簮涓烘斂搴滈噰璐紝璇峰~鍐欐満鏋勪唬鐮�", this);
return;
}
+
+ if (string.IsNullOrEmpty(Request["selectProvince"].ToString2()) || string.IsNullOrEmpty(Request["selectCity"].ToString2()) || string.IsNullOrEmpty(Request["selectCounty"].ToString2()))
+ {
+ JavaScript.MessageBox("璇烽�夋嫨鎵�鍦ㄥ尯鍩�", this);
+ return;
+ }
try
{
//var files = Request.Files;
@@ -354,14 +360,14 @@
m_OA_CorporateClients.Shifouwanjie = 1;
m_OA_CorporateClients.LastUpdateTime = DateTime.Now;
+ m_OA_CorporateClients.WanjieTime = DateTime.Now;
-
- #region 娣诲姞鎴栫紪杈�
+ #region 娣诲姞鎴栫紪杈�
-
- bool result = bll_OA_CorporateClientsBLL.UpdateModel(m_OA_CorporateClients);//鏇存柊淇℃伅
+
+ bool result = bll_OA_CorporateClientsBLL.UpdateWanjie(m_OA_CorporateClients);//鏇存柊淇℃伅
if (result)
JavaScript.MessageBox("瀹岀粨鎴愬姛", this, true, true);
else
@@ -379,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;
+
+ m_OA_CorporateClients.WanjieTime = DateTime.Now;
+
+
+ #region 娣诲姞鎴栫紪杈�
+
+
+ bool result = bll_OA_CorporateClientsBLL.UpdateWanjie(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)
//{
@@ -475,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";
@@ -559,8 +615,8 @@
this.selSourcesInfoId.Value = m_OA_CorporateClients.SourcesInfoId.ToString2();
this.selCustomerIndustriesId.Value = m_OA_CorporateClients.CustomerIndustriesId.ToString2();
this.selCustomerTypeId.Value = m_OA_CorporateClients.CustomerTypeId.ToString2();
- this.selBusinessManagerId.Value = m_OA_CorporateClients.BusinessManagerId.ToString2();
- this.selAccountManagerId.Value = m_OA_CorporateClients.AccountManagerId.ToString2();
+ this.selBusinessManagerId.Value = m_OA_CorporateClients.BusinessManagerId.ToString2()=="0"?"": m_OA_CorporateClients.BusinessManagerId.ToString2();
+ this.selAccountManagerId.Value = m_OA_CorporateClients.AccountManagerId.ToString2() == "0" ? "" : m_OA_CorporateClients.AccountManagerId.ToString2();
this.selDegreeImportanId.Value = m_OA_CorporateClients.DegreeImportanId.ToString2();
this.selBusinessAnalysisId.Value = m_OA_CorporateClients.BusinessAnalysisId.ToString2();
this.selIsLoginCorporateWeb.Value = m_OA_CorporateClients.IsLoginCorporateWeb.ToString2();
@@ -660,6 +716,7 @@
this.txtFinancialOfficers.Value = "";
this.txtOfficersMobile.Value = "";
this.txtOfficersQQ.Value = "";
+ Shifouwanjie = "3";
#endregion
--
Gitblit v1.9.1