问题描述: 页面操作时勾选对应的记录,传递记录id到对话框,排查sql没有问题,而且这个问题会在报表用的时候偶尔出现,刷新页面再选当前记录,弹出对话框,没有报错。 var joinData = function() { var datas = []; for (var i = 0; i < window.lineboxes.length; i++) { var checkBox = window.lineboxes[i]; if (checkBox.getValue() === true) { var colRow = FR.cellStr2ColumnRow(checkBox.options.location); colRow.col++; var location = FR.columnRow2CellStr(colRow); var value = _g().getCellValue(location, null); datas[datas.length] = value; } } return datas.join(","); } var data = joinData(); FR.showIframeDialog({ url: "${servletURL}?reportlet=/CRM_B/audit/customer_delapply_audit_batch.cpt&op=write&id=" + data, title: "延期申请批量审核", width: 630, height: 530 }); |