Commit 1225fb02 authored by houyu's avatar houyu

打印方向

parent d8921acc
...@@ -480,8 +480,8 @@ ...@@ -480,8 +480,8 @@
} }
.f3211 { .f3211 {
left: 585px; left: 555px;
top: 950px; top: 910px;
font-size: 15.8px; font-size: 15.8px;
} }
.f3111 img, .f3111 img,
...@@ -500,11 +500,17 @@ ...@@ -500,11 +500,17 @@
parent.close_win('win_paymentVoucher') parent.close_win('win_paymentVoucher')
}) })
function doPrint() { function doPrint() {
var numSz = 2
if(${rfxm.mjyj== '002'} || ${rfxm.mjyj== '004'} ){
numSz = 1
}else{
numSz = 2
}
myDoc = { myDoc = {
settings: { settings: {
pageWidth: 2100, pageWidth: 2100,
pageHeight: 1400, pageHeight: 1400,
orientation: 2}, orientation: numSz},
documents: document, documents: document,
marginIgnored:true, marginIgnored:true,
dragDesigner: {viewSource:true}, dragDesigner: {viewSource:true},
......
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