username@email.com
2025-10-09 b63e4e9f97aba58867a01b85e7d128b6eb738a0a
CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsEdit.aspx
@@ -80,7 +80,7 @@
                    <td class="ali03 w100px">客户名称:</td>
                    <td  class="w300px" >
                       
                            <input id="txtCompanyName" type="text" runat="server" class="req customcompany"  style=" width:280px;"  maxlength="20"  AUTOCOMPLETE="OFF" /><span  style="color:red;">*</span>
                            <input id="txtCompanyName" type="text" runat="server" class="req"  style=" width:280px;"  maxlength="100"  AUTOCOMPLETE="OFF" /><span  style="color:red;">*</span>
                            <input id="txtHideMemberId" type="hidden" runat="server"/>
                            <input id="txtHideMemberType" type="hidden" runat="server"/>
                       
@@ -196,7 +196,7 @@
                   
                    
                    <td class="ali02" colspan="6">
                        <asp:Button ID="btn_Submit" Text="保存" runat="server" OnClick="btn_Submit_Config"  />&nbsp;
                        <asp:Button ID="btn_Submit" Text="保存" runat="server" OnClick="btn_Submit_Config"  OnClientClick="if(SubmitOnSubmit())return true;else return false;"  />&nbsp;
                         <% if (string.IsNullOrEmpty(Shifouwanjie) || Shifouwanjie == "2") {%>
                        <asp:Button ID="btn_wanjie" Text="完结" runat="server"  OnClientClick="if(removeOnSubmit())return true;else return false;"  OnClick="btn_Submit_Wanjie" />
                        <% }else if (Shifouwanjie == "1") { %>
@@ -510,6 +510,24 @@
    });
    function SubmitOnSubmit(){
        if ($("#selSourcesInfoId").val() == "452" && $("#txtJigoudaima").val() == "") {
            alertMsg("客户来源为政府采购,请填写机构代码");
            return false;
        }
        if ($("#selectProvince").val() == "" && $("#selectCity").val() == "" && $("#selectCounty").val() == "") {
            alertMsg("请选择所在区域");
            return false;
        }
        return true;
    }
    function removeOnSubmit() {
        if (confirm("确认完结客户?"))