From 1280aa7ceaeffcdcd52e3c0fd45c86f608f9f0cf Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期二, 05 八月 2025 09:02:10 +0800
Subject: [PATCH] 20250804 供应商,新增采购,过滤供应商
---
CY_ECommercePlatform/CY.WebForm/Pages/work/Adm_tongxunluAdd.aspx | 46 +++++++++++++++++++++++++++++++++++++++++++---
1 files changed, 43 insertions(+), 3 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/work/Adm_tongxunluAdd.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/work/Adm_tongxunluAdd.aspx
index 67faa7b..f66027c 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/work/Adm_tongxunluAdd.aspx
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/work/Adm_tongxunluAdd.aspx
@@ -6,7 +6,39 @@
<title>鏂板/淇敼閫氳褰曠鐞�</title>
<uc:CMSHead ID="CMSHead1" runat="server" />
<script type="text/javascript">
-
+ //鎵归噺鍒犻櫎
+ function onAllDelete() {
+ var deleteKeyIds = "";
+ $("input[name='depart']").each(
+ function () {
+ if ($(this).is(":checked")) {
+ deleteKeyIds += $(this).val() + ",";
+ }
+ }
+ )
+ if (deleteKeyIds == "") {
+ $("#deleteKeyIds").val(deleteKeyIds);
+ }
+ else {
+ deleteKeyIds = deleteKeyIds.substring(0, deleteKeyIds.length - 1);
+ $("#deleteKeyIds").val(deleteKeyIds);
+ }
+ }
+
+
+ function changedepartment(departid) {
+
+
+ if ($("#department" + departid).is(':checked')) {
+ $(".depart" + departid).show();
+ $(".depart" + departid).attr('checked', true);
+ $(".spann" + departid).show();
+ } else {
+ $(".depart" + departid).hide();
+ $(".spann" + departid).hide();
+ $(".depart" + departid).attr('checked', false);
+ }
+ }
</script>
</head>
<body>
@@ -58,12 +90,20 @@
<asp:TextBox ID="txtBeuzhu" TextMode="MultiLine" runat="server" Width="690px" Height="60px" MaxLength="300"></asp:TextBox>
</td>
</tr>
-
+ <tr>
+ <td class="ali03" valign="top">
+ 鏌ョ湅鍛樺伐锛�
+ </td>
+ <td >
+ <%=staffs %>
+ <input type="hidden" id="deleteKeyIds" name="deleteKeyIds" runat="server" />
+ </td>
+ </tr>
<tr>
<td colspan="2" style="text-align: center;">
- <asp:Button ID="btn_submit" runat="server" OnClick="btn_submit_form" Text="鎻愪氦" />
+ <asp:Button ID="btn_submit" runat="server" OnClientClick="onAllDelete()" OnClick="btn_submit_form" Text="鎻愪氦" />
</td>
</tr>
</table>
--
Gitblit v1.9.1