小跟新

This commit is contained in:
b110212000 2021-12-20 16:13:24 +08:00
parent 181300a852
commit 8c096317e8

View File

@ -228,67 +228,71 @@
</div>
</div>
<div class="row mb-5">
<div class="col-xl-12">
<div class="card p-3 w-100" id="overviewtable">
<table class="table m-0">
<thead id="tothead">
</thead>
<tbody id="totbody">
</tbody>
</table>
</div>
</div>
</div>
<div class="row mb-5">
<div class="col-xl-12">
<div class="card p-3 w-100" id="hiretable" style="overflow-x:auto">
<table class="table m-0">
<thead id="HireTableHead">
<tr>
<th>出租人</th>
<th>租金比例</th>
<th>租金金額(未稅)</th>
<th>租金金額(含稅)</th>
</tr>
</thead>
<tbody id="HireTableBody">
</tbody>
</table>
</div>
</div>
</div>
<div class="row mb-5">
<div class="col-xl-12">
<div class="card p-3 w-100 " id="maxtable" style="overflow-x:auto">
<table class="table m-0">
<thead>
<tr>
<th>縣市</th>
<th>平均發電量(kWp)</th>
<th>有效發電小時</th>
</tr>
</thead>
<tbody id="maxtableBody">
</tbody>
</table>
</div>
</div>
</div>
<div class="row mb-5">
<div class="col-xl-12">
<div class="card p-3 w-100" id="detailtable" style="overflow-x:auto">
<table class="table m-0">
<thead id="TableHead">
</thead>
<tbody id="TableBody">
</tbody>
</table>
<div id="all">
<div class="row mb-5">
<div class="col-xl-12">
<div class="card p-3 w-100" id="overviewtable">
<table class="table m-0">
<thead id="tothead">
</thead>
<tbody id="totbody">
</tbody>
</table>
</div>
</div>
</div>
<div class="row mb-5">
<div class="col-xl-12">
<div class="card p-3 w-100" id="hiretable" style="overflow-x:auto">
<table class="table m-0">
<thead id="HireTableHead">
<tr>
<th>出租人</th>
<th>租金比例</th>
<th>租金金額(未稅)</th>
<th>租金金額(含稅)</th>
</tr>
</thead>
<tbody id="HireTableBody">
</tbody>
</table>
</div>
</div>
</div>
<div class="row mb-5">
<div class="col-xl-12">
<div class="card p-3 w-100 " id="maxtable" style="overflow-x:auto">
<table class="table m-0">
<thead>
<tr>
<th>縣市</th>
<th>平均發電量(kWp)</th>
<th>有效發電小時</th>
</tr>
</thead>
<tbody id="maxtableBody">
</tbody>
</table>
</div>
</div>
</div>
<div class="row mb-5">
<div class="col-xl-12">
<div class="card p-3 w-100" id="detailtable" style="overflow-x:auto">
<table class="table m-0">
<thead id="TableHead">
</thead>
<tbody id="TableBody">
</tbody>
</table>
</div>
</div>
</div>
</div>
</main>
</div>
</div>
@ -840,9 +844,11 @@
$(e).removeClass("btn-primary").addClass("btn-success");
button = e;
$('#all').hide();
$('#hiretable').hide();
$('#maxtable').hide();
tablehand(form);
}
@ -1222,6 +1228,7 @@
$('#overviewtable').show();
$('#detailtable').show();
$('#all').show();
nowform = form;
}, 'json');
}