57 lines
926 B
HTML
57 lines
926 B
HTML
<!DOCTYPE html>
|
|
<html lang="ja">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<title>试算表</title>
|
|
<style>
|
|
table {
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
}
|
|
th, td {
|
|
border: 1px solid #ccc;
|
|
padding: 6px 10px;
|
|
text-align: right;
|
|
}
|
|
th {
|
|
background: #f5f5f5;
|
|
}
|
|
td.left {
|
|
text-align: left;
|
|
}
|
|
tfoot td {
|
|
font-weight: bold;
|
|
background: #fafafa;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<h2>試算表</h2>
|
|
|
|
<table id="trialBalanceTable">
|
|
<thead>
|
|
<tr>
|
|
<th>科目代码</th>
|
|
<th>科目名称</th>
|
|
<th>借方合计</th>
|
|
<th>贷方合计</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<!-- JS 动态插入 -->
|
|
</tbody>
|
|
<tfoot>
|
|
<tr>
|
|
<td colspan="2">合计</td>
|
|
<td id="totalDebit">0</td>
|
|
<td id="totalCredit">0</td>
|
|
</tr>
|
|
</tfoot>
|
|
</table>
|
|
|
|
<script src="./js/trial-balance.js"></script>
|
|
|
|
</body>
|
|
</html>
|