|
@@ -284,7 +284,7 @@ $(document).ready(() => {
|
|
|
<td class="text-left pl-3">${level2.name}</td>
|
|
|
<td>${level2.gai_tp ? ZhCalc.div(level2.gai_tp, 10000) : 0}</td>
|
|
|
<td>${level2.final_tp ? ZhCalc.div(level2.final_tp, 10000) : 0}</td>
|
|
|
- <td class="${level2.gai_tp !== 0 ? (ZhCalc.sub(level2.final_tp, level2.gai_tp) > 0 ? 'text-danger' : ZhCalc.sub(level2.final_tp, level2.gai_tp) === 0 ? '' : 'text-success') : ''}">${level2.gai_tp ? ZhCalc.round(zhCalc.mul(ZhCalc.div(ZhCalc.sub(level2.final_tp, level2.gai_tp), level2.gai_tp), 100), 2) : 0}</td>
|
|
|
+ <td class="${level2.gai_tp !== 0 ? (ZhCalc.sub(level2.final_tp, level2.gai_tp) > 0 ? 'text-danger' : ZhCalc.sub(level2.final_tp, level2.gai_tp) === 0 ? '' : 'text-success') : ''}">${level2.gai_tp ? ZhCalc.round(ZhCalc.mul(ZhCalc.div(ZhCalc.sub(level2.final_tp, level2.gai_tp), level2.gai_tp), 100), 2) : 0}</td>
|
|
|
</tr>`;
|
|
|
}
|
|
|
$('#jianan-table').html(jianAnHtml);
|