style:打印模板管理
Showing
1 changed file
with
2 additions
and
0 deletions
... | @@ -171,6 +171,8 @@ | ... | @@ -171,6 +171,8 @@ |
171 | if (['zsdy', 'zmdy'].includes(that.ruleForm.tmpno)) { | 171 | if (['zsdy', 'zmdy'].includes(that.ruleForm.tmpno)) { |
172 | LODOP.SET_PRINT_PAGESIZE(2, 0, 0, "B4"); // 设置纸张大小为 B4 | 172 | LODOP.SET_PRINT_PAGESIZE(2, 0, 0, "B4"); // 设置纸张大小为 B4 |
173 | LODOP.SET_PRINT_MODE("RESELECT_ORIENT", true); // 手动设置方向 | 173 | LODOP.SET_PRINT_MODE("RESELECT_ORIENT", true); // 手动设置方向 |
174 | } else { | ||
175 | LODOP.SET_PRINT_PAGESIZE(1, 0, 0, "A4"); // 设置纸张大小为 B4 | ||
174 | } | 176 | } |
175 | LODOP.ADD_PRINT_DATA("ProgramData", this.ruleForm.tmpcontent); //装载模板 | 177 | LODOP.ADD_PRINT_DATA("ProgramData", this.ruleForm.tmpcontent); //装载模板 |
176 | //窗口关闭后,回调函数中保存的设计代码 | 178 | //窗口关闭后,回调函数中保存的设计代码 | ... | ... |
-
Please register or sign in to post a comment