@@ -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()