username@email.com
2025-08-25 bbdb669495a78ad23afc7b17e8a2e25a58dac35f
修改客户维护记录
3个文件已修改
77 ■■■■ 已修改文件
CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsVisit.aspx 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsVisit.aspx.cs 71 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
CY_ECommercePlatform/CY.WebForm/Pages/business/OrderList.aspx.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
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>
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)
                    {
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;
                                }