From bbdb669495a78ad23afc7b17e8a2e25a58dac35f Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期一, 25 八月 2025 09:13:48 +0800
Subject: [PATCH] 修改客户维护记录
---
CY_ECommercePlatform/CY.WebForm/Pages/business/OrderList.aspx.cs | 2
CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsVisit.aspx | 4 +
CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsVisit.aspx.cs | 71 ++++++++++++++++++-----------------
3 files changed, 41 insertions(+), 36 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsVisit.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsVisit.aspx
index 49d6614..09c4022 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsVisit.aspx
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsVisit.aspx
@@ -79,7 +79,9 @@
<fieldset id="weihujilu">
<legend>娣诲姞缁存姢璁板綍</legend>
<table class="tableStyle" width="100%">
- <tr>
<td class="ali01 ">缁存姢鏃ユ湡锛�</td>
<td ><input id="txtVisitTime" type="text" runat="server" maxlength="50" class="date w90px" datefmt="yyyy-MM-dd" /></td>
<td class="ali03 ">缁存姢璁板綍锛�</td>
<td colspan="2" ><textarea runat="server" id="txtvisitRemark" style=" width:92%; height:30px;" maxlength="2000"></textarea></td>
<td class="ali03">
+ <tr>
<td class="ali01 " style="width:10%;">缁存姢鏃ユ湡锛�</td>
<td style="width:20%;" ><input id="txtVisitTime" type="text" runat="server" maxlength="50" class="date w90px" datefmt="yyyy-MM-dd" /></td>
<td class="ali03 " style="width:10%;">缁存姢璁板綍锛�</td>
<td colspan="2" style="width:60%;" ><textarea runat="server" id="txtvisitRemark" style=" width:92%; height:30px;" maxlength="2000"></textarea></td>
</tr>
+ <tr>
+ <td class="ali03" colspan="2">
<input type="file" id="filesel" name="__hetongFile" keepdefaultstyle="true" multiple="multiple" runat="server" text="璇烽�夋嫨鏂囦欢" /></td>
<td>
<td ><asp:Button ID="Button1" Text="娣诲姞缁存姢璁板綍" OnClientClick="return checkSelFile()" runat="server" OnClick="btn_Submit_Visit" ToolTip="璇ヨ褰曚細娓呴櫎璇ュ鎴风殑渚嬭缁存姢鎻愰啋"/><asp:Button ID="btn_Submit" Text="娣诲姞鍋囨棩缁存姢璁板綍" runat="server" ToolTip="璇ヨ褰曚細娓呴櫎璇ュ鎴风殑鍋囨棩缁存姢鎻愰啋" OnClick="btn_Submit_Visit_jiari"/></td>
<div id="loading" class="toast-message" style="display: none;">淇濆瓨涓紒</div>
</tr>
</table>
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsVisit.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsVisit.aspx.cs
index 20d0954..ce696dd 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsVisit.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsVisit.aspx.cs
@@ -49,43 +49,46 @@
//椤甸潰鍔犺浇
protected void Page_Load(object sender, EventArgs e)
{
-
- if (Request["Keyid"] != null || Request["MemberId"] != null)
+ if (!IsPostBack)
{
- OA_CorporateClients m_OA_CorporateClients = bll_OA_CorporateClientsBLL.GetModelDetail(Request["Keyid"].ToGuid2());
- this.spanCompanyName.InnerText = m_OA_CorporateClients.CompanyName;
- this.spanBusinessManagerId.InnerText = m_OA_CorporateClients.BusinessmanagerName;
- this.spanprintdate.InnerText = DateTime.Now.ToString("yyyy-MM-dd");
- client = bll_OA_CorporateClientsBLL.GetModel(Request["Keyid"].ToGuid2());
- IsNeedJiejiaRi = client.JieJiaRiWiHu==true;
- NeedWeihu = client.NeedWiHu == true;
- this.RepClientList.DataSource = bll_OA_CorporateClientsBLL.SelectVisitListByCorId(Request["Keyid"].ToGuid2());
-
- this.RepClientList.DataBind();
- if (IsNeedJiejiaRi)
- this.btn_Submit.Enabled = true;
- else
- this.btn_Submit.Enabled = false;
-
-
- //鍒ゅ喅鏄惁鏄妭鍋囨棩缁存姢寮圭獥 杩欎釜寮圭獥娣诲姞缁存姢璁板綍鍚庝細鍏抽棴绐楀彛
- var x = Request["JIeriCount"];
- if (x != "undefined"&&x!=null)
+ if (Request["Keyid"] != null || Request["MemberId"] != null)
{
- this.Button1.Enabled = false;
- this.txtvisitRemark.Value = x;
+ OA_CorporateClients m_OA_CorporateClients = bll_OA_CorporateClientsBLL.GetModelDetail(Request["Keyid"].ToGuid2());
+ this.spanCompanyName.InnerText = m_OA_CorporateClients.CompanyName;
+ this.spanBusinessManagerId.InnerText = m_OA_CorporateClients.BusinessmanagerName;
+ this.spanprintdate.InnerText = DateTime.Now.ToString("yyyy-MM-dd");
+ client = bll_OA_CorporateClientsBLL.GetModel(Request["Keyid"].ToGuid2());
+ IsNeedJiejiaRi = client.JieJiaRiWiHu == true;
+ NeedWeihu = client.NeedWiHu == true;
+ this.RepClientList.DataSource = bll_OA_CorporateClientsBLL.SelectVisitListByCorId(Request["Keyid"].ToGuid2());
+
+ this.RepClientList.DataBind();
+ if (IsNeedJiejiaRi)
+ this.btn_Submit.Enabled = true;
+ else
+ this.btn_Submit.Enabled = false;
+
+
+ //鍒ゅ喅鏄惁鏄妭鍋囨棩缁存姢寮圭獥 杩欎釜寮圭獥娣诲姞缁存姢璁板綍鍚庝細鍏抽棴绐楀彛
+ var x = Request["JIeriCount"];
+ if (x != "undefined" && x != null)
+ {
+ this.Button1.Enabled = false;
+ this.txtvisitRemark.Value = x;
+ }
+
+ this.txtVisitTime.Value = DateTime.Now.ToString("yyyy-MM-dd");
+ //鍒ゅ喅鏄惁鏄彁閱掑脊绐� 杩欎釜寮圭獥娣诲姞缁存姢璁板綍鍚庝細鍏抽棴绐楀彛
+ var y = Request["tixingweihu"];
+ if (y != null && y == "1")
+ {
+ IsWeihuTixingUrl = true;
+ }
+
+
}
-
- this.txtVisitTime.Value = DateTime.Now.ToString("yyyy-MM-dd");
- //鍒ゅ喅鏄惁鏄彁閱掑脊绐� 杩欎釜寮圭獥娣诲姞缁存姢璁板綍鍚庝細鍏抽棴绐楀彛
- var y = Request["tixingweihu"];
- if ( y != null&& y=="1")
- {
- IsWeihuTixingUrl = true;
- }
-
-
}
+
}
@@ -212,7 +215,7 @@
}
this.txtVisitTime.Value = "";
this.txtvisitRemark.Value = "";
- // JavaScript.MessageBox("缁存姢淇濆瓨鎴愬姛", this, false, false);
+ //JavaScript.MessageBox("缁存姢淇濆瓨鎴愬姛", this, false, false);
JavaScript.MessageBoxandhideLoadingIndicator("淇濆瓨鎴愬姛", this);
if (NeedWeihu)
{
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderList.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderList.aspx.cs
index f9bdb9c..96cfe90 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderList.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderList.aspx.cs
@@ -783,7 +783,7 @@
{
if (opType == "鎾ゅ崟")
{
- if (orderState == 4 || orderState == 5)
+ if (orderState == 3 || orderState == 4 || orderState == 5)
{
isCan = false;
}
--
Gitblit v1.9.1