| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 | <%include ./common.html %><div class="panel-content">    <div class="panel-title">        <div class="title-main">            <h2>                <a href="javascript:void(0);" id="save-valuation" class="btn btn-primary btn-sm pull-right">保存</a>                <a href="/compilation" class="btn btn-default btn-sm pull-right">返回</a>            </h2>        </div>    </div>    <div class="content-wrap">        <div class="c-header" style="padding:0">            <ul class="nav nav-tabs">                <% valuationList.forEach(function(valuation) { %>                <li role="presentation" <% if (valuation._id.toString() === valuationId) { %>class="active"<% } %>><a href="/compilation/valuation/<%= section %>/<%= valuation._id %>"><%= valuation.name %></a></li>                <% }) %>            </ul>        </div>        <div class="c-body">            <form action="/compilation/save-valuation" method="post" enctype="application/x-www-form-urlencoded">                <div class=" row">                    <div class="col-md-4">                        <div class="form-group">                            <label>名称</label>                            <input type="text" class="form-control" name="name" value="<%= valuationData.name %>">                        </div>                    </div>                    <div class="col-md-12">                        <legend>                            工程专业                        </legend>                        <table class="table">                            <thead>                            <tr>                                <th>工程名称</th>                                <th>标准清单</th>                                <th>定额库</th>                                <th>工料机库</th>                                <th>费率标准</th>                                <th>人工系数</th>                                <th>操作</th>                            </tr>                            </thead>                            <tbody>                                <% engineeringList.forEach(function(engineering) {%>                                <tr>                                    <td><%= engineering.name %></td>                                    <td><%= libCount !== null && libCount[engineering.value + ''] !== undefined ?                                        libCount[engineering.value + ''].bill_count : 0 %></td>                                    <td><%= libCount !== null && libCount[engineering.value + ''] !== undefined ?                                        libCount[engineering.value + ''].ration_count : 0 %></td>                                    <td><%= libCount !== null && libCount[engineering.value + ''] !== undefined ?                                        libCount[engineering.value + ''].glj_count : 0 %></td>                                    <td><%= libCount !== null && libCount[engineering.value + ''] !== undefined ?                                        libCount[engineering.value + ''].fee_count : 0 %></td>                                    <td><%= libCount !== null && libCount[engineering.value + ''] !== undefined ?                                        libCount[engineering.value + ''].artificial_count : 0 %></td>                                    <td><a href="/compilation/<%= section %>/<%= valuationId %>/<%= engineering.value %>">编辑</a></td>                                </tr>                                <% }) %>                            </tbody>                        </table>                    </div>                </div>                <input type="hidden" name="section" value="<%= section %>" id="section">                <input type="hidden" name="id" value="<%= valuationId %>">            </form>        </div>    </div></div><script type="text/javascript" src="/web/users/js/compilation.js"></script><%include ../compilation/modal.html %>
 |