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
3174a59d
Commit
3174a59d
authored
May 16, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
开业
parent
b03438c8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1811 additions
and
2 deletions
+1811
-2
pay_check_list.html
application/index/view/finance/pay_check_list.html
+887
-2
openCheckList.js
public/resource/js/openCheckList.js
+865
-0
open_check_template_tpl.html
public/resource/template/open_check_template_tpl.html
+59
-0
No files found.
application/index/view/finance/pay_check_list.html
View file @
3174a59d
{layout name="global/frame_two_tpl" /}
{layout name="global/frame_two_tpl" /}
\ No newline at end of file
<input
type=
"hidden"
class=
"page-load"
id=
"openCheckList"
/>
<style>
/*客户详情 样式*/
.modal-body1
{
height
:
716px
;
overflow-y
:
auto
;
padding-bottom
:
60px
;
}
.modal-body-details
{
width
:
850px
;
}
.followup-modal-list-area
{
height
:
258px
;
overflow-y
:
scroll
;
}
.user_pic
{
width
:
30px
;
height
:
30px
;
border-radius
:
15px
;
}
/*客户详情 样式*/
.modal-body-height
{
overflow-y
:
auto
;
height
:
432px
;
}
.result2
{
width
:
130px
;
height
:
auto
;
float
:
left
;
text-align
:
center
;
color
:
red
;
}
#container_body_img_area
>
div
{
float
:
left
;
width
:
216px
;
}
.user-ul2
{
width
:
100%
;
height
:
auto
;
padding-bottom
:
15px
;
float
:
left
;
}
.user-ul2
li
{
list-style
:
none
;
line-height
:
30px
;
}
.user-ul
{
float
:
right
;
text-align
:
center
;
position
:
relative
;
overflow-y
:
scroll
;
height
:
100px
;
left
:
0px
;
width
:
100%
;
line-height
:
30px
;
}
.user-ul
li
{
list-style
:
none
;
line-height
:
20px
;
}
ul
{
-webkit-padding-start
:
0px
!important
;
}
.money_total_two
{
font-weight
:
bold
;
font-size
:
15px
;
line-height
:
34px
;
display
:
inline-block
;
}
#file_input3
{
opacity
:
0
;
position
:
absolute
;
top
:
0
;
left
:
145px
;
height
:
35px
;
width
:
80px
;
}
.img-pre-ul
{
padding-left
:
0
;
overflow
:
hidden
;
}
/*图片上传相关样式*/
.img-pre-ul
>
li
{
list-style
:
no
;
float
:
left
;
width
:
210px
;
height
:
170px
;
overflow
:
hidden
;
margin-right
:
10px
;
margin-top
:
10px
;
}
.img-pre-ul
>
li
.pdf-pre-li
{
height
:
70px
;
}
.img-pre-ul
>
li
>
img
{
float
:
left
;
width
:
210px
;
height
:
140px
;
object-fit
:
contain
;
cursor
:
pointer
;
}
.img-pre-ul
>
li
>
a
{
float
:
left
;
width
:
210px
;
text-align
:
center
;
line-height
:
30px
;
}
.img-pre-ul
>
li
>
a
.pdf-pre-a
{
line-height
:
20px
;
word-break
:
break-all
;
}
/*图片点击放大预览区域的样式*/
#img_mask_area
{
position
:
fixed
;
left
:
0
;
top
:
0
;
width
:
100%
;
height
:
100%
;
overflow
:
hidden
;
z-index
:
1999
;
background-color
:
rgba
(
0
,
0
,
0
,
.3
);
display
:
none
;
}
#img_mask_area
>
img
{
width
:
900px
;
height
:
700px
;
object-fit
:
contain
;
position
:
absolute
;
left
:
50%
;
top
:
50%
;
margin-left
:
-450px
;
margin-top
:
-350px
;
}
/*上传图片列表 样式*/
.form-group
{
margin
:
10px
;
}
.input-100-width
{
width
:
100px
!important
;
}
.input-360-width
{
width
:
360px
!important
;
}
.textarea-500-width
{
width
:
500px
!important
;
}
.list-group-item
>
.full-width-100
+
.full-width-100
{
padding-top
:
10px
;
}
.list-group-item
>
.full-width-100
>
label
{
width
:
60px
;
}
.list-group-item
>
.full-pic-area
>
label
{
width
:
120px
;
}
.delet-pic-btn
{
color
:
red
;
}
/*css样式*/
.img-cont
{
width
:
1000px
;
height
:
570px
;
border
:
2px
solid
#317ef3
;
margin
:
50px
auto
;
}
.img-cont
>
div
{
width
:
300px
;
height
:
260px
;
border
:
1px
solid
#777
;
float
:
left
;
margin
:
20px
0
0
20px
;
}
.img-cont
>
div
>
div
{
width
:
300px
;
height
:
220px
;
border
:
1px
solid
red
;
}
.img-cont
>
div
>
a
{
width
:
60px
;
height
:
30px
;
border-radius
:
4px
;
line-height
:
30px
;
text-align
:
center
;
color
:
#fff
;
display
:
block
;
background
:
#317ef3
;
margin
:
5px
0
0
0px
;
cursor
:
pointer
;
}
.hide
{
display
:
none
!important
;
}
.result
>
img
,
.result2
>
img
{
width
:
120px
;
height
:
120px
;
margin-top
:
8px
;
}
#container_body
{
position
:
relative
;
overflow
:
hidden
;
}
#file_input
{
opacity
:
0
;
position
:
absolute
;
top
:
0
;
left
:
145px
;
height
:
35px
;
width
:
80px
;
}
.out-style
{
position
:
absolute
;
top
:
0
;
left
:
60px
;
}
.span-del2
,
.span-del
{
color
:
red
;
}
/*控制放大镜的 收款图片显示*/
#preview
{
z-index
:
9999
!important
;
}
#preview
img
{
width
:
600px
;
}
.clear
{
clear
:
both
;
}
/*css样式*/
#real_money2
{
margin-top
:
20px
;
}
.modal-body-width
{
width
:
1000px
;
}
input
{
width
:
50%
;
}
.col-xs-12
{
overflow
:
hidden
;
}
.p-a-0
{
padding
:
0px
;
}
.p-l-15
{
padding-left
:
15px
!important
;
}
.p-t-10
{
padding-top
:
10px
!important
;
}
.no-border
{
border
:
none
;
}
#preview
img
{
height
:
300px
!important
;
width
:
500px
!important
;
}
#preview
{
height
:
300px
!important
;
width
:
500px
!important
;
}
#file_input
{
top
:
0
!important
;
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"
>
<div
class=
"row"
>
<div
class=
""
>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading breadcrumb"
>
<li>
<a
href=
"javascript:;"
>
开业审核
</a>
</li>
<div
class=
"btn-group"
>
<button
type=
"button"
class=
"choose_btn btn btn-info"
data-value=
"1"
style=
"margin-left: 20px;"
>
总监通过
</button>
<button
type=
"button"
class=
"choose_btn btn btn-default"
data-value=
"2"
>
财务一审通过
</button>
<button
type=
"button"
class=
"choose_btn btn btn-default"
data-value=
"4"
>
财务二审通过
</button>
<button
type=
"button"
class=
"choose_btn btn btn-default"
data-value=
"4"
>
未审核
</button>
<button
type=
"button"
class=
"choose_btn btn btn-default "
data-value=
"-1"
>
全部
</button>
</div>
</div>
<div
class=
"panel-body"
style=
"overflow:hidden;"
>
<div
class=
"table-responsive"
>
<table
class=
"table table-striped table-bordered table-hover table-condensed"
style=
"margin-top:15px"
>
<thead>
<tr>
<td
colspan=
"15"
>
<form
id=
"form_search"
>
<span
class=
"fore-span ld-Marheight"
>
申请提交时间:
</span>
<input
id=
"comit_time_start"
class=
"form-control btn4 ld-Marheight"
type=
"text"
placeholder=
"开始时间"
onClick=
"WdatePicker({el:this,dateFmt:'yyyy-MM-dd',maxDate:'#F{ $dp.$D(\'comit_time_end\')||\'%y-%M-%d\'}',readOnly:'readonly' })"
>
<span
class=
"fore-span ld-Marheight"
>
-
</span>
<input
id=
"comit_time_end"
class=
"form-control btn4 ld-Marheight"
type=
"text"
placeholder=
"结束时间"
onClick=
"WdatePicker({el:this,dateFmt:'yyyy-MM-dd',minDate:'#F{ $dp.$D(\'comit_time_start\' )}',maxDate:'%y-%M-%d',readOnly:'readOnly'})"
>
<span
class=
"fore-span ld-Marheight"
>
总监通过时间:
</span>
<input
id=
"into_time_start"
class=
"form-control btn4 ld-Marheight"
type=
"text"
placeholder=
"开始时间"
onClick=
"WdatePicker({el:this,dateFmt:'yyyy-MM-dd',maxDate:'#F{ $dp.$D(\'into_time_end\')||\'%y-%M-%d\'}',readOnly:'readonly'})"
>
<span
class=
"fore-span ld-Marheight"
>
-
</span>
<input
id=
"into_time_end"
class=
"form-control btn4 ld-Marheight"
type=
"text"
placeholder=
"结束时间"
onClick=
"WdatePicker({el:this,dateFmt:'yyyy-MM-dd',minDate:'#F{ $dp.$D(\'into_time_start\')}',maxDate:'%y-%M-%d',readOnly:'readonly'})"
>
<span
class=
"fore-span ld-Marheight"
>
财务二审通过时间:
</span>
<input
id=
"into_time_start"
class=
"form-control btn4 ld-Marheight"
type=
"text"
placeholder=
"开始时间"
onClick=
"WdatePicker({el:this,dateFmt:'yyyy-MM-dd',maxDate:'#F{ $dp.$D(\'into_time_end\')||\'%y-%M-%d\'}',readOnly:'readonly'})"
>
<span
class=
"fore-span ld-Marheight"
>
-
</span>
<input
id=
"into_time_end"
class=
"form-control btn4 ld-Marheight"
type=
"text"
placeholder=
"结束时间"
onClick=
"WdatePicker({el:this,dateFmt:'yyyy-MM-dd',minDate:'#F{ $dp.$D(\'into_time_start\')}',maxDate:'%y-%M-%d',readOnly:'readonly'})"
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"changed_id"
placeholder=
"收款ID"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"back_id_money"
placeholder=
"成交报告ID"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"get_id"
placeholder=
"带看订单ID"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"shoped_id"
placeholder=
"商铺ID"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"shoped_addr"
placeholder=
"商铺地址"
type=
"text"
value=
""
>
<select
class=
"form-control btn2 ld-Marheight"
id=
"commit_home"
>
<option
value=
""
>
提交人所在部门
</option>
</select>
<select
class=
"form-control btn2 ld-Marheight"
id=
"commit_shop"
>
<option
value=
""
>
提交人所在门店
</option>
</select>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"comit_name"
placeholder=
"提交人姓名"
type=
"text"
value=
""
>
<ul
class=
"user-ul"
style=
"display:none"
></ul>
<!--<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="comit_name" placeholder="提交人姓名" type="text" value="">-->
<input
type=
"hidden"
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"comit_phone"
placeholder=
"提交人手机号"
type=
"text"
value=
""
>
<select
class=
"form-control btn2 ld-Marheight"
id=
"is_type"
>
<option
value=
""
>
我是否审核过
</option>
<option
value=
"1"
>
是
</option>
<option
value=
"0"
>
否
</option>
</select>
<span
class=
"btn btn-info btn3 ld-Marheight"
id=
"search"
style=
"float:left"
>
搜索
</span>
<span
class=
"btn btn-info btn3 ld-Marheight"
id=
"reset"
style=
"float:left"
>
重置
</span>
<span
class=
"btn btn-info btn3 ld-Marheight"
id=
"export"
style=
"float: left;"
>
导出报表
</span>
<span
class=
"money_total_two ld-Marheight "
style=
"float:left"
>
总计:
</span><span
style=
"float:left"
id=
"money_total"
class=
"money_total_two_shifu fore-span ld-Marheight"
>
0元
</span>
</form>
</td>
</tr>
<tr>
<th
class=
"text-center"
>
申请ID
</th>
<th
class=
"text-center"
>
提交时间
</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"
>
成交商铺ID
</th>
<th
class=
"text-center"
>
成交商铺地址
</th>
<th
class=
"text-center"
>
状态
</th>
<th
class=
"text-center"
>
总监通过时间
</th>
<th
class=
"text-center"
>
开业确定时间
</th>
<th
class=
"text-center"
>
操作
</th>
</tr>
</thead>
<tbody
class=
"text-center"
id=
"order_list"
>
</table>
</div>
<!-- /#page-content-wrapper -->
<div
class=
"text-right"
id=
"pagediv"
>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--时间轴-->
<div
class=
"modal fade"
id=
"modal-time"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
>
<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>
</div>
<div
class=
"modal-body"
class=
"iframe-div-parent"
>
<iframe
class=
"iframe-time-line"
></iframe>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<!-- 收款详情 -->
<div
class=
"modal fade"
id=
"modal-check"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
style=
"font-size: 16px;"
>
<div
class=
"modal-dialog modal-body-width"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close noprint"
data-dismiss=
"modal"
aria-hidden=
"true"
>
×
</button>
</div>
<div
class=
"modal-body modal-body-height"
style=
"height:700px;"
>
<form
class=
""
style=
"overflow:hidden"
>
<div
class=
"col-xs-12"
style=
"text-align:center"
>
<strong><span
style=
"font-size:25px;"
><span
id=
"title_back"
></span>
开业审核
</span></strong>
</div>
<div
class=
"col-xs-2"
></div>
<div
class=
"col-xs-10"
style=
"text-align:left;margin-top:20px;"
>
<div
class=
"col-xs-12 l"
>
<strong><span>
1、收款ID:
<span
id=
"money"
></span></span></strong>
</div>
<div
class=
"col-xs-12 l"
>
<strong><span>
2、带看订单ID:
<span
id=
"pz_no"
></span></span></strong>
</div>
<div
class=
"col-xs-12 l"
>
<strong><span>
3、对应成交报告ID:
<span
id=
"back_type"
></span></span></strong>
</div>
<div
class=
"col-xs-12 l"
>
<strong><span>
4、收款入账日期:
<span
id=
"come_time"
></span>
,收款提交时间(财务日报日期):
<span>
6666
</span>
</span></strong>
</div>
<div
class=
"col-xs-12 l"
>
<strong><span>
5、成交商铺地址:
<span
id=
"pay_create_time"
></span>
(商铺ID:
<span
id=
"pay_log_id"
></span>
)
</span></strong>
</div>
<div
class=
"col-xs-12 l"
>
<strong><span>
6、开业说明:
<span
id=
"check_addr"
></span></span></strong>
</div>
<div
class=
"col-xs-12 down_page"
style=
"margin-top: 60px;"
>
<div
class=
"col-xs-12"
>
<div
class=
"col-xs-7"
style=
"float:right"
>
<div
class=
"col-xs-12"
>
<strong><span>
申请人签章:
<span
id=
"back_agent_name"
></span></span></strong>
</div>
<div
class=
"col-xs-12"
>
<strong><span>
所属门店:
<span
id=
"back_shop_name"
></span></span></strong>
</div>
<div
class=
"col-xs-12"
>
<strong><span>
申请日期:
<span
id=
"back_time"
></span>
( 申请ID:
<span
id=
"back_id"
></span>
)
</span></strong>
</div>
</div>
</div>
<div
class=
"col-xs-12"
>
<strong><span>
审核人员:
</span></strong>
</div>
<div
class=
"col-xs-12 check_person"
>
</div>
<div
class=
"col-xs-12"
style=
"margin-top:20px;"
>
<strong><span>
当前状态:
<span
id=
"chech_status"
></span></span></strong>
</div>
</div>
</div>
</form>
<form
class=
"noprint"
style=
"padding-top:20px;overflow:hidden"
>
<div
clas=
"col-xs-12"
style=
"height:1px;background-color:#eeeeee;"
></div>
<div
class=
"col-xs-2"
></div>
<div
class=
"col-xs-10"
>
<div
class=
"col-xs-10 noprint"
style=
"margin-top:20px;"
>
<div
class=
"coil-xs-12"
>
<strong><span>
开业附件:
</span></strong>
</div>
<div
class=
"col-xs-12"
id=
"photoArea"
>
</div>
</div>
</div>
</form>
</div>
<div
class=
"modal-footer noprint"
id=
"hiddenOr"
>
<button
type=
"button"
class=
"btn btn-primary pass"
href=
"#modal_pass"
data-toggle=
"modal"
>
财务一级审核
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<!-- /#删除模态框 -->
<div
class=
"modal fade"
id=
"modal-delete"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
>
<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>
</div>
<div
class=
"modal-body"
>
<div
class=
"modal-body"
>
<input
type=
"hidden"
value=
""
id=
"delete_id"
/>
确认删除吗?
</div>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
取消
</button>
<button
type=
"button"
class=
"btn btn-primary"
id=
"confirm_delete"
data-dismiss=
"modal"
>
删除
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<!--退款-->
<div
class=
"modal fade"
id=
"tuikuan_modal"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
>
<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>
</div>
<div
class=
"modal-body"
>
<div
class=
"col-xs-12"
style=
"margin-top:20px;"
>
<label
class=
"col-xs-2"
>
备注
</label>
<div
class=
"col-xs-10"
>
<textarea
id=
"check_past_pict"
class=
"form-control"
></textarea>
</div>
<div
class=
"col-xs-12"
style=
"padding-left:30px;"
>
<label>
上传转账图片和退款单手签版图片:
</label>
</div>
<div
class=
"col-xs-12"
>
<div
class=
"file-upload-area p-a-0 "
>
<ul
class=
"img-pre-ul"
id=
"fujian_ul"
></ul>
<div
class=
"btn-area"
>
<input
class=
"btn btn-default"
type=
"file"
id=
"file_input3"
data-limittop=
"1"
/>
<!--修改上传文件的最大数字-->
<button
class=
"btn btn-default"
style=
"margin-left : 144px;"
>
选择图片
</button>
</div>
<div
class=
"col-xs-12 p-t-10"
id=
"container_body_img_area3"
>
</div>
</div>
</div>
</div>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-primary"
id=
"check_back"
>
确定
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<div
class=
"modal fade"
id=
"modal_pass"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
>
<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>
</div>
<div
class=
"modal-body"
style=
"overflow:hidden;"
>
<label
class=
"col-xs-2"
>
备注
</label>
<div
class=
"col-xs-10"
>
<textarea
id=
"check_past"
class=
"form-control"
></textarea>
</div>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-primary"
id=
"check_yes"
>
确定
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<div
class=
"modal fade"
id=
"modal_false"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
>
<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>
</div>
<div
class=
"modal-body"
style=
"overflow:hidden;"
>
<label
class=
"col-xs-2"
>
备注
</label>
<div
class=
"col-xs-10"
>
<textarea
id=
"check_bohui"
class=
"form-control "
></textarea>
</div>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-primary"
id=
"check_no"
>
确定
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<!--时间轴-->
<div
class=
"modal fade"
id=
"modal-del"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
>
<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>
</div>
<div
class=
"modal-body"
class=
"iframe-div-parent"
>
<div
style=
"font-size: 18px;padding: 20px;"
>
确定删除该申请!!
</div>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
取消
</button>
<button
type=
"button"
class=
"btn btn-primary"
id=
"confirm_deleteMoney"
data-dismiss=
"modal"
>
确定
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<div
id=
"img_mask_area"
title=
"点击任意位置可关闭"
>
<img
/>
</div>
<!-- 弹出框 详情 -->
<div
class=
"modal fade"
id=
"modal_detail"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
style=
"width: 1050px;"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-hidden=
"true"
>
×
</button>
</div>
<div
class=
"modal-body detail-modal-body"
>
<iframe
class=
"iframe-bargaininfo-static"
name=
"iframe_bargaininfo_static"
></iframe>
<a
class=
"btn1 bargain-detail-shop btn-info"
href=
"#modal_shop_detail"
data-toggle=
"modal"
style=
"display: none;"
>
商铺
</a>
<a
class=
"btn1 caozuo genj_ure btn-info"
href=
"#modal_user_detail"
data-toggle=
"modal"
style=
"display: none;"
>
客户
</a>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
</div>
<!-- 弹出框 时间轴 -->
<div
class=
"modal fade"
id=
"modal-time"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
>
<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>
</div>
<div
class=
"modal-body"
class=
"iframe-div-parent"
>
<iframe
class=
"iframe-time-line"
></iframe>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<!--商铺详情 弹出框-->
<div
class=
"modal fade"
id=
"modal_shop_detail"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
>
<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>
</div>
<div
class=
"modal-body"
>
<iframe
class=
"iframe-shop-detail"
></iframe>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<!--客户详情 弹出框-->
<div
class=
"modal fade"
id=
"modal_user_detail"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog modal-body-details"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-hidden=
"true"
>
×
</button>
<h4
class=
"modal-title text-info detail-modal-header-tab"
>
客户详情
</h4>
</div>
<div
class=
"modal-body modal-body1"
>
<div
class=
"detail-modal-body-sec"
>
<div
class=
"call-user-five"
></div>
<div
class=
"detail-modal-body-sec-2"
>
<table
class=
""
id=
"caozuo_hide"
border=
'0'
>
<thead>
<tr>
<td>
<span
class=
"fore-span"
>
姓名:
</span>
<input
class=
"form-control btn6 cus_name input-border-0"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
name=
"name"
type=
"text"
>
</td>
<td
width=
"35%"
>
<span
class=
"fore-span"
>
产生类型:
</span>
<span
class=
"fore-span source_type"
></span>
</td>
<td>
<span
class=
"fore-span"
>
面积:
</span>
<input
class=
"form-control btn6 input-border-0"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
""
name=
"area_demand"
type=
"number"
><span
class=
"fore-span"
>
m²
</span>
</td>
</tr>
<tr>
<td>
<span
class=
"fore-span"
>
客户编号:
</span>
<span
class=
"fore-span cus_id"
></span>
</td>
<td>
<span
class=
"fore-span"
>
性别:
</span>
<select
class=
"form-control btn6 sex input-border-0"
>
<option
value=
"0"
class=
"successModel"
>
性别
</option>
<option
value=
"1"
>
男
</option>
<option
value=
"2"
>
女
</option>
</select>
</td>
<td>
<span
class=
"fore-span"
>
业态:
</span>
<select
class=
"form-control btn6 input-border-0"
name=
"industry_type_two"
>
<option>
轻餐饮
</option>
<option>
重餐饮
</option>
<option>
百货零售
</option>
<option>
服装
</option>
<option>
亲子教育
</option>
<option>
休闲娱乐
</option>
</select>
</td>
</tr>
<tr>
<td>
<span
class=
"fore-span"
>
电话:
</span>
<span
class=
"fore-span cus_phone"
></span>
</td>
<td>
<span
class=
"fore-span"
>
价格:
</span>
<input
class=
"form-control btn6 input-border-0"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
""
name=
"price_demand"
type=
"number"
><span
class=
"fore-span"
>
元/月
</span>
</td>
<td>
<span
class=
"fore-span"
>
VIP客户:
</span>
<select
class=
"form-control btn6 user_vip2 input-border-0"
>
<option
value=
''
class=
"successModel"
>
请选择
</option>
<option
value=
"1"
>
是
</option>
<option
value=
"0"
>
否
</option>
</select>
</td>
</tr>
<tr>
<td>
<span
class=
"fore-span"
>
注册时间:
</span>
<span
class=
"fore-span registration_time"
></span>
</td>
<td>
<span
class=
"fore-span"
>
客户所属城市:
</span>
<span
class=
"user_details_city fore-span"
>
</span>
</td>
<td>
<span
class=
"fore-span"
>
昵称:
</span>
<img
src=
""
alt=
""
class=
"fore-span diagram-image J_preview user_pic"
data-bimg=
''
/>
<span
class=
"fore-span cus_nick"
></span>
</td>
</tr>
<tr>
<td>
<span
class=
"fore-span"
>
创建时间:
</span>
<span
class=
"fore-span cus_date"
></span>
</td>
<!--<td>
</td>-->
<td>
<span
class=
"fore-span"
>
下载登录时间:
</span>
<span
class=
"fore-span firstlogin_time"
></span>
</td>
<td>
<span
class=
"fore-span"
>
客户标签:
</span>
<span
class=
"user_details_label fore-span"
>
</span>
</td>
</tr>
<tr>
<td>
<div
class=
"form-group"
>
<span
class=
"fore-span"
>
客方:
</span>
<div
class=
"col-sm-9"
>
<input
type=
"text"
class=
"form-control btn6-1 cus_fang_edit input-border-0"
name=
"pwd"
autocomplete=
"off"
>
<!--<ul class="user-ul2"></ul>-->
</div>
</div>
</td>
<td>
<span
class=
"fore-span"
>
是否转介绍:
</span>
<span
class=
"user-details-introduce fore-span"
></span>
</td>
<td>
<span
class=
"fore-span"
>
邀请人(介绍人):
</span>
<span
class=
"user-details-introduce-id fore-span"
></span>
</td>
</tr>
<tr>
<td>
<span
class=
"fore-span"
>
客户来源:
</span>
<span
class=
"user-source-details fore-span"
>
网络
</span>
</td>
<td></td>
<td></td>
</tr>
</thead>
</table>
<h4
class=
"modal-title-genjing clear text-info"
>
客户跟进
</h4>
<div
id=
"gen_jing_user"
>
<div
class=
"followup-modal-list-area"
>
<table
class=
"table table-striped table-bordered table-hover table-condensed"
>
<tbody
class=
"text-center"
id=
"caozuo_table2"
>
</tbody>
</table>
</div>
<div
class=
"clear margin-top-ld"
>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default btn-guanbi"
data-dismiss=
"modal"
>
关闭
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
\ No newline at end of file
public/resource/js/openCheckList.js
0 → 100644
View file @
3174a59d
define
([
'doT'
,
'text!temp/open_check_template_tpl.html'
,
'css!style/home.css'
,
'ckfinder'
,
'ckfinderStart'
,
"datetimepicker"
,
'pagination'
,
'bootstrapJs'
,
'blow-up'
],
function
(
doT
,
template
)
{
refund
=
{
pageNo
:
1
,
/*第几页*/
pageSize
:
10
,
/*每页显示多少条*/
id
:
''
,
house_id
:
''
,
house_fatherid
:
''
,
collection_del_id
:
''
,
listData
:
""
,
moneyTotal
:
""
,
agent_id_phone
:
''
,
check_status
:
1
,
deleteRefundId
:
''
,
init
:
function
()
{
//初始化dot
$
(
document
.
body
).
append
(
template
);
refund
.
getList
(
1
);
refund
.
event
();
},
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;line-height:2}"
+
".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}"
+
".modal-header{min-height:20px;}"
+
".down_page{position:fixed; bottom:0}"
+
"</style>"
;
printHtml
=
ss
+
printHtml
;
wind
.
document
.
body
.
innerHTML
=
printHtml
;
wind
.
print
();
})
//点击详情按钮事件,获取报告详情
$
(
document
).
on
(
'click'
,
'.details-btn'
,
function
()
{
var
_id
=
$
(
this
).
attr
(
"data-id"
);
refund
.
bargain_id
=
_id
;
$
(
'.iframe-bargaininfo-static'
).
attr
(
'src'
,
'/app_broker/bargaininfo_detail_static_pc?orderid='
+
_id
).
load
;
});
//成交报告详情 点击商铺 查看商铺详情
$
(
document
).
on
(
'click'
,
'a[href="#modal_shop_detail"]'
,
function
(
e
){
e
.
preventDefault
();
e
.
stopPropagation
();
refund
.
detail_shop_id
=
localStorage
.
getItem
(
'tlPcModalTempShopId'
);
var
_id
=
refund
.
detail_shop_id
;
$
(
'.iframe-shop-detail'
).
attr
(
'src'
,
'/app_broker/shop_detail_pc?shop_id='
+
_id
);
//记得修改修改
});
//成交报告详情 点击客户 查看客户详情
$
(
document
).
on
(
'click'
,
'a[href="#modal_user_detail"]'
,
function
(
e
){
refund
.
detail_user_id
=
localStorage
.
getItem
(
'tlPcModalTempCustomerId'
);
var
_id
=
refund
.
detail_user_id
;
$
(
'.followup-modal-comment-area>textarea'
).
val
(
''
);
//清空跟进框内容
refund
.
Caozuo
();
});
$
(
document
).
delegate
(
".genj_ure"
,
"click"
,
function
()
{
refund
.
user_id
=
$
(
this
).
attr
(
"data-id"
);
refund
.
getGenjincon
();
});
//操作----删除
$
(
document
).
on
(
'click'
,
'.list_delete'
,
function
(
e
){
var
id
=
e
.
target
.
dataset
.
id
;
that
.
deleteId
=
id
;
});
$
(
document
).
on
(
'click'
,
'#confirm_delete'
,
function
(
e
){
var
id
=
that
.
deleteId
;
that
.
deleteTableRow
(
id
);
});
//点击删除退款 获取退款id
$
(
document
).
on
(
'click'
,
'.is_del'
,
function
(
e
){
refund
.
deleteRefundId
=
$
(
this
).
attr
(
'data-id'
);
});
//删除退款
$
(
document
).
on
(
'click'
,
'#confirm_deleteMoney'
,
function
(
e
){
that
.
deleteRefund
(
refund
.
deleteRefundId
);
});
//搜索
$
(
document
).
on
(
'click'
,
'#search'
,
function
(
e
){
that
.
getList
(
1
);
});
//审核
$
(
document
).
on
(
'click'
,
'.rejected'
,
function
(
e
){
var
id
=
e
.
target
.
dataset
.
id
;
that
.
check_id
=
id
;
that
.
refundText
(
id
)
});
//重置搜索条件
$
(
document
).
on
(
'click'
,
'#reset'
,
function
(
e
){
that
.
resetAll
();
});
//导出报表
$
(
document
).
on
(
'click'
,
'#export'
,
function
(
e
){
that
.
exportExcel
();
});
//操作----时间轴
$
(
document
).
on
(
'click'
,
'.timeline'
,
function
(
e
){
var
house_id
=
e
.
target
.
dataset
.
id
;
e
.
preventDefault
();
e
.
stopPropagation
();
$
(
'.iframe-time-line'
).
attr
(
'src'
,
'/app_broker/timeline_pc?order_id='
+
house_id
);
});
//操作----收款详情
$
(
document
).
on
(
'click'
,
'.add-pic'
,
function
(
e
){
var
id
=
e
.
target
.
dataset
.
id
;
that
.
getAdjustmentDetail
(
id
);
});
//审核通过
$
(
document
).
on
(
'click'
,
'#check_yes'
,
function
(
e
){
var
text
=
$
(
'#check_past'
).
val
();
that
.
checkRefund
(
1
,
text
);
});
//驳回
$
(
document
).
on
(
'click'
,
'#check_no'
,
function
(
e
){
var
text
=
$
(
'#check_bohui'
).
val
();
that
.
checkRefund
(
4
,
text
);
});
//已退款
$
(
document
).
on
(
'click'
,
'#check_back'
,
function
(
e
){
var
pictures
=
$
(
'#container_body_img_area3'
).
find
(
'.result'
);
var
text
=
$
(
'#check_past_pict'
).
val
();
var
picName
=
[];
pictures
.
each
(
function
(
i
,
event
){
picName
[
i
]
=
$
(
this
).
find
(
"img"
).
attr
(
"id"
)
})
if
(
!
(
pictures
.
length
-
0
>
0
)
){
alert
(
"请选择图片"
);
return
false
;
}
that
.
checkRefund
(
2
,
text
,
picName
);
});
//二级联动
that
.
getDistrict
(
function
()
{
_doc
.
on
(
'input'
,
'#commit_home'
,
function
()
{
var
_this
=
$
(
this
);
var
_id
=
$
(
'#commit_home'
).
val
();
$
(
'#commit_shop'
).
html
(
''
);
//先清空
if
(
_id
&&
_id
!=
'0'
)
{
that
.
getDistrictStoreList
(
_id
,
function
(
_data
)
{
var
_str
=
'<option value="0">全部</option>'
;
$
.
each
(
_data
,
function
(
i
,
item
)
{
_str
+=
'<option value="'
+
item
.
id
+
'">'
+
item
.
store_name
+
'</option>'
;
});
$
(
'#commit_shop'
).
append
(
_str
)
});
}
else
{};
});
});
//点击li 列表消失
$
(
document
).
delegate
(
".addphone"
,
"click"
,
function
()
{
//list消失新增客户 点击li事件 获取id ul消失
that
.
addphone
(
this
);
});
//分佣方 姓名下拉式
$
(
document
).
on
(
"input"
,
"#comit_name"
,
function
()
{
//手机号新增搜索客方
if
(
$
(
"#comit_name"
).
val
()
==
''
)
{
that
.
agent_id_phone
=
''
;
$
(
".user-ul"
).
html
(
''
);
}
else
{
that
.
search_person
();
}
});
$
(
'#file_input3'
).
on
(
'change'
,
function
(){
var
_this
=
$
(
this
);
var
formData
=
new
FormData
();
formData
.
append
(
'type'
,
'chat'
);
formData
.
append
(
'image'
,
_this
[
0
].
files
[
0
]);
$
.
ajax
({
type
:
'post'
,
url
:
ServerHostImageLiu
+
'/index/uploadImg'
,
data
:
formData
,
dataType
:
'json'
,
contentType
:
false
,
cache
:
false
,
processData
:
false
,
beforeSend
:
function
()
{},
success
:
function
(
_data
)
{
if
(
_data
.
code
==
200
)
{
$
(
'#container_body_img_area3'
).
append
(
'<div class="result"><img id="{0}" src="{1}" alt=""/> <span class="span-del3">删除</span></div>'
.
stringFormatObj
({
'0'
:
_data
.
data
.
img_path
,
'1'
:
_data
.
data
.
internet_img_name
?
urlDeal
(
_data
.
data
.
internet_img_name
):
_data
.
data
.
internet_img_name
}));
}
else
{
alert
(
_data
.
msg
);
};
},
error
:
function
()
{
alert
(
'enter error'
);
},
complete
:
function
(
xhr
,
textStatus
)
{
if
(
textStatus
===
'timeout'
)
{
//处理超时的逻辑
alert
(
'请求超时,请重试'
);
};
}
});
});
//图片删除,已有的则调用接口删除
_doc
.
on
(
'click'
,
'.span-del3'
,
function
(
e
)
{
var
_this
=
$
(
this
);
e
.
preventDefault
();
e
.
stopPropagation
();
if
(
confirm
(
'确认删除吗?'
)){
_this
.
parent
().
remove
();
that
.
spandelList
(
_this
.
prev
().
attr
(
'data-imgid'
));
};
});
_doc
.
on
(
'click'
,
'.choose_btn'
,
function
(
e
){
var
befor
=
that
.
check_status
// $('.btn-group').find("button").removeClass("btn-info")
// $(this).addClass("btn-info");
$
(
this
).
removeClass
(
'btn-default'
).
addClass
(
'btn-info'
).
siblings
().
removeClass
(
'btn-info'
).
addClass
(
'btn-default'
);
if
(
befor
!=
e
.
target
.
dataset
.
value
)
{
that
.
check_status
=
e
.
target
.
dataset
.
value
;
refund
.
getList
(
1
);
}
})
$
(
"#changed_type"
).
click
(
function
()
{
var
type
=
$
(
this
).
val
();
if
(
type
==
4
||
type
==
5
)
{
$
(
"#is_open"
).
removeAttr
(
"disabled"
);
}
else
{
$
(
"#is_open"
).
attr
(
"disabled"
,
"disabled"
);
$
(
"#is_open"
).
val
(
-
1
);
}
});
},
smalltoBIG
:
function
(
n
)
{
var
fraction
=
[
'角'
,
'分'
];
var
digit
=
[
'零'
,
'壹'
,
'贰'
,
'叁'
,
'肆'
,
'伍'
,
'陆'
,
'柒'
,
'捌'
,
'玖'
];
var
unit
=
[
[
'元'
,
'万'
,
'亿'
],
[
''
,
'拾'
,
'佰'
,
'仟'
]
];
var
head
=
n
<
0
?
'欠'
:
''
;
n
=
Math
.
abs
(
n
);
var
s
=
''
;
for
(
var
i
=
0
;
i
<
fraction
.
length
;
i
++
)
{
s
+=
(
digit
[
Math
.
floor
(
n
*
10
*
Math
.
pow
(
10
,
i
))
%
10
]
+
fraction
[
i
]).
replace
(
/零./
,
''
);
}
s
=
s
||
'整'
;
n
=
Math
.
floor
(
n
);
for
(
var
i
=
0
;
i
<
unit
[
0
].
length
&&
n
>
0
;
i
++
)
{
var
p
=
''
;
for
(
var
j
=
0
;
j
<
unit
[
1
].
length
&&
n
>
0
;
j
++
)
{
p
=
digit
[
n
%
10
]
+
unit
[
1
][
j
]
+
p
;
n
=
Math
.
floor
(
n
/
10
);
}
s
=
p
.
replace
(
/
(
零.
)
*零$/
,
''
).
replace
(
/^$/
,
'零'
)
+
unit
[
0
][
i
]
+
s
;
}
return
head
+
s
.
replace
(
/
(
零.
)
*零元/
,
'元'
).
replace
(
/
(
零.
)
+/g
,
'零'
).
replace
(
/^整$/
,
'零元整'
);
},
checkRefund
:
function
(
status
,
remark
,
pic
){
var
that
=
refund
;
var
params
=
{
'refund_id'
:
that
.
check_id
,
'status'
:
status
,
'remark'
:
remark
,
'img_arr'
:
pic
}
$
.
post
(
'/index/checkRefund'
,
params
,
function
(
data
){
if
(
data
.
code
==
200
)
{
$
(
'.modal'
).
modal
(
"hide"
);
refund
.
getList
(
that
.
pageNo
);
$
(
'#check_past'
).
val
(
''
);
$
(
'#check_bohui'
).
val
(
''
);
$
(
'#container_body_img_area3'
).
empty
();
}
else
{
alert
(
data
.
msg
);
}
},
'json'
)
},
refundText
:
function
(
id
){
var
that
=
refund
;
var
params
=
{
'refund_id'
:
id
};
$
.
get
(
'/index/refundDetail'
,
params
,
function
(
data
){
if
(
data
.
code
==
200
)
{
console
.
log
(
data
);
var
money
=
data
.
data
.
refund_money
;
var
money_big
=
that
.
smalltoBIG
(
money
);
$
(
'#money'
).
text
(
money
);
$
(
'#money_big'
).
text
(
money_big
);
$
(
'#pz_no'
).
text
(
data
.
data
.
receipt_number
);
var
str
=
""
;
if
(
data
.
data
.
type
==
0
){
str
=
'退意向金'
;
}
else
if
(
data
.
data
.
type
==
1
){
str
=
'意向金转定'
;
}
else
if
(
data
.
data
.
type
==
2
){
str
=
'退保管金'
;
}
else
if
(
data
.
data
.
type
==
3
){
str
=
'保管金转定'
;
}
else
if
(
data
.
data
.
type
==
4
){
str
=
'退中介费'
;
}
else
if
(
data
.
data
.
type
==
5
){
str
=
'退案场费'
;
}
$
(
'#back_type'
).
text
(
str
);
$
(
'#come_time'
).
text
(
data
.
data
.
income_time
);
$
(
'#check_addr'
).
text
(
data
.
data
.
address
);
$
(
'#house_id'
).
text
(
data
.
data
.
house_id
);
$
(
'#pay_create_time'
).
text
(
data
.
data
.
pay_create_time
);
$
(
'#pay_log_id'
).
text
(
data
.
data
.
pay_log_id
);
//收款id
$
(
'#order_id'
).
text
(
data
.
data
.
order_id
);
$
(
'#check_resaon'
).
text
(
data
.
data
.
refund_cause
);
$
(
'#check_type'
).
text
(
data
.
data
.
refund_way
==
0
?
'银行卡'
:
"--"
);
$
(
'#card_no'
).
text
(
data
.
data
.
card_no
);
$
(
'#bank'
).
text
(
data
.
data
.
bank
);
$
(
'#back_user'
).
text
(
data
.
data
.
name
);
$
(
'#back_phone'
).
text
(
data
.
data
.
phone
);
$
(
'#back_agent_name'
).
text
(
data
.
data
.
agent_name
);
$
(
'#back_shop_name'
).
text
(
data
.
data
.
store_name
);
$
(
'#title_back'
).
text
(
data
.
data
.
store_name
);
$
(
'#back_time'
).
text
(
data
.
data
.
create_time
);
$
(
'#back_id'
).
text
(
data
.
data
.
id
);
var
tag
=
""
;
$
(
'.check_person'
).
empty
();
for
(
var
i
=
0
;
i
<
data
.
data
.
log
.
length
;
i
++
){
console
.
log
(
data
.
data
.
log
[
i
])
tag
+=
'<div class="col-xs-12">'
;
tag
+=
' <strong><span>'
+
data
.
data
.
log
[
i
].
operation_name
+
' '
+
data
.
data
.
log
[
i
].
create_time
+
'</span></strong>'
;
tag
+=
'</div>'
;
console
.
log
(
tag
)
}
$
(
'.check_person'
).
append
(
tag
);
var
str
=
''
;
if
(
data
.
data
.
status
==
1
)
{
str
=
'审核中'
$
(
'.pass'
).
show
();
$
(
'.turnback'
).
hide
();
$
(
'.fail'
).
show
();
}
else
if
(
data
.
data
.
status
==
2
)
{
str
=
'退款成功'
$
(
'.pass'
).
hide
();
$
(
'.turnback'
).
hide
();
$
(
'.fail'
).
hide
();
}
else
if
(
data
.
data
.
status
==
3
)
{
str
=
'已审核'
$
(
'.pass'
).
hide
();
$
(
'.turnback'
).
show
();
$
(
'.fail'
).
show
();
}
else
if
(
data
.
data
.
status
==
4
)
{
str
=
'驳回'
$
(
'.pass'
).
hide
();
$
(
'.turnback'
).
hide
();
$
(
'.fail'
).
hide
();
}
else
{
str
=
'审核中'
$
(
'.pass'
).
show
();
$
(
'.turnback'
).
hide
();
$
(
'.fail'
).
show
();
}
$
(
'#chech_status'
).
text
(
str
);
var
img
=
data
.
data
.
img
;
var
tag
=
''
;
$
(
'#photoArea'
).
empty
();
for
(
var
i
=
0
;
i
<
img
.
length
;
i
++
){
tag
+=
''
$
(
'#photoArea'
).
append
(
'<div class="result2"><img data-imgid="{0}" src="{1}" alt="" class="diagram-image J_preview" data-bimg="{1}"/></div>'
.
stringFormatObj
({
'0'
:
img
[
i
].
id
,
'1'
:
img
[
i
].
img_name
?
ServerHostImageLiu
+
'/static/chat_image/'
+
urlDeal
(
img
[
i
].
img_name
):
ServerHostImageLiu
+
'/static/chat_image/'
+
img
[
i
].
img_name
}));
}
}
else
{
alert
(
data
.
msg
);
}
},
'json'
)
},
search_person
:
function
()
{
//手机号新增客户
$
.
ajax
({
url
:
'/index/getBroker_new'
,
type
:
'GET'
,
async
:
true
,
data
:
{
"phone"
:
$
(
"#comit_name"
).
val
(),
'all'
:
1
},
dataType
:
'json'
,
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
var
user_ul
=
""
;
$
.
each
(
data
.
data
,
function
(
i
,
item
)
{
if
(
item
.
status
==
0
||
item
.
status
==
4
){
var
status
=
' '
;
};
if
(
item
.
status
==
1
){
var
status
=
'-长假'
;
};
if
(
item
.
status
==
2
){
var
status
=
'-离职'
;
};
if
(
item
.
status
==
3
){
var
status
=
'-转勤'
;
}
user_ul
+=
'<li class="addphone" data-id="'
+
item
.
id
+
'">'
+
item
.
id
+
'-'
+
item
.
name
+
'-'
+
item
.
phone
+
status
+
'</li>'
;
});
$
(
".user-ul"
).
html
(
user_ul
);
$
(
".user-ul"
).
show
();
}
else
{
alert
(
data
.
msg
);
}
}
});
},
//删除退款
deleteRefund
:
function
(
id
)
{
$
.
ajax
({
url
:
'/index/delRefund'
,
type
:
'POST'
,
async
:
true
,
data
:
{
"refund_id"
:
id
},
dataType
:
'json'
,
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
refund
.
getList
(
refund
.
pageNo
);
alert
(
data
.
msg
);
}
else
{
alert
(
data
.
msg
);
}
}
});
},
//将li里的值 赋给input(分佣方姓名)
addphone
:
function
(
obj
)
{
//新增客户 input赋值
var
that
=
refund
;
var
user_ht
=
$
(
obj
).
html
()
+
''
;
var
user_ht_str
=
user_ht
.
substring
(
0
,
user_ht
.
length
-
3
);
$
(
"#comit_name"
).
val
(
user_ht_str
);
$
(
".user-ul"
).
html
(
''
);
$
(
".user-ul"
).
hide
();
that
.
agent_id_phone
=
$
(
obj
).
attr
(
"data-id"
);
},
getDistrict
:
function
(
fn
)
{
$
.
ajax
({
url
:
'/index/getDistrict'
,
type
:
'GET'
,
async
:
true
,
data
:
{
"pageSize"
:
1000
},
dataType
:
'json'
,
success
:
function
(
data
)
{
if
(
data
.
code
==
200
&&
data
.
data
!=
null
)
{
var
str
=
''
;
$
.
each
(
data
.
data
,
function
(
i
,
item
)
{
str
+=
'<option value="'
+
item
.
id
+
'">'
+
item
.
district_name
+
'</option>'
;
});
$
(
'#commit_home'
).
append
(
str
);
fn
&&
fn
();
}
else
{
alert
(
data
.
msg
)
}
}
});
},
getDistrictStoreList
:
function
(
id
,
fn
)
{
$
.
ajax
({
url
:
'/index/getDistrictStoreList'
,
type
:
'GET'
,
async
:
true
,
data
:
{
'id'
:
id
,
"pageSize"
:
1000
},
dataType
:
'json'
,
success
:
function
(
data
)
{
if
(
data
.
code
==
200
&&
data
.
data
!=
null
)
{
fn
&&
fn
(
data
.
data
);
}
else
{
alert
(
data
.
msg
)
}
}
});
},
countValue
:
function
(){
var
that
=
refund
;
var
data
=
that
.
listData
;
var
value
=
0
;
for
(
var
i
=
0
;
i
<
data
.
length
;
i
++
){
value
=
value
+
(
data
[
i
].
money
-
0
);
}
$
(
'#money_total'
).
text
(
value
+
"元"
);
},
getAdjustmentDetail
:
function
(
id
){
var
that
=
refund
;
$
.
get
(
'/index/getAdjustmentDetail'
,{
'id'
:
id
},
function
(
data
){
if
(
data
.
code
==
200
)
{
that
.
setValue
(
data
.
data
);
}
else
{
alert
(
data
.
msg
);
}
},
'json'
);
},
setValue
:
function
(
data
){
var
that
=
refund
;
$
(
'#change_id'
).
text
(
data
.
id
);
// $('#change_price').text("");
$
(
'#befor_into_id'
).
text
(
data
.
adjustment_old
[
0
].
id
);
$
(
'#befor_order_id'
).
text
(
data
.
adjustment_old
[
0
].
order_id
);
$
(
'#befor_house_id'
).
text
(
data
.
adjustment_old
[
0
].
house_id
);
$
(
'#befor_house_addr'
).
text
(
data
.
adjustment_old
[
0
].
internal_address
);
$
(
'#befor_into_date'
).
text
(
data
.
adjustment_old
[
0
].
income_time
);
$
(
'#befor_into_type'
).
text
(
data
.
adjustment_old
[
0
].
type
);
$
(
'#after_into_id'
).
text
(
data
.
adjustment
[
0
].
id
);
$
(
'#after_order_id'
).
text
(
data
.
adjustment
[
0
].
order_id
);
$
(
'#after_report_id'
).
text
(
data
.
adjustment
[
0
].
bargain_id
);
$
(
'#after_house_id'
).
text
(
data
.
adjustment
[
0
].
house_id
);
$
(
'#after_house_addr'
).
text
(
data
.
adjustment
[
0
].
internal_address
);
$
(
'#after_into_date'
).
text
(
data
.
adjustment
[
0
].
income_time
);
$
(
'#after_into_type'
).
text
(
data
.
adjustment
[
0
].
type
);
$
(
'#after_into_price'
).
text
(
data
.
money
);
},
// 获取客户详情
Caozuo
:
function
()
{
//获取跟进详情的数据
$
.
ajax
({
'type'
:
'GET'
,
'url'
:
'/index/useraction_search'
,
data
:
{
"user_id"
:
refund
.
detail_user_id
},
dataType
:
"json"
,
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
data
)
{
$
(
".cus_id"
).
html
(
data
.
data
.
user_info
.
user_id
);
//客户编号
$
(
".cus_name"
).
val
(
data
.
data
.
user_info
.
user_name
);
//姓名
$
(
".cus_nick"
).
html
(
data
.
data
.
user_info
.
user_nick
);
//昵称
$
(
".user_pic"
).
attr
(
'src'
,
data
.
data
.
user_info
.
user_pic
);
//头像
$
(
".user_pic"
).
attr
(
'data-bimg'
,
data
.
data
.
user_info
.
user_pic
);
//鼠标放上去放大头像
$
(
".registration_time"
).
html
(
data
.
data
.
user_info
.
registration_time
);
$
(
".firstlogin_time"
).
html
(
data
.
data
.
user_info
.
first_login_time
);
//第一次登陆时间
$
(
".sex"
).
val
(
data
.
data
.
user_info
.
sex
);
//性别
$
(
".user_vip2"
).
val
(
data
.
data
.
user_info
.
vip
);
//是否vip
$
(
".cus_phone"
).
html
(
hideTel
(
data
.
data
.
user_info
.
user_phone
));
//电话
$
(
".cus_date"
).
html
(
data
.
data
.
user_info
.
create_time
);
//创建时间
$
(
".referrer_user"
).
html
(
data
.
data
.
user_info
.
referrer_user
);
//上传时间
$
(
".cus_fang_edit"
).
val
(
data
.
data
.
user_info
.
agentinfo
);
//客方详情
$
(
".cus_fang"
).
val
(
data
.
data
.
user_info
.
agentinfo
);
//客方编辑
$
(
"select[name=industry_type_two]"
).
val
(
data
.
data
.
user_info
.
industry_type
);
$
(
"input[name=price_demand]"
).
val
(
data
.
data
.
user_info
.
price_demand
*
1
);
$
(
"input[name=area_demand]"
).
val
(
data
.
data
.
user_info
.
area_demand
*
1
);
$
(
".user_details_label"
).
val
(
data
.
data
.
user_info
.
user_label
);
//客方详情 标签
$
(
".user_details_city"
).
html
(
data
.
data
.
user_info
.
city
+
data
.
data
.
user_info
.
disc
);
//客方详情 城市
$
(
"#take_look_name"
).
html
(
data
.
data
.
user_info
.
user_name
);
//约带看姓名
$
(
"#take_look_phone"
).
html
(
data
.
data
.
user_info
.
user_phone
);
//约带看手机号
$
(
"#take_look_id"
).
html
(
data
.
data
.
user_info
.
user_id
);
//约带看id
if
(
data
.
data
.
user_info
.
source
==
10
)
{
$
(
".source_type"
).
html
(
'APP注册'
);
//客方
}
if
(
data
.
data
.
user_info
.
source
==
20
)
{
$
(
".source_type"
).
html
(
'经纪人新增'
);
}
if
(
data
.
data
.
user_info
.
source
==
30
)
{
$
(
".source_type"
).
html
(
'老数据报备客户'
);
}
if
(
data
.
data
.
user_info
.
user_label
==
1
)
{
$
(
".user_details_label"
).
html
(
'是租客也是房东'
);
$
(
"#user_label_edit"
).
val
(
1
);
}
if
(
data
.
data
.
user_info
.
user_label
==
2
)
{
$
(
".user_details_label"
).
html
(
'纯房东'
);
$
(
"#user_label_edit"
).
val
(
2
);
}
$
(
".user-details-introduce-id"
).
html
(
data
.
data
.
user_info
.
referrer_user
);
//转介绍详情
if
(
data
.
data
.
user_invite_info
.
referrer_source
==
10
){
$
(
".user-details-introduce"
).
html
(
'是'
);
//转介绍详情
}
else
{
$
(
".user-details-introduce"
).
html
(
'否'
);
//转介绍详情
}
}
}
else
{
alert
(
'获取失败!'
);
}
}
});
},
//获取 客户跟进信息
getGenjincon
:
function
()
{
//获取客户动态
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
checkLogin
();
$
.
ajax
({
url
:
'/broker/useraction_search'
,
type
:
'POST'
,
async
:
true
,
data
:
{
"AuthToken"
:
user_info_obj
.
AuthToken
,
"user_id"
:
refund
.
detail_user_id
,
"agent_id"
:
user_info_obj
.
id
},
dataType
:
'json'
,
success
:
function
(
data
)
{
if
(
data
.
code
==
200
&&
data
.
data
!=
null
)
{
//客户动态 即跟进
var
caozuo_table
=
""
;
$
.
each
(
data
[
'data'
][
'user_date'
],
function
(
i
,
item
)
{
if
(
item
.
step_name
==
'report'
){
caozuo_table
+=
'<tr><td class="text-left follow-up-home" width="70%">'
+
item
.
step
+
'到场时间:'
+
item
.
predict_see_time
+
'备注:'
+
item
.
intro
+
'</td><td>'
+
item
.
name
+
'</td><td>'
+
item
.
create_time
+
'</td></tr>'
;
}
else
{
caozuo_table
+=
'<tr><td class="text-left follow-up-home" width="70%">'
+
item
.
step
+
'</td><td>'
+
item
.
name
+
'</td><td>'
+
item
.
create_time
+
'</td></tr>'
;
}
});
if
(
caozuo_table
){
$
(
"#caozuo_table2"
).
html
(
caozuo_table
);
}
else
{
$
(
"#caozuo_table2"
).
html
(
'暂无跟进信息'
);
}
//滚动条 回到顶部
$
(
'.followup-modal-list-area'
).
scrollTop
(
0
);
}
}
});
},
/**
* 获取表格数据
* @param {Object} no
*/
getList
:
function
(
no
){
var
that
=
refund
;
that
.
pageNo
=
no
;
var
params
=
that
.
buildSearchParams
(
0
);
params
.
pageNo
=
that
.
pageNo
;
params
.
pageSize
=
that
.
pageSize
;
$
.
get
(
'/index/refundList'
,
params
,
function
(
data
){
if
(
typeof
data
===
'object'
)
{
if
(
data
.
code
==
200
)
{
that
.
listData
=
data
.
data
.
list
;
var
temp
=
document
.
getElementById
(
'open_template_tpl'
).
innerHTML
;
var
doTtmpl
=
doT
.
template
(
temp
);
$
(
"#order_list"
).
html
(
doTtmpl
(
data
.
data
.
list
));
// that.moneyTotal = data.data.money_total;
$
(
'#money_total'
).
text
((
data
.
data
.
total_money
-
0
>
0
)
?
(
data
.
data
.
total_money
+
"元"
):
"0元"
)
/*分页代码*/
add_page
(
data
.
data
.
total
,
no
,
that
.
pageSize
,
that
.
getList
);
}
else
{
alert
(
data
[
'msg'
]);
};
}
else
{
alert
(
'数据错误'
);
};
},
'json'
);
},
/**
* 重置查询条件
*/
resetAll
:
function
(){
var
that
=
refund
;
$
(
'#comit_time_start'
).
val
(
""
);
$
(
'#comit_time_end'
).
val
(
""
);
$
(
'#into_time_start'
).
val
(
""
);
$
(
'#into_time_end'
).
val
(
""
);
$
(
'#changed_type'
).
val
(
""
);
$
(
'#changed_id'
).
val
(
""
);
$
(
'#back_id'
).
val
(
""
);
$
(
'#get_id'
).
val
(
""
);
$
(
'#shoped_id'
).
val
(
""
);
$
(
'#shoped_addr'
).
val
(
""
);
$
(
'#commit_home'
).
val
(
""
);
$
(
'#commit_shop'
).
val
(
""
);
$
(
'#comit_name'
).
val
(
""
);
$
(
'#comit_phone'
).
val
(
""
);
$
(
'#is_type'
).
val
(
""
);
$
(
'#is_open'
).
val
(
"-1"
);
$
(
'#back_id_money'
).
val
(
""
);
that
.
agent_id_phone
=
""
;
},
//退款 审核
exportExcel
:
function
()
{
// var start_time = $('#comit_time_start').val();
// var end_time = $('#comit_time_end').val();
// var income_start_time = $('#into_time_start').val();
// var income_end_time = $('#into_time_end').val();
// var type = $('#changed_type').val();
// var order_id = $('#changed_id').val();
// var id = $('#back_id_money').val();
// var house_id = $('#shoped_id').val();
// var address = $('#shoped_addr').val();
// var district_id = $('#commit_home').val();
// var store_id = $('#commit_shop').val();
// var agent_id = refund.agent_id_phone;
// var phone = $('#comit_phone').val();
// var choose_type = $('.btn-group').find('.btn-info').html();
// var is_self = $('#is_type').val();
// var pay_log_id = $('#get_id').val();
// var status = refund.check_status;
var
_url
=
'/index/refundListExcel?'
;
// window.open(_url + 'start_time=' + start_time + '&end_time=' + end_time + '&income_start_time=' + income_start_time + '&income_end_time=' + income_end_time + '&type=' + type + '&order_id=' + order_id + '&id=' + id + '&house_id=' + house_id + '&address=' + address + '&district_id=' + district_id+ '&store_id=' + store_id+ '&agent_id=' + agent_id+ '&phone=' + phone+ '&choose_type=' + choose_type +'&is_self=' + is_self+'&pay_log_id=' + pay_log_id+'&status=' + status);
window
.
open
(
_url
+
refund
.
buildSearchParams
(
1
));
},
/**
* 获取查询参数
*/
buildSearchParams
:
function
(
is_excel
){
var
that
=
refund
;
var
commite_time_start
=
$
(
'#comit_time_start'
).
val
();
var
commite_time_end
=
$
(
'#comit_time_end'
).
val
();
var
into_time_start
=
$
(
'#into_time_start'
).
val
();
var
into_time_end
=
$
(
'#into_time_end'
).
val
();
var
changed_type
=
$
(
'#changed_type'
).
val
();
var
changed_id
=
$
(
'#changed_id'
).
val
();
var
back_id_money
=
$
(
'#back_id_money'
).
val
();
var
shoped_id
=
$
(
'#shoped_id'
).
val
();
var
shoped_addr
=
$
(
'#shoped_addr'
).
val
();
var
commit_home
=
$
(
'#commit_home'
).
val
();
var
commit_shop
=
$
(
'#commit_shop'
).
val
();
var
comit_name
=
that
.
agent_id_phone
;
//$('#comit_name').val();
var
comit_phone
=
$
(
'#comit_phone'
).
val
();
// var choose_type = $('.btn-group').find('.btn-info').html();
var
is_selt
=
$
(
'#is_type'
).
val
();
var
get_id
=
$
(
'#get_id'
).
val
();
var
is_open
=
$
(
'#is_open'
).
val
();
var
params
=
{};
var
paramsStr
=
""
;
if
(
get_id
)
{
params
.
pay_log_id
=
get_id
;
paramsStr
+=
"pay_log_id="
+
get_id
+
'&'
;
}
// if ( choose_type ) {
// params.choose_type = choose_type;
// paramsStr += "choose_type=" + choose_type +'&';
// }
if
(
commite_time_start
)
{
params
.
start_time
=
commite_time_start
;
paramsStr
+=
"start_time="
+
commite_time_start
+
'&'
;
}
if
(
commite_time_end
)
{
params
.
end_time
=
commite_time_end
;
paramsStr
+=
"end_time="
+
commite_time_end
+
'&'
;
}
if
(
into_time_start
)
{
params
.
income_start_time
=
into_time_start
;
paramsStr
+=
"income_start_time="
+
into_time_start
+
'&'
;
}
if
(
into_time_end
)
{
params
.
income_end_time
=
into_time_end
;
paramsStr
+=
"income_end_time="
+
into_time_end
+
'&'
;
}
if
(
changed_type
)
{
params
.
type
=
changed_type
;
paramsStr
+=
"type="
+
changed_type
+
'&'
;
}
if
(
changed_id
)
{
params
.
order_id
=
changed_id
;
paramsStr
+=
"order_id="
+
changed_id
+
'&'
;
}
if
(
back_id_money
)
{
params
.
id
=
back_id_money
;
paramsStr
+=
"id="
+
back_id_money
+
'&'
;
}
if
(
shoped_id
)
{
params
.
house_id
=
shoped_id
;
paramsStr
+=
"house_id="
+
shoped_id
+
'&'
;
}
if
(
shoped_addr
)
{
params
.
address
=
shoped_addr
;
paramsStr
+=
"address="
+
shoped_addr
+
'&'
;
}
if
(
commit_home
)
{
params
.
district_id
=
commit_home
;
paramsStr
+=
"district_id="
+
commit_home
+
'&'
;
}
if
(
commit_shop
)
{
params
.
store_id
=
commit_shop
;
paramsStr
+=
"store_id="
+
commit_shop
+
'&'
;
}
if
(
comit_name
)
{
params
.
agent_id
=
comit_name
;
paramsStr
+=
"agent_id="
+
comit_name
+
'&'
;
}
if
(
comit_phone
)
{
if
(
comit_phone
[
0
]
==
"1"
&&
comit_phone
.
length
==
11
)
{
params
.
phone
=
comit_phone
;
paramsStr
+=
"phone="
+
comit_phone
+
'&'
;
}
else
{
alert
(
"请输入正确的手机号码"
)
}
}
if
(
is_selt
){
params
.
is_self
=
is_selt
;
paramsStr
+=
"is_self="
+
is_selt
+
'&'
;
}
if
(
is_open
>
-
1
)
{
params
.
is_open
=
is_open
;
paramsStr
+=
"is_open="
+
is_open
+
'&'
;
}
params
.
status
=
that
.
check_status
;
paramsStr
+=
"status="
+
that
.
check_status
;
if
(
is_excel
)
{
return
paramsStr
;
}
else
{
return
params
;
}
},
/**
* 删除收款记录
* @param {Object} id
*/
deleteTableRow
:
function
(
id
){
var
that
=
refund
;
var
params
=
{
'id'
:
id
};
$
.
post
(
'/index/delAdjustment'
,
params
,
function
(
data
){
if
(
data
.
code
==
200
)
{
that
.
getList
(
1
);
}
else
{
alert
(
data
.
msg
);
}
},
'json'
)
}
};
return
refund
;
});
\ No newline at end of file
public/resource/template/open_check_template_tpl.html
0 → 100644
View file @
3174a59d
<script
id=
"open_template_tpl"
type=
"text/template"
>
[
%
if
(
it
)
{
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
class
=
"text-center"
>
<
td
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'id'
]
%
]
<
/td
>
[
%
if
(
it
[
item
][
'status'
]
==
0
)
{
%
]
<
td
>
审核中
<
/td
>
[
%
}
else
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
][
'refund_money'
]
%
]
<
/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
][
'house_id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'address'
]
%
]
<
/td
>
<
td
>
<
a
class
=
"btn1 btn-success rejected"
href
=
"#modal-check"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
开业审核
<
/a
>
<
a
class
=
"btn1 btn-success details-btn"
href
=
"#modal_detail"
data
-
toggle
=
"modal"
data
-
id
=
'322'
>
成交报告
<
/a
>
<
a
class
=
"btn1 btn-success timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["order_id"] %]'
>
时间轴
<
/a
>
[
%
if
(
it
[
item
][
'status'
]
!=
2
){
%
]
<
a
class
=
"btn1 btn-success is_del"
href
=
"#modal-del"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
删除申请
<
/a
>
[
%
}
%
]
<
/td
>
<
/tr
>
[
%
}
%
]
[
%
}
else
{
%
]
<
tr
>
<
td
colspan
=
"8"
style
=
"text-align:center;"
>
暂无数据
<
/td
>
<
/tr
>
[
%
}
%
]
</script>
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