设置选中:$("#hasApply").prop("checked",true);
设置不选中:$("#hasApply").prop("checked",false);
获取选中的状态:var status = $("#hasApply").prop("checked");