diff --git a/public/print.html b/public/print.html index 0be00e5..3831ed7 100644 --- a/public/print.html +++ b/public/print.html @@ -1,277 +1,280 @@ - - - - - 打印 - - - - - - - -
- -
-
-
-
生成打印单4张,耗时0.40861988067627秒
- 本打印功能只能在IE浏览器使用,非IE浏览器请采用兼容模式
- 使用之前需要安装插件(点击下载),并正确设置打印机 -
-
- -
-
-
- - - - \ No newline at end of file + + + + + 打印 + + + + + + + +
+ +
+
+
+
生成打印单
+ 本打印功能只能在IE浏览器使用,非IE浏览器请采用兼容模式
+ 使用之前需要安装插件(点击下载),并正确设置打印机 +
+
+ +
+
+
+ + + + diff --git a/src/views/inventorys/index.vue b/src/views/inventorys/index.vue index 462a483..df5a953 100644 --- a/src/views/inventorys/index.vue +++ b/src/views/inventorys/index.vue @@ -165,9 +165,9 @@ selectionChange(e){ console.log(e) if(e.length>0){ - for(var m of e){ - m = escape(m) - } + // for(var m of e){ + // m = escape(m) + // } this.printObj = e } @@ -181,6 +181,11 @@ }) return } + for(var m of this.printObj){ + for(var k in m){ + m[k] = encodeURI(encodeURI(m[k])) + } + } Cookies.set('objs', this.printObj) window.open('/admin/print.html','_blank') }, diff --git a/src/views/outbounds/component/addoutbounds.vue b/src/views/outbounds/component/addoutbounds.vue index ce3c70b..f168705 100644 --- a/src/views/outbounds/component/addoutbounds.vue +++ b/src/views/outbounds/component/addoutbounds.vue @@ -1,6 +1,6 @@