TonyKang 5 سال پیش
والد
کامیت
8a7a3245b2
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      app/public/report/js/rpt_jspdf.js

+ 3 - 3
app/public/report/js/rpt_jspdf.js

@@ -122,7 +122,9 @@ let JpcJsPDFHelper = {
             } else {
                 control = cell[JV.PROP_CONTROL];
             }
-            if (cell.path) {
+            if (cell.pic) {
+                private_drawImage(doc, ctx, cell, control, cell.pic);
+            } else if (cell.path) {
                 let finded = false;
                 for (const rtpSignRel of signatureRelArr) {
                     if (!finded) {
@@ -135,8 +137,6 @@ let JpcJsPDFHelper = {
                         }
                     }
                 }
-            } else if (cell.pic) {
-                private_drawImage(doc, ctx, cell, control, cell.pic);
             }
         }