| | |
| | | //批量删除 |
| | | function onAllDelete() { |
| | | var deleteKeyIds = ""; |
| | | $(":checkbox").each( |
| | | $("input[name='depart']").each( |
| | | function () { |
| | | if ($(this).is(":checked")) { |
| | | deleteKeyIds += $(this).val() + ","; |
| | |
| | | else { |
| | | deleteKeyIds = deleteKeyIds.substring(0, deleteKeyIds.length - 1); |
| | | $("#deleteKeyIds").val(deleteKeyIds); |
| | | } |
| | | } |
| | | function changedepartment(departid) { |
| | | |
| | | |
| | | if ($("#department" + departid).is(':checked')) { |
| | | $(".depart" + departid).show(); |
| | | $(".spann" + departid).show(); |
| | | } else { |
| | | $(".depart" + departid).hide(); |
| | | $(".spann" + departid).hide(); |
| | | $(".depart" + departid).attr('checked', false); |
| | | } |
| | | } |
| | | </script> |
| | |
| | | |
| | | <tr> |
| | | <td class="ali03"> |
| | | 产品项目: |
| | | 项目: |
| | | </td> |
| | | <td > |
| | | <input id="txtchanpinxiangmu" type="text" class="w700px req" runat="server" maxlength="100" msg="请填写产品项目"/> |
| | | <input id="txtchanpinxiangmu" type="text" class="w700px req" runat="server" maxlength="100" msg="请填写项目"/> |
| | | </td> |
| | | </tr> |
| | | <tr> |