Procházet zdrojové kódy

签署功能补齐

laiguoran před 2 roky
rodič
revize
25682bbe21

+ 3 - 0
app/public/js/payment_detail.js

@@ -106,6 +106,9 @@ $(function () {
             }
             postData('/payment/' + tenderId + '/detail/' + detailId + '/save', { type: 'update_sign', signature_msg: rptAudit.signature_msg }, function (result) {
                 auditRptPrintHelper.showPage();
+                // 更新签署进度图表展示
+                $('#rpt_audit_sign td').eq(3).html(rptAudit.signature_msg.sign_path !== null ? '<i class="fa fa-check text-success"></i>' : '');
+                $('#rpt_audit_sign td').eq(4).html(rptAudit.signature_msg.company_stamp !== null || rptAudit.signature_msg.stamp_path !== null ? '<i class="fa fa-check text-success"></i>' : '');
             });
             $('#sub-sp5').modal('hide');
         } else {

+ 1 - 1
app/view/payment/detail_modal.ejs

@@ -120,7 +120,7 @@
                     </thead>
                     <tbody>
                     <% for (const [index, ra] of rptAuditList.entries()) { %>
-                    <tr class="text-center">
+                    <tr class="text-center" <% if (rptAudit && rptAudit.id === ra.id) { %>id="rpt_audit_sign"<% } %>>
                         <td><%- index+1 %></td>
                         <td><%- ra.signature_name %></td>
                         <td><%- ra.user_name %></td>