|
@@ -308,7 +308,7 @@ function recursiveGetTenderNodeHtml (node, arr, pid) {
|
|
|
const html = [];
|
|
|
html.push('<tr pid="' + pid + '">');
|
|
|
// 名称
|
|
|
- html.push('<td width="40%" class="in-' + node.level + '">');
|
|
|
+ html.push('<td width="30%" class="in-' + node.level + '">');
|
|
|
if (node.cid) {
|
|
|
html.push('<span onselectstart="return false" style="{-moz-user-select:none}" class="fold-switch mr-1" title="收起" cid="'+ node.sort_id +'"><i class="fa fa-minus-square-o"></i></span> <i class="fa fa-folder-o"></i> ', node.name);
|
|
|
} else {
|
|
@@ -325,6 +325,13 @@ function recursiveGetTenderNodeHtml (node, arr, pid) {
|
|
|
html.push(node.lastStage ? '第' + node.lastStage.order + '期' : '台账');
|
|
|
}
|
|
|
html.push('</td>');
|
|
|
+
|
|
|
+ // 审批状态
|
|
|
+ html.push('<td style="width: 10%">');
|
|
|
+ html.push(node.lastStage ? auditConst.stage.statusString[node.lastStage.status] : auditConst.ledger.statusString[node.ledger_status]);
|
|
|
+ html.push(node.status_users ? '(' + node.status_users + ')' : '');
|
|
|
+ html.push('</td>');
|
|
|
+
|
|
|
// 累计合同计量
|
|
|
html.push('<td width="15%" class="text-right">');
|
|
|
const sum = node.lastStage ? ZhCalc.add(node.total_price, node.lastStage.end_qc_tp) : node.total_price;
|
|
@@ -352,10 +359,11 @@ function getTenderTreeHtml () {
|
|
|
const html = [];
|
|
|
html.push('<table class="table table-hover table-bordered">');
|
|
|
html.push('<thead style="position: fixed;left:56px;top: 34px;">', '<tr>');
|
|
|
- html.push('<th style="width: 35%" class="text-center">', '标段名称', '</th>');
|
|
|
+ html.push('<th style="width: 30%" class="text-center">', '标段名称', '</th>');
|
|
|
html.push('<th style="width: 10%" class="text-center">', '计量期数', '</th>');
|
|
|
+ html.push('<th style="width: 10%" class="text-center">','审批状态','</th>');
|
|
|
html.push('<th style="width: 10%" class="text-center">', '总价 <i class="fa fa-question-circle text-primary" data-placement="bottom" data-toggle="tooltip" data-original-title="0号台账+截止本期数量变更"></i>', '</th>');
|
|
|
- html.push('<th style="width: 45%" class="text-center">', '截止上期完成/本期完成/未完成', '</th>');
|
|
|
+ html.push('<th style="width: 40%" class="text-center">', '截止上期完成/本期完成/未完成', '</th>');
|
|
|
html.push('</tr>', '</thead>');
|
|
|
parentId = 0;
|
|
|
for (const t of tenderTree) {
|