Ver Fonte

修改打印结算

mxx há 3 anos atrás
pai
commit
3cdbeb8405
2 ficheiros alterados com 6 adições e 6 exclusões
  1. 5 5
      public/static/payprint.html
  2. 1 1
      public/static/weightCheck.html

+ 5 - 5
public/static/payprint.html

@@ -156,7 +156,7 @@
       }
 
       .center {
-        height: 680px;
+        height: 140vh;
       }
 
       .part2 {
@@ -1110,18 +1110,18 @@
           )
           for (let i = 0; i < this.printData1.length; i++) {
             if(!this.printData1[i].identityAuthenticationInfo.compAddress) this.printData1[i].identityAuthenticationInfo.compAddress=''
-            if (this.printData1[i].identityAuthenticationInfo.compAddress.length > 28) {
+            if (this.printData1[i].identityAuthenticationInfo.compAddress.length > 24) {
               this.printData1[i].identityAuthenticationInfo.compAddress = this.printData1[i]
                 .identityAuthenticationInfo
-                .compAddress.substring(0, 28)
+                .compAddress.substring(0, 24)
             }
           }
         } else {
           this.printData = JSON.parse(_data)
           //地址过长截取
-          if (this.printData.identityAuthenticationInfo.compAddress.length > 28) {
+          if (this.printData.identityAuthenticationInfo.compAddress.length > 24) {
             this.printData.identityAuthenticationInfo.compAddress = this.printData.identityAuthenticationInfo
-              .compAddress.substring(0, 28)
+              .compAddress.substring(0, 24)
           }
           this.selectPrint = false
         }

+ 1 - 1
public/static/weightCheck.html

@@ -22,7 +22,7 @@
         width: 1000px;
         padding: 30px 20px 20px 20px;
         font-size: 18px;
-        height: 65vh;
+        height: 660px;
       }
 
       .a5-content {