gjy 3 years ago
parent
commit
1dff1cf54b

+ 1 - 0
public/static/weightCheckInOut.html

@@ -206,6 +206,7 @@
         printBig() {},
       },
       mounted() {
+        console.log(this.getQueryVariable("tableData"))
         let _data = decodeURIComponent(this.getQueryVariable("tableData"))
         let _type = decodeURIComponent(this.getQueryVariable("type"))
         if (_type == 2) {

+ 1 - 1
src/views/warehouse/warehouseManagementRecord.vue

@@ -398,7 +398,7 @@
                       })
                         .toPromise()
                         .then((response) => {
-                            window.open( '../../../../static/weightCheckInOut.html?type=2&tableData=' +JSON.stringify(response))
+                            window.open( '../../../../static/weightCheckInOut.html?type=2&tableData=' +encodeURIComponent(JSON.stringify(response)))
                         })
 			},
 			//返回按钮