Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
db489352
authored
2023-09-01 15:18:36 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:打印模板管理
1 parent
5d58e4ef
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
src/views/system/dymbgl/components/editDialog.vue
src/views/system/dymbgl/components/editDialog.vue
View file @
db48935
...
...
@@ -171,6 +171,8 @@
if
([
'zsdy'
,
'zmdy'
].
includes
(
that
.
ruleForm
.
tmpno
))
{
LODOP
.
SET_PRINT_PAGESIZE
(
2
,
0
,
0
,
"B4"
);
// 设置纸张大小为 B4
LODOP
.
SET_PRINT_MODE
(
"RESELECT_ORIENT"
,
true
);
// 手动设置方向
}
else
{
LODOP
.
SET_PRINT_PAGESIZE
(
1
,
0
,
0
,
"A4"
);
// 设置纸张大小为 B4
}
LODOP
.
ADD_PRINT_DATA
(
"ProgramData"
,
this
.
ruleForm
.
tmpcontent
);
//装载模板
//窗口关闭后,回调函数中保存的设计代码
...
...
Please
register
or
sign in
to post a comment