Commit fdee309d authored by 顾俭's avatar 顾俭

print window

parent 676ad468
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
url = $rootScope.printUrls.printHostOutSide + baseUrl + $window.btoa(orderNo); url = $rootScope.printUrls.printHostOutSide + baseUrl + $window.btoa(orderNo);
} }
try { try {
$window.open(url); $window.open(url,"_blank","top=0,left=0,toolbar=no,menubar=no,scrollbars=yes,resizable=yes,location=no,status=no");
return true; return true;
} catch (e) { } catch (e) {
console.log(e.name + ": " + e.message); console.log(e.name + ": " + e.message);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment