From 2510c088e097e04dff0e80365431f5e2be1f4888 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期二, 24 三月 2026 13:03:08 +0800
Subject: [PATCH] 司机不查职务,查权限
---
CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsEdit.aspx | 47 +++++++++++++++++++++++++++++++++++++++++------
1 files changed, 41 insertions(+), 6 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsEdit.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsEdit.aspx
index edf6046..5e64818 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsEdit.aspx
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/CorporateClientsEdit.aspx
@@ -48,6 +48,17 @@
return false
}
+
+ //鏌ョ湅
+ function onViewWeihu(keyid) {
+ top.Dialog.open({ URL: "/Pages/business/CorporateClientsVisit.aspx?Keyid=" + keyid, Title: "鏌ョ湅瀹㈡埛缁存姢璁板綍", Width: 1200, Height: 900 });
+ }
+ //鏌ョ湅
+ function onViewSheji(keyid) {
+ top.Dialog.open({ URL: "/Pages/business/CorporateClientsSheji.aspx?Keyid=" + keyid, Title: "鏌ョ湅瀹㈡埛璁捐娌熼��", Width: 1200, Height: 900 });
+ }
+
+
</script>
</head>
<body>
@@ -80,7 +91,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"/>
@@ -185,18 +196,18 @@
</tr>
<tr>
<td class="ali03 ">娉ㄦ剰浜嬮」锛�</td>
- <td colspan="5"><textarea runat="server" id="txtNote" style=" width:92%; height:30px;" maxlength="200"></textarea></td>
+ <td colspan="5"><textarea runat="server" id="txtNote" style=" width:92%; height:30px;" maxlength="1000"></textarea></td>
</tr>
<tr>
<td class="ali03 ">澶囨敞锛�</td>
- <td colspan="5"><textarea runat="server" id="txtRemark" style=" width:92%; height:30px;" maxlength="200"></textarea></td>
+ <td colspan="5"><textarea runat="server" id="txtRemark" style=" width:92%; height:30px;" maxlength="1000"></textarea></td>
</tr>
<tr>
<td class="ali03 ">瀹岀粨鐘舵�侊細</td>
<td ><select id="selShifouwanjie" runat="server" datatextfield="PrintName" datavaluefield="Keyid" keepDefaultStyle='true' class=" w120px" disabled="disabled"></select></td>
<td class="ali03 "></td>
<td ></td>
<td class="ali03 "></td>
<td ><button id="Buttonupload" style="visibility:hidden;" onclick="onViewuplod('<%= GetKeyID()%>');return false;" >涓婁紶鍚堝悓</button></td>
</tr>
<tr>
<td class="ali02" colspan="6">
- <asp:Button ID="btn_Submit" Text="淇濆瓨" runat="server" OnClick="btn_Submit_Config" />
+ <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") { %>
@@ -271,8 +282,14 @@
</asp:Repeater>
</fieldset>
-
-
+ <fieldset>
+ <legend>缁存姢璁板綍</legend>
+ <button id="Button4" onclick="onViewWeihu('<%=CorporateClientsid%>')" >鏌ョ湅缁存姢璁板綍</button>
+ </fieldset>
+ <fieldset>
+ <legend>璁捐娌熼��</legend>
+ <button id="Button5" onclick="onViewSheji('<%=CorporateClientsid%>')" >鏌ョ湅璁捐娌熼��</button>
+ </fieldset>
<%-- <fieldset id="weihujilu">
<legend>娣诲姞缁存姢璁板綍</legend>
<table class="tableStyle" width="100%">
@@ -510,6 +527,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("纭瀹岀粨瀹㈡埛锛�"))
--
Gitblit v1.9.1