Commit 43f4744f authored by 饶来安's avatar 饶来安

期初余额补充

parent 7b043f9b
...@@ -573,9 +573,9 @@ ...@@ -573,9 +573,9 @@
</tr> </tr>
<tr> <tr>
<td>期初余额:</td> <td>期初余额:</td>
<td></td> <td class="balance">775,342.62</td>
<td>当前余额:</td> <td>当前余额:</td>
<td>775,342.62</td> <td class="balance">775,342.62</td>
</tr> </tr>
<tr> <tr>
<td>账户状态:</td> <td>账户状态:</td>
...@@ -1015,6 +1015,7 @@ ...@@ -1015,6 +1015,7 @@
CURRENT_RANGE.to = v.dateTo; CURRENT_RANGE.to = v.dateTo;
// document.getElementById('resultArea').style.display = ''; // document.getElementById('resultArea').style.display = '';
console.log('查询结果:', rows); console.log('查询结果:', rows);
rows.length && ( document.querySelector('.balance').textContent = fmtAmt(rows[0].balance));
render(rows); render(rows);
// document.getElementById('resultArea').scrollIntoView({ behavior: 'smooth', block: 'start' }); // document.getElementById('resultArea').scrollIntoView({ behavior: 'smooth', block: 'start' });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment