achao 3 år sedan
förälder
incheckning
8d5cfa4da7

+ 1 - 1
public/static/weightCheck.html

@@ -25,7 +25,7 @@
         width: 1000px;
         width: 1000px;
         padding: 30px 20px 20px 20px;
         padding: 30px 20px 20px 20px;
         font-size: 18px;
         font-size: 18px;
-        /* height: 686px; */
+        height: 570px;
          position: relative;
          position: relative;
       }
       }
 
 

+ 3 - 3
src/views/houseSelfCollect/weighingManagement.vue

@@ -319,7 +319,7 @@
         this.checked = false
         this.checked = false
         this.printSeparately = true
         this.printSeparately = true
       },
       },
-      changeEw(e){debugger
+      changeEw(e){
  this.ddchecked = false
  this.ddchecked = false
  this.printSeparately = true
  this.printSeparately = true
       },
       },
@@ -488,7 +488,7 @@
           window.open('../../../../static/weightCheck.html?type=2&tableData=' + JSON.stringify(this.dialogData))
           window.open('../../../../static/weightCheck.html?type=2&tableData=' + JSON.stringify(this.dialogData))
         }
         }
       },
       },
-      typePrintClick(type) {
+     async typePrintClick(type) {
         if (this.isExcelPrint) {
         if (this.isExcelPrint) {
           this.printBig(2, this.radio)
           this.printBig(2, this.radio)
           this.isExcelPrint = false
           this.isExcelPrint = false
@@ -497,7 +497,7 @@
           this.jjSelectPrintList = []
           this.jjSelectPrintList = []
           let index1 = 0;
           let index1 = 0;
           for (let i = 0; i < this.modification.length; i++) {
           for (let i = 0; i < this.modification.length; i++) {
-            getPrint({
+           await getPrint({
                 id: this.modification[i].id
                 id: this.modification[i].id
               })
               })
               .toPromise()
               .toPromise()