关于 多选
<td width="100%" class="tdFormItem"> 选择查询部门: <%=input.input(arrSearch(2))%> <input type="button" name="button" value="选择" class="btnContext" onClick="return selectData(600,500,'checkBox','HR_DepartmentConfig','hdc_id,hdc_name','hdc_id in(select distinct hdc_id from HR_SalaryTable where hst_year='+mainForm.hstYear.value+' and hst_month='+mainForm.hstMonth.value+' and sub_id =<%=sub_id%> and flag =1) and flag = 1','hdc_id','部门ID,部门名称','0,*','mainForm.hdcid,mainForm.hdcname',',','object.check();')"></td>
本文介绍了一个基于HTML和JavaScript的多选查询部门功能实现方案。通过使用按钮触发选择操作,用户可以从弹出窗口中选择多个部门,并将其ID和名称返回到主表单中进行进一步的数据处理。
884

被折叠的 条评论
为什么被折叠?



