|
|
@@ -67,7 +67,7 @@
|
|
|
<div class="row m-0 px-0 mb-2" style="height: 50%;">
|
|
|
<div class="col-4 px-0 bg-dark height-100">
|
|
|
<div class="col-12 text-white pt-2">
|
|
|
- <div class="card-big-htext">| 金额对比<span class="float-right mr-2"> </span></div>
|
|
|
+ <div class="card-big-htext">| 金额对比<span class="float-right mr-2">万元 </span></div>
|
|
|
</div>
|
|
|
<div class="col-12 pb-2 text-white m-0 mt-2 bg-dark" style="height: 89%;overflow: auto;">
|
|
|
<style>
|
|
|
@@ -179,7 +179,7 @@
|
|
|
<div class="m-0 mb-2 bg-dark p-0" style="height: 31.2vh">
|
|
|
<div class="row mx-0 mb-2 height-100">
|
|
|
<div class="col-12 text-white pt-2 pl-3">
|
|
|
- <div class="card-big-htext">| 利润占比<span class="float-right mr-2"> </span></div>
|
|
|
+ <div class="card-big-htext">| 利润占比<span class="float-right mr-2">万元 </span></div>
|
|
|
</div>
|
|
|
<div class="col-12 m-0" style="height: 88%">
|
|
|
<div class="jlwcdchart" id="jlwcdchart" style="height: 100%; width: 100%;"></div>
|
|
|
@@ -208,175 +208,6 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
-<!-- <div class="row mx-2" style="height: 63.5vh">-->
|
|
|
-<!-- <div class="col-3 px-0 height-100">-->
|
|
|
-<!-- <div class="left-content height-100">-->
|
|
|
-<!-- <div class="left-card-content height-100">-->
|
|
|
-<!-- <div class="height-25 mb-2">-->
|
|
|
-<!-- <div class="card text-center bg-dark text-white mr-2 py-2 height-100">-->
|
|
|
-<!-- <div class="height-100" style="display: grid;place-items: center;">-->
|
|
|
-<!-- <div style="line-height: 3;">-->
|
|
|
-<!-- <div style="font-size: 1.5rem" class="data_total_in_tp">0.00</div>-->
|
|
|
-<!-- <div style="font-size: .9rem;">-->
|
|
|
-<!-- <span style="background-color: #42474c;border-radius: 1rem;padding: .25rem .75rem">项目收入</span>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- <div class="height-25 mb-2">-->
|
|
|
-<!-- <div class="card text-center bg-dark text-white mr-2 py-2 height-100">-->
|
|
|
-<!-- <div class="height-100" style="display: grid;place-items: center;">-->
|
|
|
-<!-- <div style="line-height: 3;">-->
|
|
|
-<!-- <div style="font-size: 1.5rem" class="data_total_out_tp">0.00</div>-->
|
|
|
-<!-- <div style="font-size: .9rem;">-->
|
|
|
-<!-- <span style="background-color: #42474c;border-radius: 1rem;padding: .25rem .75rem">项目支出</span>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- <div class="height-25 mb-2">-->
|
|
|
-<!-- <div class="card text-center bg-dark text-white mr-2 py-2 height-100">-->
|
|
|
-<!-- <div class="height-100" style="display: grid;place-items: center;">-->
|
|
|
-<!-- <div style="line-height: 3;">-->
|
|
|
-<!-- <div style="font-size: 1.5rem" class="data_total_profit">0.00</div>-->
|
|
|
-<!-- <div style="font-size: .9rem;">-->
|
|
|
-<!-- <span style="background-color: #42474c;border-radius: 1rem;padding: .25rem .75rem">利润</span>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- <div class="height-25" style="height: 24.3%">-->
|
|
|
-<!-- <div class="card text-center bg-dark text-white mr-2 py-2 height-100">-->
|
|
|
-<!-- <div class="height-100" style="display: grid;place-items: center;">-->
|
|
|
-<!-- <div style="line-height: 3;">-->
|
|
|
-<!-- <div style="font-size: 1.5rem" class="data_total_profit_percent">0%</div>-->
|
|
|
-<!-- <div style="font-size: .9rem;">-->
|
|
|
-<!-- <span style="background-color: #42474c;border-radius: 1rem;padding: .25rem .75rem">利润率</span>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- <div class="col-6 px-0 height-100">-->
|
|
|
-<!-- <div class="center-content height-100 mr-2">-->
|
|
|
-<!-- <div class="center-chart-content height-100">-->
|
|
|
-<!-- <div class="center-di">-->
|
|
|
-<!-- <div class="card bg-dark height-100">-->
|
|
|
-<!-- <div class="jlchart" data-chart-num="1" id="jlchart" style="height: 100%; width: 100%;"></div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- <div class="center-chart">-->
|
|
|
-<!-- <div class="card height-100 bg-dark mt-2">-->
|
|
|
-<!-- <div class="di-content mb-2">-->
|
|
|
-<!-- <div class="jldbchart" data-chart-num="1" id="jldbchart" style="height: 100%; width: 100%;"></div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- <div class="col-3 px-0 height-100">-->
|
|
|
-<!-- <div class="right-content height-100">-->
|
|
|
-<!-- <div class="right-chart-content height-100">-->
|
|
|
-<!-- <div class="right-month">-->
|
|
|
-<!-- <h6 class="card bg-dark text-center text-white m-0 pt-2 pb-3">期数统计</h6>-->
|
|
|
-<!-- <div class="row right-month-height">-->
|
|
|
-<!-- <div class="col-6 pr-0 height-50">-->
|
|
|
-<!-- <div class="card text-center bg-dark text-white border-right-0 border-botton-0 height-100">-->
|
|
|
-<!-- <div class="card-body card-small-body height-100">-->
|
|
|
-<!-- <h5 class="card-title text-center height-50" style="font-size: 2.80rem;line-height: 200%"><span class="stage_num">0</span></h5>-->
|
|
|
-<!-- <p class="card-text text-muted height-50">计量期</p>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- <div class="col-6 pl-0 height-50">-->
|
|
|
-<!-- <div class="card text-center bg-dark text-white border-botton-0 height-100">-->
|
|
|
-<!-- <div class="card-body card-small-body height-100">-->
|
|
|
-<!-- <h5 class="card-title text-center height-50" style="font-size: 2.80rem;line-height: 200%"><span class="cost_ledger_num">0</span></h5>-->
|
|
|
-<!-- <p class="card-text text-muted height-50">成本报审</p>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- <div class="col-6 pr-0 height-50">-->
|
|
|
-<!-- <div class="card text-center bg-dark text-white border-right-0 border-top-0 height-100">-->
|
|
|
-<!-- <div class="card-body card-small-body height-100">-->
|
|
|
-<!-- <h5 class="card-title text-center height-50" style="font-size: 2.80rem;line-height: 200%"><span class="cost_book_num">0</span></h5>-->
|
|
|
-<!-- <p class="card-text text-muted height-50">财务账面</p>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- <div class="col-6 pl-0 height-50">-->
|
|
|
-<!-- <div class="card text-center bg-dark text-white border-top-0 height-100">-->
|
|
|
-<!-- <div class="card-body card-small-body height-100">-->
|
|
|
-<!-- <h5 class="card-title text-center height-50" style="font-size: 2.80rem;line-height: 200%"><span class="cost_analysis_num">0</span></h5>-->
|
|
|
-<!-- <p class="card-text text-muted height-50">成本分析</p>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- <div class="right-chart">-->
|
|
|
-<!-- <div class="card height-100 bg-dark">-->
|
|
|
-<!-- <div class="jlwcdchart" id="jlwcdchart" style="height: 100%; width: 100%;"></div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- <div class="row mx-2" style="height: 32vh">-->
|
|
|
-<!-- <div class="col-9 px-0 pt-1 height-100">-->
|
|
|
-<!-- <div class="center-table height-100" style="padding-right: .5rem !important;">-->
|
|
|
-<!-- <div class="card height-100 bg-dark mt-2">-->
|
|
|
-<!-- <h6 class="bg-dark text-center text-white m-0 py-3">投资控制(万元)</h6>-->
|
|
|
-<!-- <div class="tablebox">-->
|
|
|
-<!-- <table id="tableId">-->
|
|
|
-<!-- <thead>-->
|
|
|
-<!-- <tr class="text-center">-->
|
|
|
-<!-- <th></th>-->
|
|
|
-<!-- <th>投资估算</th>-->
|
|
|
-<!-- <th>设计概算</th>-->
|
|
|
-<!-- <th>施工图预算</th>-->
|
|
|
-<!-- <th>控制目标</th>-->
|
|
|
-<!-- <th>已完成</th>-->
|
|
|
-<!-- <th>完成比例(%)</th>-->
|
|
|
-<!-- </tr>-->
|
|
|
-<!-- </thead>-->
|
|
|
-<!-- <tbody class="stage-data">-->
|
|
|
-<!-- </tbody>-->
|
|
|
-<!-- </table>-->
|
|
|
-<!-- <table id="tableId1"></table>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- <div class="col-3 px-0 pt-1 height-100">-->
|
|
|
-<!-- <div class="right-biaoduan height-100">-->
|
|
|
-<!-- <div class="card height-100 bg-dark mt-2">-->
|
|
|
-<!-- <h6 class="bg-dark text-center text-white m-0 py-3">利润率排名</h6>-->
|
|
|
-<!-- <div class="tablebox">-->
|
|
|
-<!-- <table id="profit_tableId">-->
|
|
|
-<!-- <thead>-->
|
|
|
-<!-- <tr class="text-center">-->
|
|
|
-<!-- <th></th>-->
|
|
|
-<!-- <th>标段</th>-->
|
|
|
-<!-- <th>利润率</th>-->
|
|
|
-<!-- </tr>-->
|
|
|
-<!-- </thead>-->
|
|
|
-<!-- <tbody class="tender-data">-->
|
|
|
-<!-- </tbody>-->
|
|
|
-<!-- </table>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
-<!-- </div>-->
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -1023,7 +854,7 @@
|
|
|
chart_option2_data.push(stage_tp.profit ? ZhCalc.round(ZhCalc.div(stage_tp.profit, 10000), 0) : 0);
|
|
|
chart_option3_data.push(stage_tp.profit_percent ? stage_tp.profit_percent : 0);
|
|
|
chart_option_name.push(t.name);
|
|
|
- chart_option1_data.push({ value: stage_tp.profit, name: t.name});
|
|
|
+ chart_option1_data.push({ value: stage_tp.profit ? ZhCalc.round(ZhCalc.div(stage_tp.profit, 10000), 0) : 0, name: t.name});
|
|
|
}
|
|
|
const dutyInfo = t.cost_duty ? t.cost_duty : null;
|
|
|
if (dutyInfo) {
|
|
|
@@ -1094,13 +925,13 @@
|
|
|
const profit_percent = total_in_tp && total_profit ? ZhCalc.round(ZhCalc.div(total_profit, total_in_tp) * 100, 2) : 0;
|
|
|
const profit_duty_percent = total_duty_in_tp && total_duty_profit ? ZhCalc.round(ZhCalc.div(total_duty_profit, total_duty_in_tp) * 100, 2) : 0;
|
|
|
$('.data_total_profit_percent').text(profit_percent ? profit_percent + '%' : '0%');
|
|
|
- $('.data_total_in_tp').text(formatMoney(total_in_tp));
|
|
|
- $('.data_total_out_tp').text(formatMoney(total_out_tp));
|
|
|
- $('.data_total_profit').text(formatMoney(total_profit));
|
|
|
+ $('.data_total_in_tp').text(formatMoney(ZhCalc.round(ZhCalc.div(total_in_tp, 10000), 0)));
|
|
|
+ $('.data_total_out_tp').text(formatMoney(ZhCalc.round(ZhCalc.div(total_out_tp, 10000), 0)));
|
|
|
+ $('.data_total_profit').text(formatMoney(ZhCalc.round(ZhCalc.div(total_profit, 10000), 0)));
|
|
|
$('.data_duty_total_profit_percent').text(profit_duty_percent ? profit_duty_percent + '%' : '0%');
|
|
|
- $('.data_duty_total_in_tp').text(formatMoney(total_duty_in_tp));
|
|
|
- $('.data_duty_total_out_tp').text(formatMoney(total_duty_out_tp));
|
|
|
- $('.data_duty_total_profit').text(formatMoney(total_duty_profit));
|
|
|
+ $('.data_duty_total_in_tp').text(formatMoney(ZhCalc.round(ZhCalc.div(total_duty_in_tp, 10000), 0)));
|
|
|
+ $('.data_duty_total_out_tp').text(formatMoney(ZhCalc.round(ZhCalc.div(total_duty_out_tp, 10000), 0)));
|
|
|
+ $('.data_duty_total_profit').text(formatMoney(ZhCalc.round(ZhCalc.div(total_duty_profit, 10000), 0)));
|
|
|
$('.stage_num').text(stage_num);
|
|
|
$('.cost_ledger_num').text(cost_ledger_num);
|
|
|
$('.cost_analysis_num').text(cost_analysis_num);
|