From e442f7fd0e43f1bcf26356c27795cdb4fc015a62 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期五, 01 八月 2025 13:15:56 +0800 Subject: [PATCH] 修改小数点位数 --- CY_ECommercePlatform/CY.WebForm/Pages/work/Adm_tongxunluAdd.aspx | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/work/Adm_tongxunluAdd.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/work/Adm_tongxunluAdd.aspx index ce53a5a..f66027c 100644 --- a/CY_ECommercePlatform/CY.WebForm/Pages/work/Adm_tongxunluAdd.aspx +++ b/CY_ECommercePlatform/CY.WebForm/Pages/work/Adm_tongxunluAdd.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,21 @@ $("#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