From 847fb7063af8e80bd864709ba8e97f06dc87ac4f Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 19 十一月 2025 10:02:48 +0800
Subject: [PATCH] 20251118 查看送货情况列表默认“未送货”和“配送中”的学校  完成

---
 CY_ECommercePlatform/CY.WebForm/Pages/work/Adm_zhanghaomimaAdd.aspx |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/work/Adm_zhanghaomimaAdd.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/work/Adm_zhanghaomimaAdd.aspx
index cc608bc..f029971 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/work/Adm_zhanghaomimaAdd.aspx
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/work/Adm_zhanghaomimaAdd.aspx
@@ -9,7 +9,7 @@
         //鎵归噺鍒犻櫎
         function onAllDelete() {
             var deleteKeyIds = "";
-            $(":checkbox").each(
+            $("input[name='depart']").each(
                 function () {
                     if ($(this).is(":checked")) {
                         deleteKeyIds += $(this).val() + ",";
@@ -24,6 +24,19 @@
                 $("#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>

--
Gitblit v1.9.1