|
@@ -390,7 +390,7 @@ module.exports = app => {
|
|
|
const content = [];
|
|
|
// 获取当前报表人
|
|
|
const rptAudit = await ctx.service.paymentRptAudit.getDataByCondition({ td_id: ctx.detail.id, uid: ctx.session.sessionUser.accountId });
|
|
|
- if (report_json && report_json.items[0].interact_cells.length > 0) {
|
|
|
+ if (report_json && report_json.items && report_json.items[0].interact_cells.length > 0) {
|
|
|
for (const [i, cell] of report_json.items[0].interact_cells.entries()) {
|
|
|
cell.index = i;
|
|
|
}
|