浏览代码

修复bug

laiguoran 2 年之前
父节点
当前提交
7cd69351b6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/public/js/payment_process.js

+ 1 - 1
app/public/js/payment_process.js

@@ -25,7 +25,7 @@ $(function () {
                 html.push(`<tr data-id="${data.id}">\n`);
                 html.push(`<td>${data.rpt_name}</td>\n`);
                 html.push(`<td>${data.user_name}</td>\n`);
-                html.push(`<td>${_.find(accountList, { id: data.uid }).name}</td>\n`);
+                html.push(`<td>${data.uid ? _.find(accountList, { id: data.uid }).name : ''}</td>\n`);
                 html.push('</tr>\n');
             }
             tenderRptList = result;