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 | 50 ++++++++++++++++++++++++++++++++++++++++++--------
1 files changed, 42 insertions(+), 8 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsEdit.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsEdit.aspx
index 4d5d048..1b5688b 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsEdit.aspx
+++ b/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,9 +196,11 @@
<td class="ali02" colspan="6">
- <asp:Button ID="btn_Submit" Text="淇濆瓨" runat="server" OnClick="btn_Submit_Config" />
- <% if (Shifouwanjie != "1") {%>
+ <asp:Button ID="btn_Submit" Text="淇濆瓨" runat="server" OnClick="btn_Submit_Config" OnClientClick="if(SubmitOnSubmit())return true;else return false;" />
+ <% 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") { %>
+ <asp:Button ID="btn_chongxinkaitong" Text="閲嶆柊寮�閫�" runat="server" OnClientClick="if(removeOnSubmiton())return true;else return false;" OnClick="btn_Submit_chongxinkaitong" />
<% } %>
<input type="hidden" id="HideKeyid" value="<%=Request["Keyid"]%>" />
<input type="hidden" id="saveKey" runat="server" />
@@ -508,12 +510,44 @@
});
- function removeOnSubmit() {
-
- document.getElementById('txtCompanyName').value = "232323";
- document.getElementById('txtDetailedAddress').value = "232323";
- document.getElementById('txtCompanyPhone').value = "232323";
+ 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("纭瀹岀粨瀹㈡埛锛�"))
+ return true;
+
+ return false;
+
+
+
+ }
+
+ function removeOnSubmiton() {
+
+ if (confirm("纭閲嶆柊寮�閫氬鎴凤紵"))
+ return true;
+
+ return false;
+
+
+
}
</script>
--
Gitblit v1.9.1