<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/webpage/include/taglib.jsp" %>
<html>
<head>
    <title>工程计算量底稿管理</title>
    <meta name="decorator" content="default"/>
</head>
<body>
<div class="single-form">
    <div class="container">
        <div class="form-group layui-row">
            <div class="form-group-label"><h2>装饰部分</h2></div>
            <div class="layui-item layui-col-xs12 form-table-container">
                <table class="table table-bordered table-condensed no-bottom-margin details">
                    <thead>
                    <tr>
                        <th><font color="red">*</font>序号</th>
                        <th><font color="red">*</font>清单编号/定额编号</th>
                        <th><font color="red">*</font>项目名称</th>
                        <th><font color="red">*</font>计量单位</th>
                        <th><font color="red">*</font>计算式</th>
                        <th><font color="red">*</font>工程量</th>
                        <th><font color="red">*</font>其他</th>
                        <th><font color="red">*</font>工程来源</th>
                    </tr>
                    </thead>
                    <tbody>
                    <c:if test="${not empty workProjectCalcDecor.workProjectCalcDecorList}">
                        <c:forEach items="${workProjectCalcDecor.workProjectCalcDecorList}" var="workProjectCalcDecor"
                                   varStatus="index">
                            <tr id="workHandBillDetailList${index.index}">
                                <td>
                                        ${workProjectCalcDecor.decorNumber}
                                </td>

                                <td>
                                        ${workProjectCalcDecor.decorCode}
                                </td>
                                <td>
                                        ${workProjectCalcDecor.projectName}
                                </td>
                                <td>
                                        ${workProjectCalcDecor.decorUnit}
                                </td>
                                <td>
                                        ${workProjectCalcDecor.decorMode}
                                </td>
                                <td>
                                        ${workProjectCalcDecor.decorSize}
                                </td>
                                <td>
                                        ${workProjectCalcDecor.decorOther}
                                </td>
                                <td>
                                        ${workProjectCalcDecor.decorOrigin}
                                </td>
                            </tr>
                        </c:forEach>
                    </c:if>
                    </tbody>
                </table>
            </div>
        </div>
        <div class="form-group layui-row">
            <div class="form-group-label"><h2>建筑部分</h2></div>
            <div class="layui-item layui-col-xs12 form-table-container">
                <table class="table table-bordered table-condensed no-bottom-margin details">
                    <thead>
                    <tr>
                        <th><font color="red">*</font>序号</th>
                        <th><font color="red">*</font>清单编号/定额编号</th>
                        <th><font color="red">*</font>项目名称</th>
                        <th><font color="red">*</font>计量单位</th>
                        <th><font color="red">*</font>计算式/索引</th>
                        <th><font color="red">*</font>工程量</th>
                        <th><font color="red">*</font>其他</th>
                        <th><font color="red">*</font>分项数据索引</th>
                    </tr>
                    </thead>
                    <tbody>
                    <c:if test="${not empty workProjectCalcDecor.workProjectCalcBuildList}">
                        <c:forEach items="${workProjectCalcDecor.workProjectCalcBuildList}" var="workProjectCalcBuild"
                                   varStatus="index">
                            <tr id="workHandBillDetailList${index.index}">
                                <td>
                                        ${workProjectCalcBuild.buildNumber}
                                </td>

                                <td>
                                        ${workProjectCalcBuild.buildCode}
                                </td>
                                <td>
                                        ${workProjectCalcBuild.projectName}
                                </td>
                                <td>
                                        ${workProjectCalcBuild.buildUnit}
                                </td>
                                <td>
                                        ${workProjectCalcBuild.buildMode}
                                </td>
                                <td>
                                        ${workProjectCalcBuild.buildSize}
                                </td>
                                <td>
                                        ${workProjectCalcBuild.buildOther}
                                </td>
                                <td>
                                        ${workProjectCalcBuild.buildIndex}
                                </td>
                            </tr>
                        </c:forEach>
                    </c:if>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
</body>
</html>