Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
5fd32b1d
Commit
5fd32b1d
authored
Jul 22, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
财务日报打印优化
parent
f41ceb34
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
8 deletions
+28
-8
daily_details.html
application/index/view/finance/daily_details.html
+11
-7
financial_manager_daily_list.js
public/resource/js/financial_manager_daily_list.js
+17
-1
No files found.
application/index/view/finance/daily_details.html
View file @
5fd32b1d
...
@@ -143,7 +143,7 @@
...
@@ -143,7 +143,7 @@
display
:
none
;
display
:
none
;
}
}
h4
{
h4
{
font-weight
:
7
00
;
font-weight
:
6
00
;
font-size
:
16px
;
font-size
:
16px
;
margin
:
0
;
margin
:
0
;
margin-bottom
:
5px
;
margin-bottom
:
5px
;
...
@@ -152,7 +152,7 @@
...
@@ -152,7 +152,7 @@
.manager-title
{
.manager-title
{
float
:
left
;
float
:
left
;
font-size
:
16px
;
font-size
:
16px
;
font-weight
:
7
00
;
font-weight
:
6
00
;
margin-top
:
11px
;
margin-top
:
11px
;
}
}
.btn4-pk
{
.btn4-pk
{
...
@@ -332,6 +332,7 @@
...
@@ -332,6 +332,7 @@
ul
{
ul
{
-webkit-padding-start
:
0px
!important
;
-webkit-padding-start
:
0px
!important
;
}
}
</style>
</style>
<div
id=
"page-content-wrapper"
>
<div
id=
"page-content-wrapper"
>
<div
class=
"container"
id=
"screen_shot_area"
>
<div
class=
"container"
id=
"screen_shot_area"
>
...
@@ -343,12 +344,15 @@
...
@@ -343,12 +344,15 @@
<div
class=
"tip-con text-danger"
>
<div
class=
"tip-con text-danger"
>
注: 1、 财务日报的账目由当天的正常收款、调整收款、调整出账构成。当日的财务日报里 调整收款+调整出账=0
<br/>
2、当日的财务日报 显示当日 属于本门店的所有经纪人操作账目。即 账目的 操作人是属于本门店的,操作时间是当天。
<br/>
3、前端开发控制 财务审核前,店长都可以进行修改,财务开始审核后,只有财务可以修改。
注: 1、 财务日报的账目由当天的正常收款、调整收款、调整出账构成。当日的财务日报里 调整收款+调整出账=0
<br/>
2、当日的财务日报 显示当日 属于本门店的所有经纪人操作账目。即 账目的 操作人是属于本门店的,操作时间是当天。
<br/>
3、前端开发控制 财务审核前,店长都可以进行修改,财务开始审核后,只有财务可以修改。
</div>
</div>
<span
class=
"manager-title ld-Marheight"
>
杭州同联- 九部一组周小雨
</span>
<input
class=
"btn4-pk ld-Marheight input-pk-style"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"create_time_start"
name=
"start_date1"
type=
"date"
>
<span
class=
"is-print ld-Marheight"
>
打印
</span>
<span
class=
"is-print ld-Marheight"
>
打印
</span>
<a
class=
"btn btn-default is-close ld-Marheight"
style=
"display: none;margin-left: 20px;"
>
关闭
</a>
<a
class=
"btn btn-default is-close ld-Marheight"
style=
"display: none;margin-left: 20px;"
>
关闭
</a>
</li>
<!--startprint1-->
<li>
<div
class=
"text-center"
>
<span
class=
"manager-title ld-Marheight"
style=
"font-weight: 600;"
>
杭州同联- 九部一组周小雨
</span>
<input
class=
"btn4-pk ld-Marheight input-pk-style"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"create_time_start"
name=
"start_date1"
type=
"date"
>
</div>
</li>
</li>
</div>
</div>
<div
class=
"panel-body manager-daily-detail"
>
<div
class=
"panel-body manager-daily-detail"
>
...
@@ -869,7 +873,7 @@
...
@@ -869,7 +873,7 @@
</table>
</table>
</div>
</div>
</div>
</div>
<!--endprint1-->
<div
class=
"is-submit-div text-center"
>
<div
class=
"is-submit-div text-center"
>
<!--<div class="is-submit">提交</div>-->
<!--<div class="is-submit">提交</div>-->
<a
class=
"btn btn-primary is-submit"
>
提交
</a>
<a
class=
"btn btn-primary is-submit"
>
提交
</a>
...
...
public/resource/js/financial_manager_daily_list.js
View file @
5fd32b1d
...
@@ -559,7 +559,8 @@ define(['doT','html2canvas','text!temp/financial_manager_daily_list_template_tpl
...
@@ -559,7 +559,8 @@ define(['doT','html2canvas','text!temp/financial_manager_daily_list_template_tpl
_doc
.
on
(
'click'
,
'.is-print'
,
function
(
e
)
{
_doc
.
on
(
'click'
,
'.is-print'
,
function
(
e
)
{
e
.
preventDefault
();
e
.
preventDefault
();
e
.
stopPropagation
();
e
.
stopPropagation
();
window
.
print
();
// window.print();//网页全部打印
bargain
.
preview
(
1
);
//网页局部打印
});
});
//操作---调整
//操作---调整
$
(
document
).
on
(
'click'
,
'.money_change'
,
function
(
e
){
$
(
document
).
on
(
'click'
,
'.money_change'
,
function
(
e
){
...
@@ -1372,6 +1373,21 @@ define(['doT','html2canvas','text!temp/financial_manager_daily_list_template_tpl
...
@@ -1372,6 +1373,21 @@ define(['doT','html2canvas','text!temp/financial_manager_daily_list_template_tpl
}
}
},
},
preview
(
oper
)
{
if
(
oper
<
10
)
{
bdhtml
=
window
.
document
.
body
.
innerHTML
;
//获取当前页的html代码
sprnstr
=
"<!--startprint"
+
oper
+
"-->"
;
//设置打印开始区域
eprnstr
=
"<!--endprint"
+
oper
+
"-->"
;
//设置打印结束区域
prnhtml
=
bdhtml
.
substring
(
bdhtml
.
indexOf
(
sprnstr
)
+
18
);
//从开始代码向后取html
prnhtmlprnhtml
=
prnhtml
.
substring
(
0
,
prnhtml
.
indexOf
(
eprnstr
));
//从结束代码向前取html
window
.
document
.
body
.
innerHTML
=
prnhtml
;
window
.
print
();
window
.
document
.
body
.
innerHTML
=
bdhtml
;
}
else
{
window
.
print
();
}
},
//获取图片
//获取图片
getPic
:
function
()
{
getPic
:
function
()
{
$
(
'.result2,.result'
).
remove
();
//删除之前存在的图片 显示从接口获取的数据 用来区分新添加的 和 已经保存的
$
(
'.result2,.result'
).
remove
();
//删除之前存在的图片 显示从接口获取的数据 用来区分新添加的 和 已经保存的
...
...
Write
Preview
Markdown
is supported
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