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
5aafaab6
authored
2023-12-18 16:09:30 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev'
2 parents
6c65649c
1faf57ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
src/views/system/dymbgl/components/editDialog.vue
src/views/system/dymbgl/components/editDialog.vue
View file @
5aafaab
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-1
1-23 13:29:37
* @LastEditTime: 2023-1
2-18 16:08:26
-->
<
template
>
<el-form
ref=
"ruleForm"
:model=
"ruleForm"
label-width=
"100px"
:rules=
"rules"
>
...
...
@@ -168,11 +168,11 @@
let
that
=
this
;
that
.
loadStatus
=
'1'
;
let
LODOP
=
getLodop
(
document
.
getElementById
(
'LODOP_OB'
),
document
.
getElementById
(
'LODOP_EM'
));
if
([
'zsdy'
,
'zmdy'
].
includes
(
that
.
ruleForm
.
tmpno
))
{
LODOP
.
SET_PRINT_PAGESIZE
(
2
,
0
,
0
,
"B4"
);
// 设置纸张大小为 B4
if
([
'zsdy'
,
'zmdy'
,
'zsdy1'
].
includes
(
that
.
ruleForm
.
tmpno
))
{
LODOP
.
SET_PRINT_PAGESIZE
(
2
,
0
,
0
,
"B4
IS) 旋转
"
);
// 设置纸张大小为 B4
LODOP
.
SET_PRINT_MODE
(
"RESELECT_ORIENT"
,
true
);
// 手动设置方向
}
else
{
LODOP
.
SET_PRINT_PAGESIZE
(
1
,
0
,
0
,
"A4"
);
// 设置纸张大小为
B
4
LODOP
.
SET_PRINT_PAGESIZE
(
1
,
0
,
0
,
"A4"
);
// 设置纸张大小为
A
4
}
LODOP
.
ADD_PRINT_DATA
(
"ProgramData"
,
this
.
ruleForm
.
tmpcontent
);
//装载模板
//窗口关闭后,回调函数中保存的设计代码
...
...
Please
register
or
sign in
to post a comment