From 8d51a0762a43eedada5eb15bd24180d7204e63b3 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 17 一月 2025 08:58:19 +0800
Subject: [PATCH] 报销流程

---
 CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsEdit.aspx |   26 +++++++++++++++++++++-----
 1 files changed, 21 insertions(+), 5 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsEdit.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsEdit.aspx
index 4d5d048..edf6046 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsEdit.aspx
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsEdit.aspx
@@ -197,8 +197,10 @@
                     
                     <td class="ali02" colspan="6">
                         <asp:Button ID="btn_Submit" Text="淇濆瓨" runat="server" OnClick="btn_Submit_Config"  />&nbsp;
-                         <% if (Shifouwanjie != "1") {%>
+                         <% 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"  />
@@ -509,11 +511,25 @@
 
 
     function removeOnSubmit() {
+
+        if (confirm("纭瀹岀粨瀹㈡埛锛�"))
+            return true;
+
+        return false;
+
+
         
-        document.getElementById('txtCompanyName').value = "232323";
-        document.getElementById('txtDetailedAddress').value = "232323";
-        document.getElementById('txtCompanyPhone').value = "232323";
-        return true;
+    }
+
+    function removeOnSubmiton() {
+
+        if (confirm("纭閲嶆柊寮�閫氬鎴凤紵"))
+            return true;
+
+        return false;
+
+
+
     }
   
 </script>

--
Gitblit v1.9.1