瀏覽代碼

修改打印结算

mxx 3 年之前
父節點
當前提交
3cdbeb8405
共有 2 個文件被更改,包括 6 次插入6 次删除
  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 {
       .center {
-        height: 680px;
+        height: 140vh;
       }
       }
 
 
       .part2 {
       .part2 {
@@ -1110,18 +1110,18 @@
           )
           )
           for (let i = 0; i < this.printData1.length; i++) {
           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) 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]
               this.printData1[i].identityAuthenticationInfo.compAddress = this.printData1[i]
                 .identityAuthenticationInfo
                 .identityAuthenticationInfo
-                .compAddress.substring(0, 28)
+                .compAddress.substring(0, 24)
             }
             }
           }
           }
         } else {
         } else {
           this.printData = JSON.parse(_data)
           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
             this.printData.identityAuthenticationInfo.compAddress = this.printData.identityAuthenticationInfo
-              .compAddress.substring(0, 28)
+              .compAddress.substring(0, 24)
           }
           }
           this.selectPrint = false
           this.selectPrint = false
         }
         }

+ 1 - 1
public/static/weightCheck.html

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