ccjgmwz před 3 roky
rodič
revize
661b8254d4
1 změnil soubory, kde provedl 4 přidání a 4 odebrání
  1. 4 4
      public/static/weightCheck.html

+ 4 - 4
public/static/weightCheck.html

@@ -599,10 +599,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: {}
     })