|
@@ -147,14 +147,16 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<!--审批意见-->
|
|
|
- <div class="card-body p-3 border-top">
|
|
|
- <% if (auditor.status === auditConst.status.checking) { %>
|
|
|
- <label>审批意见<b class="text-danger">*</b></label>
|
|
|
- <textarea class="form-control form-control-sm" name="opinion">同意</textarea>
|
|
|
- <% } else { %>
|
|
|
- <p style="margin: 0;"><%- auditor.opinion %></p>
|
|
|
- <% } %>
|
|
|
- </div>
|
|
|
+ <% if(auditor.status !== auditConst.status.uncheck) { %>
|
|
|
+ <div class="card-body p-3 border-top">
|
|
|
+ <% if (ctx.advance.times === idx + 1 && auditor.status === auditConst.status.checking) { %>
|
|
|
+ <label>审批意见<b class="text-danger">*</b></label>
|
|
|
+ <textarea class="form-control form-control-sm" name="opinion">同意</textarea>
|
|
|
+ <% } else { %>
|
|
|
+ <p style="margin: 0;"><%- auditor.opinion %></p>
|
|
|
+ <% } %>
|
|
|
+ </div>
|
|
|
+ <% } %>
|
|
|
</div>
|
|
|
</div>
|
|
|
</li>
|
|
@@ -199,14 +201,16 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<!--审批意见-->
|
|
|
+ <% if(auditor.status !== auditConst.status.uncheck) { %>
|
|
|
<div class="card-body p-3 border-top">
|
|
|
- <% if (auditor.status === auditConst.status.checking) { %>
|
|
|
+ <% if (ctx.advance.times === idx + 1 && auditor.status === auditConst.status.checking) { %>
|
|
|
<label>审批意见<b class="text-danger">*</b></label>
|
|
|
<textarea class="form-control form-control-sm" name="opinion">同意</textarea>
|
|
|
<% } else { %>
|
|
|
<p style="margin: 0;"><%- auditor.opinion %></p>
|
|
|
<% } %>
|
|
|
</div>
|
|
|
+ <% } %>
|
|
|
</div>
|
|
|
</div>
|
|
|
</li>
|