Commit 32fa7e2f3d9f3143b5dc031987680c06cece61a7

Authored by 娄高锋
1 parent cf82f26e

行车路单 打印功能样式修正

src/main/resources/static/pages/forms/statement/waybill.html
... ... @@ -437,7 +437,17 @@
437 437 });
438 438  
439 439 $("#print").click(function(){
440   - $("#printArea").printArea();
  440 + var temp = $("#printArea").clone(true);
  441 + temp.css("width", '');
  442 + temp.width("100%");
  443 + temp.find("#headTable").width("100%");
  444 + temp.find("#headTable").css("max-width", '100%');
  445 + temp.find("#overDiv").css("overflow", '');
  446 + temp.find("#overDiv").css("max-height", '');
  447 + temp.find("#overDiv").width("100%");
  448 + temp.find("#overDiv").css("max-width", '100%');
  449 +
  450 + temp.printArea();
441 451 });
442 452  
443 453 $("#exportMore").on("click",function(){
... ...