123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242 |
- <% if (auditStatus === 1 || auditStatus === 2) { %>
- <!--变更单位-->
- <div class="modal fade" id="editcompany" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
- <div class="modal-dialog" role="document">
- <div class="modal-content">
- <div class="modal-header">
- <h5 class="modal-title" id="myModalLabel">变更单位</h5>
- <button type="button" class="close" data-dismiss="modal" aria-label="Close">
- <span aria-hidden="true">×</span>
- </button>
- </div>
- <div class="modal-body">
- <div id="companyshow">
- <% for (const company of companyList) { %>
- <div class="form-group">
- <input type="text" id="<%= company.id %>" class="form-control" value="<%= company.name %>">
- </div>
- <% } %>
- </div>
- <div class="alert alert-warning" role="alert">修改后,已创建的变更不受影响。</div>
- <p><button class="btn btn-primary btn-sm" id="addcompany" role="button" title="填写公司"><b class="fa fa-plus"></b></button></p>
- <div id="companyadddiv">
- <!--<input type="text" class="form-control" placeholder="请输入公司名称">-->
- </div>
- </div>
- <div class="modal-footer">
- <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
- <button type="button" id="updatecompany" class="btn btn-primary">确定</button>
- </div>
- </div>
- </div>
- </div>
- <script src="/public/js/change_company.js"></script>
- <% } %>
- <!--添加清单-->
- <div class="modal fade " tabindex="-1" role="dialog" aria-hidden="true" id="addlist">
- <div class="modal-dialog modal-lg">
- <div class="modal-content">
- <div class="modal-header">
- <h5 class="modal-title" id="mySmallModalLabel">从清单中选择</h5>
- <button type="button" class="close" data-dismiss="modal" aria-label="Close">
- <span aria-hidden="true">×</span>
- </button>
- </div>
- <div class="modal-body">
- <div style="height:400px;overflow-y:auto">
- <table class="table table-striped table-bordered table-condensed">
- <thead><tr><th>序号</th><th>清单编号</th><th>名称</th><th>单位</th><th>单价</th><th>选择</th></tr></thead>
- <tbody>
- <tr>
- <td>1</td>
- <td>202-1-1</td>
- <td>清理现场</td>
- <td>m2</td>
- <td>3.88</td>
- <td><input type="checkbox"></td>
- </tr>
- <tr class="table-success">
- <td>2</td>
- <td>204-1</td>
- <td>干处挖土方</td>
- <td>m3</td>
- <td>435</td>
- <td><input type="checkbox" checked></td>
- </tr>
- <tr class="table-success">
- <td>3</td>
- <td>202-1-1</td>
- <td>清理现场</td>
- <td>m2</td>
- <td>3.88</td>
- <td><input type="checkbox" checked></td>
- </tr>
- <tr>
- <td>4</td>
- <td>204-1</td>
- <td>干处挖土方</td>
- <td>m3</td>
- <td>435</td>
- <td><input type="checkbox"></td>
- </tr>
- <tr>
- <td>5</td>
- <td>202-1-1</td>
- <td>清理现场</td>
- <td>m2</td>
- <td>3.88</td>
- <td><input type="checkbox"></td>
- </tr>
- <tr>
- <td>6</td>
- <td>204-1</td>
- <td>干处挖土方</td>
- <td>m3</td>
- <td>435</td>
- <td><input type="checkbox"></td>
- </tr>
- <tr>
- <td>7</td>
- <td>202-1-1</td>
- <td>清理现场</td>
- <td>m2</td>
- <td>3.88</td>
- <td><input type="checkbox"></td>
- </tr>
- <tr>
- <td>8</td>
- <td>204-1</td>
- <td>干处挖土方</td>
- <td>m3</td>
- <td>435</td>
- <td><input type="checkbox"></td>
- </tr>
- <tr>
- <td>9</td>
- <td>202-1-1</td>
- <td>清理现场</td>
- <td>m2</td>
- <td>3.88</td>
- <td><input type="checkbox"></td>
- </tr>
- <tr>
- <td>10</td>
- <td>204-1</td>
- <td>干处挖土方</td>
- <td>m3</td>
- <td>435</td>
- <td><input type="checkbox"></td>
- </tr><tr>
- <td>11</td>
- <td>202-1-1</td>
- <td>清理现场</td>
- <td>m2</td>
- <td>3.88</td>
- <td><input type="checkbox"></td>
- </tr>
- <tr>
- <td>12</td>
- <td>204-1</td>
- <td>干处挖土方</td>
- <td>m3</td>
- <td>435</td>
- <td><input type="checkbox"></td>
- </tr>
- <tr>
- <td>13</td>
- <td>202-1-1</td>
- <td>清理现场</td>
- <td>m2</td>
- <td>3.88</td>
- <td><input type="checkbox"></td>
- </tr>
- <tr>
- <td>14</td>
- <td>204-1</td>
- <td>干处挖土方</td>
- <td>m3</td>
- <td>435</td>
- <td><input type="checkbox"></td>
- </tr>
- <tr>
- <td>15</td>
- <td>202-1-1</td>
- <td>清理现场</td>
- <td>m2</td>
- <td>3.88</td>
- <td><input type="checkbox"></td>
- </tr>
- <tr>
- <td>16</td>
- <td>204-1</td>
- <td>干处挖土方</td>
- <td>m3</td>
- <td>435</td>
- <td><input type="checkbox"></td>
- </tr>
- <tr>
- <td>17</td>
- <td>202-1-1</td>
- <td>清理现场</td>
- <td>m2</td>
- <td>3.88</td>
- <td><input type="checkbox"></td>
- </tr>
- <tr>
- <td>18</td>
- <td>204-1</td>
- <td>干处挖土方</td>
- <td>m3</td>
- <td>435</td>
- <td><input type="checkbox"></td>
- </tr>
- <tr>
- <td>19</td>
- <td>202-1-1</td>
- <td>清理现场</td>
- <td>m2</td>
- <td>3.88</td>
- <td><input type="checkbox"></td>
- </tr>
- <tr>
- <td>20</td>
- <td>204-1</td>
- <td>干处挖土方</td>
- <td>m3</td>
- <td>435</td>
- <td><input type="checkbox"></td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- <div class="modal-footer">
- <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
- <button type="button" class="btn btn-primary">添加</button>
- </div>
- </div>
- </div>
- </div>
- <!--添加附件-->
- <div class="modal fade" tabindex="-1" role="dialog" aria-hidden="true" id="addfujian">
- <div class="modal-dialog" role="document">
- <div class="modal-content">
- <div class="modal-header">
- <h5 class="modal-title" id="myModalLabel">上传附件</h5>
- <button type="button" class="close" data-dismiss="modal" aria-label="Close">
- <span aria-hidden="true">×</span>
- </button>
- </div>
- <div class="modal-body">
- <p>上传文件大小最大:10MB</p>
- <p><a href="" class="btn btn-primary">选择文件</a></p>
- </div>
- <div class="modal-footer">
- <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
- <button type="button" class="btn btn-primary">添加</button>
- </div>
- </div>
- </div>
- </div>
|