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
5af8cef5
Commit
5af8cef5
authored
Dec 25, 2018
by
duxinyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打印功能
parent
051d2161
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
140 additions
and
104 deletions
+140
-104
refundList.html
application/index/view/finance/refundList.html
+71
-91
refundList.js
public/resource/js/refundList.js
+33
-2
refund_template_tpl.html
public/resource/template/refund_template_tpl.html
+36
-11
No files found.
application/index/view/finance/refundList.html
View file @
5af8cef5
...
...
@@ -263,6 +263,12 @@
height
:
41px
!important
;
width
:
102px
!important
;
}
.col-xs-12
{
line-height
:
2
}
.l
{
line-height
:
2
}
</style>
<div
id=
"page-content-wrapper"
>
<div
class=
"container"
>
...
...
@@ -342,7 +348,7 @@
<th
class=
"text-center"
>
退款ID
</th>
<th
class=
"text-center"
>
状态
</th>
<th
class=
"text-center"
>
订单ID
</th>
<th
class=
"text-center"
>
首
款ID
</th>
<th
class=
"text-center"
>
收
款ID
</th>
<th
class=
"text-center"
>
退款金额
</th>
<th
class=
"text-center"
>
入账日期
</th>
<th
class=
"text-center"
>
退款类型
</th>
...
...
@@ -388,129 +394,103 @@
<!-- /.modal -->
</div>
<!-- 收款详情 -->
<div
class=
"modal fade"
id=
"modal-
addPic
"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal fade"
id=
"modal-
check
"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog modal-body-width"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-hidden=
"true"
>
×
</button>
<
h4
class=
"modal-title"
>
调整详情
</h4
>
<button
type=
"button"
class=
"close
noprint
"
data-dismiss=
"modal"
aria-hidden=
"true"
>
×
</button>
<
!--<h4 class="modal-title"> 调整详情 </h4>--
>
</div>
<div
class=
"modal-body modal-body-height"
>
<form
class=
""
>
<div
class=
"col-xs-12"
>
<div
class=
"col-xs-6"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
调整ID:
</span></strong>
<span
id=
"change_id"
class=
"col-xs-6 ld-Marheight"
>
forgina
</span>
</div>
<div
class=
"col-xs-12"
style=
"text-align:center"
>
<strong><span>
南京东路xxx退款申请书
</span></strong>
</div>
<div
class=
"col-xs-2"
></div>
<div
class=
"col-xs-10"
text-align:left
>
<div
class=
"col-xs-12 l"
>
<strong><span>
1、退款金额:¥10000元(大写:人民币壹万元整)
</span></strong>
</div>
<div
class=
"col-xs-6"
>
<div
class=
"col-xs-12"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
调整金额:
</span></strong>
<span
id=
"after_into_price"
class=
"col-xs-6 ld-Marheight"
></span>
</div>
</div>
<div
class=
"col-xs-12 l"
>
<strong><span>
2、退款凭证编号:18542230
</span></strong>
</div>
</div>
<div
class=
"col-xs-6"
>
<div
class=
"col-xs-12"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
调整前:
</span></strong>
</div>
<div
class=
"col-xs-12 l"
>
<strong><span>
3、退款类型:转意向金
</span></strong>
</div>
<div
class=
"col-xs-12 l"
>
<strong><span>
4、入账日期:2018.12.12
</span></strong>
</div>
<div
class=
"col-xs-12 l"
>
<strong><span>
5、商铺地址:上海市宝山区梅林路666弄
</span></strong>
</div>
<div
class=
"col-xs-12 l"
>
<strong><span>
6、退款原因:退意向金
</span></strong>
</div>
<div
class=
"col-xs-12 l"
>
<strong><span>
7、退款方式:银行卡
</span></strong>
</div>
<div
class=
"col-xs-12 l"
>
<strong><span>
8、收款账户:145233154544111
</span></strong>
</div>
<div
class=
"col-xs-12"
>
<div
class=
"col-xs-12"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
入账ID:
</span></strong>
<span
id=
"befor_into_id"
class=
"col-xs-6 ld-Marheight"
></span>
</div>
<strong><span>
开户行:海南省海口市农业银行龙昆南路支行
</span></strong>
</div>
<div
class=
"col-xs-12"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
订单ID:
</span></strong>
<span
id=
"befor_order_id"
class=
"col-xs-6 ld-Marheight"
></span>
</div>
<strong><span>
户名:刘少博
</span></strong>
</div>
<div
class=
"col-xs-12"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
房源ID:
</span></strong>
<span
id=
"befor_house_id"
class=
"col-xs-6 ld-Marheight"
></span>
</div>
<strong><span>
收款人手机:13918937743
</span></strong>
</div>
<div
class=
"col-xs-12"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
房源地址:
</span></strong>
<span
id=
"befor_house_addr"
class=
"col-xs-6 ld-Marheight"
></span>
</div>
<div
class=
"col-xs-12"
>
<div
class=
"col-xs-6"
style=
"float:right"
>
<div
class=
"col-xs-12"
>
<strong><span>
申请人签章:周小雨
</span></strong>
</div>
</div>
<div
class=
"col-xs-12"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
入账日期 :
</span></strong>
<span
id=
"befor_into_date"
class=
"col-xs-6 ld-Marheight"
></span>
<div
class=
"col-xs-12"
>
<strong><span>
所属门店:南京东路店
</span></strong>
</div>
</div>
<div
class=
"col-xs-12"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
入账类型:
</span></strong>
<span
id=
"befor_into_type"
class=
"col-xs-6 ld-Marheight"
></span>
<div
class=
"col-xs-12"
>
<strong><span>
申请日期:2018.12.12 ( 退款ID: 2344 )
</span></strong>
</div>
</div>
</div>
</div>
<div
class=
"col-xs-6"
>
<div
class=
"col-xs-12"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-3 ld-Marheight"
>
调整后:
</span></strong>
</div>
<strong><span>
审核人员:
</span></strong>
</div>
<div
class=
"col-xs-12"
>
<div
class=
"col-xs-12"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
入账ID:
</span></strong>
<span
id=
"after_into_id"
class=
"col-xs-6 ld-Marheight"
></span>
</div>
</div>
<div
class=
"col-xs-12"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
订单ID:
</span></strong>
<span
id=
"after_order_id"
class=
"col-xs-6 ld-Marheight"
></span>
</div>
</div>
<div
class=
"col-xs-12"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
成交报告ID:
</span></strong>
<span
id=
"after_report_id"
class=
"col-xs-6 ld-Marheight"
></span>
</div>
</div>
<div
class=
"col-xs-12 check_person"
>
<div
class=
"col-xs-12"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
房源ID:
</span></strong>
<span
id=
"after_house_id"
class=
"col-xs-6 ld-Marheight"
></span>
</div>
</div>
<div
class=
"col-xs-12"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
房源地址:
</span></strong>
<span
id=
"after_house_addr"
class=
"col-xs-6 ld-Marheight"
></span>
</div>
<strong><span>
刘丹丹 2018.12.12 10:00:00
</span></strong>
</div>
<div
class=
"col-xs-12"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
入账日期 :
</span></strong>
<span
id=
"after_into_date"
class=
"col-xs-6 ld-Marheight"
></span>
</div>
<strong><span>
洛可可 2018.12.12 10:00:00
</span></strong>
</div>
<div
class=
"col-xs-12"
>
<div
class=
"form-group"
>
<strong><span
class=
"col-xs-4 ld-Marheight"
>
入账类型:
</span></strong>
<span
id=
"after_into_type"
class=
"col-xs-6 ld-Marheight"
></span>
</div>
<strong><span>
王一舒 2018.12 13 10:00:00
</span></strong>
</div>
</div>
<div
class=
"col-xs-12"
>
<strong><span>
当前状态:审核中
</span></strong>
</div>
</div>
<div
class=
"col-xs-1"
></div>
<div
class=
"col-xs-10"
>
<div
class=
"coil-xs-12"
>
<strong><span>
退款附件
</span></strong>
</div>
<div
class=
"col-xs-12"
id=
"photoArea"
>
</div>
</div>
</form>
</div>
<div
class=
"modal-footer noprint"
id=
"hiddenOr"
>
<button
type=
"button"
class=
"btn btn-primary"
data-dismiss=
"modal"
id=
"check_yes"
>
审核通过
</button>
<button
type=
"button"
class=
"btn btn-primary"
id=
"check_no"
>
驳回
</button>
<button
type=
"button"
class=
"btn btn-primary"
id=
"check_no"
>
转到已退款
</button>
<button
type=
"button"
class=
"btn btn-primary"
id=
"print"
>
打印
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
...
...
public/resource/js/refundList.js
View file @
5af8cef5
define
([
'doT'
,
'text!temp/refund_
list
_tpl.html'
,
'css!style/home.css'
,
'ckfinder'
,
'ckfinderStart'
,
"datetimepicker"
,
'pagination'
,
'bootstrapJs'
,
'blow-up'
],
function
(
doT
,
template
)
{
define
([
'doT'
,
'text!temp/refund_
template
_tpl.html'
,
'css!style/home.css'
,
'ckfinder'
,
'ckfinderStart'
,
"datetimepicker"
,
'pagination'
,
'bootstrapJs'
,
'blow-up'
],
function
(
doT
,
template
)
{
refund
=
{
pageNo
:
1
,
/*第几页*/
...
...
@@ -20,7 +20,38 @@ define(['doT', 'text!temp/refund_list_tpl.html', 'css!style/home.css', 'ckfinder
event
:
function
()
{
var
that
=
refund
;
var
_doc
=
$
(
document
);
$
(
'#print'
).
click
(
function
(){
var
header
=
window
.
document
.
head
.
innerHTML
;
var
printHtml
=
document
.
getElementById
(
'modal-check'
).
innerHTML
;
var
wind
=
window
.
open
(
""
,
"newwin"
,
"toolbar=no,scrollbars=yes,menubar=no"
);
var
ss
=
''
+
"<style>"
+
".coversheet-pageBoder{"
+
" padding: 10px;"
+
" margin-top: 10px;"
+
" border: 1px solid gray;"
+
" page-break-after: always;"
+
" border-radius: 5px;"
+
" box-shadow: 0 1px 2px 1px rgba(0,0,0,.08), 0 3px 6px rgba(0,0,0,.08);"
+
"}"
+
".col-xs-12{ padding-left:15px;padding-right:15px;width:100%;position: relative;min-height: 1px;overflow:hidden}"
+
".col-xs-6{ padding-left:15px;padding-right:15px;width:50%;position: relative;min-height: 1px;;overflow:hidden}"
+
".l{line-height:2}"
+
".noprint{display: none;}"
+
"strong{font-weight:500}"
+
"</style>"
;
printHtml
=
ss
+
printHtml
;
wind
.
document
.
head
.
innerHTML
=
header
;
wind
.
document
.
body
.
innerHTML
=
printHtml
;
wind
.
print
();
// wind.close();
})
//操作----删除
$
(
document
).
on
(
'click'
,
'.list_delete'
,
function
(
e
){
var
id
=
e
.
target
.
dataset
.
id
;
...
...
@@ -243,7 +274,7 @@ define(['doT', 'text!temp/refund_list_tpl.html', 'css!style/home.css', 'ckfinder
if
(
typeof
data
===
'object'
)
{
if
(
data
.
code
==
200
)
{
that
.
listData
=
data
.
data
.
list
;
var
temp
=
document
.
getElementById
(
'
adjustment
_template_tpl'
).
innerHTML
;
var
temp
=
document
.
getElementById
(
'
refund
_template_tpl'
).
innerHTML
;
var
doTtmpl
=
doT
.
template
(
temp
);
$
(
"#order_list"
).
html
(
doTtmpl
(
data
.
data
.
list
));
// that.moneyTotal = data.data.money_total;
...
...
public/resource/template/refund_template_tpl.html
View file @
5af8cef5
<script
id=
"refund_
list
_tpl"
type=
"text/template"
>
<script
id=
"refund_
template
_tpl"
type=
"text/template"
>
[
%
if
(
it
)
{
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
class
=
"text-center"
>
<
td
>
[
%=
it
[
item
][
'agent_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'report_agent_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'user_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'id'
]
%
]
<
/td
>
[
%
if
(
it
[
item
][
'status'
]
==
1
)
{
%
]
<
td
>
申请中
<
/td
>
[
%
}
else
if
(
it
[
item
][
'status'
]
==
2
)
{
%
]
<
td
>
退款成功
<
/td
>
[
%
}
else
if
(
it
[
item
][
'status'
]
==
3
)
{
%
]
<
td
>
已审核
<
/td
>
[
%
}
else
if
(
it
[
item
][
'status'
]
==
4
)
{
%
]
<
td
>
驳回
<
/td
>
[
%
}
else
{
%
]
<
td
>--<
/td
>
[
%
}
%
]
<
td
>
[
%=
it
[
item
][
'order_id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'pay_log_id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'refund_money'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'card_no'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'agent_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'agent_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'agent_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'agent_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'agent_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'income_time'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'type'
]
%
]
<
/td
>
[
%
if
(
it
[
item
][
'type'
]
==
1
)
{
%
]
<
td
>
意向金转定
<
/td
>
[
%
}
else
if
(
it
[
item
][
'type'
]
==
2
)
{
%
]
<
td
>
退保管金
<
/td
>
[
%
}
else
if
(
it
[
item
][
'type'
]
==
3
)
{
%
]
<
td
>
保管金转定
<
/td
>
[
%
}
else
if
(
it
[
item
][
'type'
]
==
4
)
{
%
]
<
td
>
退中介费
<
/td
>
[
%
}
else
if
(
it
[
item
][
'type'
]
==
5
)
{
%
]
<
td
>
退案场费
<
/td
>
[
%
}
else
if
(
it
[
item
][
'type'
]
==
0
)
{
%
]
<
td
>
退意向金
<
/td
>
[
%
}
else
{
%
]
<
td
>--<
/td
>
[
%
}
%
]
<
td
>
[
%=
it
[
item
][
'agent_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'store_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'store_id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'address'
]
%
]
<
/td
>
<
td
>
<
a
class
=
"btn1 btn-success timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
时间轴
<
/a
>
<
a
class
=
"btn1 btn-success rejected"
href
=
"#modal-
rejected
"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
审核
<
/a
>
<
a
class
=
"btn1 btn-success rejected"
href
=
"#modal-
check
"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
审核
<
/a
>
<
a
class
=
"btn1 btn-success is_pass"
href
=
"#modal-pass"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
打印
<
/a
>
<
/td
>
<
/tr
>
...
...
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