Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
2c9e7604
Commit
2c9e7604
authored
Jul 06, 2020
by
季圣华
Browse files
解决打印高度的问题
parent
a5a225e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
erp_web/js/print/print_form.html
View file @
2c9e7604
...
@@ -22,8 +22,8 @@
...
@@ -22,8 +22,8 @@
document
.
write
(
tableString
);
document
.
write
(
tableString
);
var
rowLen
=
$
(
"
.datagrid .datagrid-view2 .datagrid-body .datagrid-row
"
).
length
;
var
rowLen
=
$
(
"
.datagrid .datagrid-view2 .datagrid-body .datagrid-row
"
).
length
;
if
(
rowLen
>
7
)
{
if
(
rowLen
>
7
)
{
var
allHeight
=
(
rowLen
+
2
)
*
2
5
;
var
allHeight
=
(
rowLen
+
2
)
*
3
5
;
var
rowHeight
=
rowLen
*
2
5
;
var
rowHeight
=
rowLen
*
3
5
;
$
(
"
.datagrid .datagrid-wrap
"
).
height
(
allHeight
);
$
(
"
.datagrid .datagrid-wrap
"
).
height
(
allHeight
);
$
(
"
.datagrid .datagrid-view
"
).
height
(
allHeight
);
$
(
"
.datagrid .datagrid-view
"
).
height
(
allHeight
);
$
(
"
.datagrid .datagrid-view1 .datagrid-body
"
).
height
(
rowHeight
);
$
(
"
.datagrid .datagrid-view1 .datagrid-body
"
).
height
(
rowHeight
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment