Browse Source

修复bug

laiguoran 2 years ago
parent
commit
7cd69351b6
1 changed files with 1 additions and 1 deletions
  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;