gjy 3 年之前
父节点
当前提交
1dff1cf54b
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 0
      public/static/weightCheckInOut.html
  2. 1 1
      src/views/warehouse/warehouseManagementRecord.vue

+ 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)))
                         })
 			},
 			//返回按钮