num = prompt("请输入分期期数","");
_g().appendReportRow(this.options.location, this.options.reportIndex,num-1)
_g().setCellValue(0, 2, 2, num);
直接用按钮做插入行不久ok了么