ccj 2 년 전
부모
커밋
b7f80c00c1
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      public/static/weightCheckOutNew.html

+ 4 - 4
public/static/weightCheckOutNew.html

@@ -701,10 +701,10 @@
             // this.tableData = JSON.parse(sessionStorage.getItem("record_print"))
 
             document.title = "粮食检斤单"
-                //window.print()
-                //window.onafterprint = function(event) {
-                //  window.history.back(-1)
-                //};
+            window.print()
+            window.onafterprint = function(event) {
+                window.history.back(-1)
+            };
         },
         watch: {}
     })