Browse Source

打印配置

wyq 3 years ago
parent
commit
136494da06
1 changed files with 1 additions and 9 deletions
  1. 1 9
      src/js/staticInfo.js

+ 1 - 9
src/js/staticInfo.js

@@ -244,15 +244,7 @@ function getprinting() {
     $('.scalebot').hide()
     $('#Print').css({
       'height': 'auto', //高度自动
-    }).print({
-      globalStyles: true,
-      mediaPrint: false,
-      iframe: false,
-      noPrintSelector: ".avoid-this",
-      prepend: "",
-      append: "",
-      deferred: $.Deferred().done(function () { $("title").html("合同预览") })
-    });
+    }).print()
     $('.foot').show()
     $('.scalebot').show()
     $('#Print').css({