|
@@ -45,26 +45,27 @@
|
|
<!--修订中-->
|
|
<!--修订中-->
|
|
<table class="table table-bordered">
|
|
<table class="table table-bordered">
|
|
<thead>
|
|
<thead>
|
|
- <tr>
|
|
|
|
- <th></th>
|
|
|
|
- <th>创建时间</th>
|
|
|
|
- <th>提交人</th>
|
|
|
|
- <th>状态</th>
|
|
|
|
- <th>完成时间</th>
|
|
|
|
- <th>操作</th>
|
|
|
|
|
|
+ <tr class="text-center">
|
|
|
|
+ <th width="60px"></th>
|
|
|
|
+ <th width="150px">创建时间</th>
|
|
|
|
+ <th width="150px">提交人</th>
|
|
|
|
+ <th width="150px">状态</th>
|
|
|
|
+ <th width="150px">完成时间</th>
|
|
|
|
+ <th>修订详情</th>
|
|
|
|
+ <th width="200px">操作</th>
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
<% for (const lr of ledgerRevise) { %>
|
|
<% for (const lr of ledgerRevise) { %>
|
|
<tr>
|
|
<tr>
|
|
- <td><%- lr.corder %></td>
|
|
|
|
- <td><%- lr.in_time ? ctx.moment(lr.in_time).format('YYYY-MM-DD HH:mm:ss') : '' %></td>
|
|
|
|
- <td><%- lr.user_name %></td>
|
|
|
|
|
|
+ <td class="text-center"><%- lr.corder %></td>
|
|
|
|
+ <td class="text-center"><%- lr.in_time ? ctx.moment(lr.in_time).format('YYYY-MM-DD HH:mm:ss') : '' %></td>
|
|
|
|
+ <td class="text-center"><%- lr.user_name %></td>
|
|
<% if (!lr.valid) {%>
|
|
<% if (!lr.valid) {%>
|
|
- <td class="text-danger">
|
|
|
|
|
|
+ <td class="text-danger text-center">
|
|
作废
|
|
作废
|
|
</td>
|
|
</td>
|
|
<% } else { %>
|
|
<% } else { %>
|
|
- <td class="<%- auditConst.auditProgressClass[lr.status] %>">
|
|
|
|
|
|
+ <td class="<%- auditConst.auditProgressClass[lr.status] %> text-center">
|
|
<% if (lr.curAuditor) { %>
|
|
<% if (lr.curAuditor) { %>
|
|
<% const curAuditor = lr.curAuditors[0]; %>
|
|
<% const curAuditor = lr.curAuditors[0]; %>
|
|
<% if (curAuditor.audit_type === auditType.key.common) { %>
|
|
<% if (curAuditor.audit_type === auditType.key.common) { %>
|
|
@@ -76,7 +77,10 @@
|
|
<%- auditConst.auditProgress[lr.status] %>
|
|
<%- auditConst.auditProgress[lr.status] %>
|
|
</td>
|
|
</td>
|
|
<% } %>
|
|
<% } %>
|
|
- <td><%- lr.end_time ? ctx.moment(lr.end_time).format('YYYY-MM-DD') : '' %></td>
|
|
|
|
|
|
+ <td class="text-center"><%- lr.end_time ? ctx.moment(lr.end_time).format('YYYY-MM-DD') : '' %></td>
|
|
|
|
+ <td style="text-overflow: ellipsis; overflow: hidden; white-space: nowrap; positive: relative; max-width: 450px" title="<%- lr.content %>">
|
|
|
|
+ <%- lr.content %>
|
|
|
|
+ </td>
|
|
<td>
|
|
<td>
|
|
<% if (lr.valid) { %>
|
|
<% if (lr.valid) { %>
|
|
<% if (lr.status === auditConst.status.uncheck && lr.uid === ctx.session.sessionUser.accountId) { %>
|
|
<% if (lr.status === auditConst.status.uncheck && lr.uid === ctx.session.sessionUser.accountId) { %>
|