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
3a5d8586
authored
2024-03-05 16:35:17 +0800
by
“miaofang
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev' of
http://yun.pashanhoo.com:9090/bdc/bdcdj-web
into dev
2 parents
23ae31ad
0ad6e0d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/views/system/dymbgl/components/editDialog.vue
src/views/system/dymbgl/components/editDialog.vue
View file @
3a5d858
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 202
3-12-19 09:40:39
* @LastEditTime: 202
4-03-05 16:03:50
-->
<
template
>
<el-form
ref=
"ruleForm"
:model=
"ruleForm"
label-width=
"100px"
:rules=
"rules"
>
...
...
@@ -169,11 +169,11 @@
that
.
loadStatus
=
'1'
;
let
LODOP
=
getLodop
(
document
.
getElementById
(
'LODOP_OB'
),
document
.
getElementById
(
'LODOP_EM'
));
if
([
'zsdy'
,
'zmdy'
,
'zsdy1'
].
includes
(
that
.
ruleForm
.
tmpno
))
{
// LODOP.SET_PRINT_PAGESIZE(2, 0, 0, "B4 (JIS) 旋转"); // 设置纸张大小为 B4
LODOP
.
SET_PRINT_MODE
(
"RESELECT_ORIENT"
,
true
);
// 手动设置方向
LODOP
.
SET_PRINT_PAGESIZE
(
1
,
0
,
0
,
"B4 (JIS) 旋转"
);
// 设置纸张大小为 B4
}
else
{
LODOP
.
SET_PRINT_PAGESIZE
(
1
,
0
,
0
,
"A4"
);
// 设置纸张大小为 A4
}
LODOP
.
SET_PRINT_MODE
(
"RESELECT_ORIENT"
,
true
);
// 手动设置方向
LODOP
.
ADD_PRINT_DATA
(
"ProgramData"
,
this
.
ruleForm
.
tmpcontent
);
//装载模板
//窗口关闭后,回调函数中保存的设计代码
if
(
LODOP
.
CVERSION
)
...
...
Please
register
or
sign in
to post a comment